Google Deepmind gives Gemini API agents background runs
Terminator AI agents By What The Future Newsroom · July 8, 2026 · 3 min read

Google Deepmind gives Gemini API agents background runs

Google Deepmind is adding four features to Managed Agents in the Gemini API. The update brings Background Execution, Remote MCP connections, custom functions with sandbox tools, and credential refresh without losing sandbox state.

Google Deepmind is expanding what developers can do with Managed Agents in the Gemini API. The update adds four features focused on longer-running work, external system access, tool flexibility, and credential handling.

“The update modestly increases agent autonomy and access to internal systems, but it is mainly a developer platform feature release.”Why it scores Terminator

Background Execution changes how agent work can run

The most direct change is Background Execution. Developers can now run agents asynchronously in the background, with no open HTTP connection required.

That matters because an agent does not always need to complete its work inside a single request-response window. With Background Execution, the interaction can continue after the original connection is no longer being held open.

The source describes this as part of Managed Agents in the Gemini API, not as a separate product. In practical terms, the feature is aimed at developers building agent workflows that may need to continue processing without depending on an active HTTP connection for the full duration of the task.

Remote MCP support adds a path to internal systems

Google Deepmind is also adding support for Remote MCP servers. MCP stands for Model Context Protocol, and the new support allows Remote MCP servers to connect directly to internal databases or APIs.

This gives Managed Agents another way to work with systems that hold business data or expose application logic. The source specifically names internal databases and APIs, which points to use cases where an agent needs access to information or operations beyond its built-in environment.

The update does not describe the details of how developers should design those servers, what authentication model they should use, or what kinds of internal systems are best suited to the approach. The clear point is narrower: Remote MCP servers can now be connected directly in this Managed Agents context.

Custom functions can work beside sandbox tools

Another feature gives developers the ability to use custom functions alongside the built-in sandbox tools. That combination is important because it does not force a choice between the platform-provided tools and developer-defined capabilities.

Built-in sandbox tools can provide a controlled execution environment. Custom functions, meanwhile, let developers expose capabilities that are specific to their own applications. The update allows both to be used together in Managed Agents.

The source does not list example functions or define a recommended pattern for when to use a custom function instead of a sandbox tool. It only states that custom functions can now be used alongside the built-in sandbox tools, which is the key product change.

Credential refresh keeps sandbox state intact

The fourth addition focuses on credentials. Tokens and similar credentials can be refreshed between interactions without losing the sandbox state.

That detail is small but important for agent workflows. Credentials may need to change while an agent continues to rely on the state already built up in its sandbox. The update separates those concerns: the credential can be refreshed, and the sandbox state does not have to be discarded as part of that refresh.

The source gives tokens as an example of credentials, but does not expand the list. It also does not describe a specific refresh flow. The essential feature is that credential refresh can happen between interactions while preserving sandbox state.

All four features arrive through one API

Google Deepmind says all of these features are available through the Gemini Interactions API. That means Background Execution, Remote MCP support, custom functions alongside built-in sandbox tools, and credential refresh without sandbox loss are grouped under the same API surface named in the source.

The documentation includes code examples for JavaScript, Python, and cURL. Those examples are the named starting points for developers who want to implement the new Managed Agents capabilities.

Taken together, the update makes Managed Agents in the Gemini API better suited to workflows that continue in the background, reach internal databases or APIs through Remote MCP servers, combine platform tools with custom functions, and maintain sandbox continuity while credentials are refreshed. The changes are technical, but the direction is straightforward: Google Deepmind is giving developers more control over how Gemini API agents run, connect, and maintain context across interactions.

← Back to the wire

Read next