{"id":194455,"date":"2026-10-04T03:34:11","date_gmt":"2026-10-04T03:34:11","guid":{"rendered":"https:\/\/www.europesays.com\/ai\/194455\/"},"modified":"2026-10-04T03:34:11","modified_gmt":"2026-10-04T03:34:11","slug":"google-deepminds-ivan-leo-says-the-coding-agent-era-needs-apis-that-hoard-secrets-biggo-finance","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ai\/194455\/","title":{"rendered":"Google DeepMind&#8217;s Ivan Leo Says the Coding Agent Era Needs APIs That Hoard Secrets \u2014 BigGo Finance"},"content":{"rendered":"<p>The first paragraph of most technical talks is throat-clearing. Ivan Leo skipped it. In a conversation on the AI Engineer podcast, the Google DeepMind developer experience lead cut straight to the problem that has been quietly driving engineers crazy: the latest Gemini models return &#8220;thought signatures&#8221; \u2014 opaque streams of numbers passed back during a function call \u2014 and if you don&#8217;t hand them back correctly, your model gets dumber. Google found startups losing their entire context cache because of a single accidentally added whitespace character. The fix Leo describes, the Interactions API, moves that state management off the developer&#8217;s machine and onto Google&#8217;s servers. The cost of getting it wrong is not a performance bump; &#8220;If you don&#8217;t give us back those thought signatures, you&#8217;re going to see a decrease in performance,&#8221; he said.<\/p>\n<p>That single sentence defines the stakes. What Leo is describing is not a convenience layer. It is a correctness requirement for the new generation of models that Google is shipping. And it is the first of two launches he uses to make a broader argument: as models get more capable, the scaffolding around them falls away, and the API surface has to change to match.<\/p>\n<p>The Interaction Is the New Unit of Work<\/p>\n<p>Leo&#8217;s opening framework is a short history of how developers have worked with language models. It began with a single message and a response. Function calling made models reliable enough to embed in applications by producing predictable JSON. Now, he says, models reason for extended periods, call multiple tools, reflect on results, and interact with an environment. He reduces the definition of an agent to &#8220;a language model running in a loop,&#8221; noting that newer models like the latest Opus and Fable releases reach for a bash tool directly instead of specialized read-file or edit-file tools. The API surface from the function-calling era no longer describes what the model is actually doing.<\/p>\n<p>The Interactions API is Google&#8217;s answer. The first call returns an interaction ID. As long as the client passes that ID back under the previous interaction ID parameter, all context is preserved \u2014 no manual thought-signature management, no cache busting. Leo demonstrates the payoff with a multi-model pipeline built by a colleague, Bamsi, in which a single photo is fed to Nano Banana to generate variations of a person in different countries, and the same interaction ID is then used to generate video with the newly launched Omni model. &#8220;Something like this would not have been possible without the Interactions API,&#8221; he said.<\/p>\n<p>The code pattern is short enough to be read aloud. A first call ships a Gemini 3.1 Flash image to generate a picture. The returned ID is fed back into client.interactions.create, this time specifying the OmniFlash model \u2014 which Leo notes launched the Wednesday before the talk. The context and images carry through every call. The interaction, not the message, is the unit of work.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/10\/1bfada68a6860534_1791063577_inline_1.jpg\" alt=\"\"\/><\/p>\n<p>The Steps Data Model Ends the Era of Nested Objects<\/p>\n<p>Leo&#8217;s second argument concerns output structure. In the past, extracting an audio output meant navigating a deeply nested object like .completions.audio \u2014 a path he admits he cannot recall off the top of his head. The new model demarcates every output with a strong type. Audio arrives as output.type audio; switching to image generation is the same client.interaction.create method with a modified response modality and generation config, yielding output.type of image.<\/p>\n<p>The underlying change is the steps data model, which replaces the legacy outputs array. Leo describes it as tightly discriminated, making clear at each step what the model produced, what the thought signatures were, what functions were called, and what content was generated. The structure is built for a world of async tool calls and models working together, rather than a single message and response.<\/p>\n<p>Tool use gets the same treatment. Leo walks through an agent tasked with finding the latest security reports for a React application, given three capabilities in a single call:<\/p>\n<p>ToolSourcePurposeGoogle SearchGoogle&#8217;s own indexFind current information on the internetURL contextShipped with the APIRetrieve information from web pagesFile IncidentCustom, developer-definedDeveloper-specific action<\/p>\n<p>The model reasons autonomously about what information it needs and generates a response in a single API call. Leo&#8217;s framing: models are no longer limited by their training cut-off because they have access to the entirety of the internet. &#8220;You can mix and match different inbuilt tools that wasn&#8217;t possible before,&#8221; he said. &#8220;The model can reason autonomously on its own, figure out what information it needs, and then actually generate a response to you all in a single API call.&#8221;<\/p>\n<p>Managed Agents Ship the Harness as a Remote Sandbox<\/p>\n<p>The second launch is Antigravity as a remote agent, which Google calls a Managed Agent. Leo says Google has standardized on the Antigravity harness across its product suite \u2014 websites in AI Studio are built with it, and the Antigravity application itself uses it. He calls it a very capable harness that Gemini has been co-trained on, and predicts developers will see gains from using it out of the box.<\/p>\n<p>The alternative is a cost comparison that will sound familiar to anyone who has tried to build a coding agent from scratch. &#8220;If you wanted to build a coding agent in the past, you would first have to tune the harness. Then you had to find a sandbox provider, manage the infrastructure, and then kind of figure out a way how to preserve the context, especially in between runs,&#8221; Leo said. &#8220;But with the Antigravity Managed Agent, you get a persistent sandbox out of the box.&#8221;<\/p>\n<p>The flow is one API call. Leo demonstrates with a GitHub repository analysis: the call boots a remote sandbox, the agent lists files, reads each one, and generates a final report without human intervention.<\/p>\n<p>Persistence works through the environment ID. Passing it back routes the request to the original sandbox, so installed packages and created files remain available across turns. Leo pairs this with the interaction ID as the two primitives: the interaction ID preserves context and protects the cache; the environment ID routes to the same execution context. Sources can be loaded from Google Cloud Storage buckets, GitHub repositories, and inline files, and the whole thing requires only a few lines of code.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/10\/1bfada68a6860534_1791063662_inline_3.jpg\" alt=\"\"\/><\/p>\n<p>A 2-Million-Token Run Proves the Harness Handles the Ugly Stuff<\/p>\n<p>Leo pushes back on the idea that Managed Agents only suit simple tasks. He describes a run in which the model burned over 2 million tokens analyzing a hackathon repository where someone built an entire programming language from scratch for coding reinforcement learning environments. The repository contained a custom DSL, a web page, a set of schemas, and an RL training loop running inside HUD. Leo compares the drag-and-drop feel to Scratch, but the point is that a single API call analyzed the whole thing. The claim he draws: developers can build custom, performant agents without handling underlying infrastructure or tuning the harness.<\/p>\n<p>The strongest practical argument for the harness is portability. Leo says the Antigravity agent in the cloud is fundamentally the same agent running in the Antigravity IDE. Workflows and skills tuned locally can be packaged into a single folder and uploaded through the sources mechanism into a .agents folder. The same skills, harness, and prompt then run locally and in the cloud. When the developer is satisfied with local behavior, they push it up and it works as intended.<\/p>\n<p>The Proxy That Keeps Secrets Out of the Model&#8217;s Context<\/p>\n<p>Security is the question Leo says companies ask most often: what happens if the agent leaks a network credential? Google&#8217;s answer is a man-in-the-middle proxy. &#8220;We have a proxy that stands in the middle, and so any call your model makes, we will look at the header and we can replace items at will,&#8221; Leo said.<\/p>\n<p>The example is GitHub. Every outbound call to the GitHub API is transformed and the token injected dynamically. The model never holds the credential. &#8220;Even if the model is somehow prompt injected and leaks your GitHub API token, it&#8217;s never actually going to see the token,&#8221; Leo said. &#8220;It&#8217;s only going to execute code that will run against the GitHub API, and your token is never exposed.&#8221; The credential stays outside the model&#8217;s context \u2014 a design that removes one of the biggest enterprise blockers for autonomous agents.<\/p>\n<p>Named Agents, Pricing, and the Migration Deadline<\/p>\n<p>Once an agent performs well, Google offers two ways to configure it as a named agent. The first is to freeze it with a configured set of files and network sources \u2014 Leo&#8217;s example is a data analyst agent built from the Antigravity preview base agent with a GCS skill. The second is to chat iteratively with an agent to set up an environment with the desired dependencies and packages, then freeze that environment as a specific agent, with subsequent calls routed through it. Leo states support for up to 1,000 named agents.<\/p>\n<p>On pricing, Leo is blunt: &#8220;You don&#8217;t pay for any of the storage. You don&#8217;t pay for the sandbox. You only pay for the model.&#8221; He attributes this to infrastructure optimization built to handle the workload. The practical effect is that running many persistent named agents \u2014 up to 1,000 \u2014 does not carry the storage costs that would normally make such a setup prohibitive.<\/p>\n<p>Two migration tools round out the talk. Google has open-sourced a Gemini API CLI for testing models locally with simple commands and iterating on a coding or Antigravity agent before packaging it as a single folder and uploading it. Separately, Google created an Interactions API skill that can be fed to a coding agent to handle migration. The motivation is a problem every developer has hit: asking Gemini to implement something and watching it keep using Gemini 2.5 Flash or Gemini 2.0. The skill keeps the model list and methods current, and Leo says the team regularly evaluates these skills to confirm they do what they are supposed to.<\/p>\n<p>The migration path is not optional. Leo states that all new Gemini models will live on the Interactions API going forward, which turns migration into a deadline rather than a choice for existing Gemini API users. The two launches share a single design premise: move state management off the client. Interaction IDs handle conversational and multimodal context; environment IDs handle execution context; the proxy handles credentials. The unresolved question is how much of the surrounding tooling Google intends to absorb. The 1,000-named-agent limit and the no-charge-for-sandbox pricing are the terms as stated at the time of the talk \u2014 and both are the kind of number that tends to move.<\/p>\n<p>For developers with locally tuned Antigravity skills, the path is clearest: package the folder, upload it, and the same harness runs in the cloud. For everyone else, the lesson of the talk is that the agent era has a new unit of work \u2014 the interaction \u2014 and Google is betting that hoarding state, context, and credentials on the server side is the only way to make that unit scale.<\/p>\n","protected":false},"excerpt":{"rendered":"The first paragraph of most technical talks is throat-clearing. Ivan Leo skipped it. In a conversation on the&hellip;\n","protected":false},"author":2,"featured_media":194456,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[8885,91623,5044,38159,2408,3282,132,83619,7543,91621,91620,91622,14915,17911,8512],"class_list":["post-194455","post","type-post","status-publish","format-standard","has-post-thumbnail","category-google","tag-antigravity","tag-bamsi","tag-deepmind","tag-fable","tag-gemini","tag-github","tag-google","tag-google-cloud-storage","tag-google-deepmind","tag-interactions-api","tag-ivan-leo","tag-managed-agent","tag-nano-banana","tag-omni","tag-opus"],"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/194455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/comments?post=194455"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/194455\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media\/194456"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media?parent=194455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/categories?post=194455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/tags?post=194455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}