Google DeepMind has announced a significant expansion of its Managed Agents capabilities within the Gemini API, introducing a suite of features designed to transform large language models from conversational interfaces into autonomous, production-ready workers. The update focuses on four critical pillars of agentic development: asynchronous background execution, integration with the Model Context Protocol (MCP), hybrid function calling, and persistent environment credential management. These technical enhancements represent a strategic shift in the AI landscape, moving away from simple request-response architectures toward complex, long-running "agentic workflows" that can operate independently in isolated cloud environments.
The release, spearheaded by Developer Relations Engineer Philipp Schmid and Product Manager Mariano Cocirio, specifically targets the limitations of current AI development frameworks. Traditionally, developers have struggled with maintaining stable connections for tasks that exceed standard HTTP timeout limits, such as code refactoring or large-scale data analysis. By introducing background execution, Google allows the Gemini API to process tasks as independent server-side operations, providing developers with a unique interaction ID to monitor progress without maintaining an active socket.
The Evolution of Managed Agents and the Gemini Ecosystem
The trajectory of the Gemini API has been defined by a steady progression from basic text generation to multimodal reasoning and, now, sophisticated tool use. Managed Agents represent the apex of this evolution, offering an "all-in-one" solution where the model handles reasoning, code execution, and environment management within a secure, isolated sandbox. This sandbox environment is pre-configured with the necessary dependencies, allowing agents to clone repositories, install packages, and manage files without exposing the user’s local machine to potential security risks.
The introduction of these features comes at a time when the industry is grappling with the "agentic" shift. According to recent developer surveys, a primary barrier to AI adoption in enterprise software engineering is the lack of reliability in multi-step tasks. Google’s latest updates address this by providing a more robust infrastructure for what the company calls the "Antigravity" agent—a preview model optimized for high-autonomy tasks.
Technical Breakdown: Background Execution and Asynchronous Workflows
One of the most consequential updates is the support for long-running background execution. In previous iterations, developers were required to hold an HTTP connection open while the model performed its reasoning and tool-calling steps. For tasks like analyzing a massive GitHub repository or performing complex data simulations, this architecture was inherently fragile, prone to network interruptions and client-side timeouts.
Under the new system, developers can pass a background: true flag. The API immediately responds with an interaction ID, allowing the client application to disconnect. The agent continues its work on Google’s infrastructure. The client can then "poll" the API for status updates or stream progress at intervals. This capability is essential for building "set-and-forget" tools, such as automated PR reviewers or nightly security scanners, which do not require constant human supervision.
Bridging Private Data with Remote MCP Server Integration
The integration of the Model Context Protocol (MCP) marks a major step toward industry standardization. MCP is an open-standard protocol designed to give AI models a consistent way to access data from diverse sources, including private databases, internal APIs, and specialized local tools. By supporting remote MCP servers, Gemini’s Managed Agents can now bridge the gap between their isolated cloud sandbox and a developer’s private infrastructure.
Previously, accessing internal company data required complex proxy middleware or custom-built connectors that often compromised the security of the sandbox. With native MCP support, developers can provide a URL to an internal telemetry server or a database, and the agent can query that data directly using standardized tool-calling patterns. This allows for scenarios where an agent can, for example, correlate internal latency spikes from a private observability tool with public git commits and Google Search results to diagnose a system failure.
Hybrid Tooling: Custom Functions and Sandbox Synergy
The update also refines how agents interact with custom business logic through enhanced function calling. Google has implemented a "step matching" system that allows built-in sandbox tools—such as code execution and Google Search—to run alongside user-defined functions.
When a Managed Agent encounters a task requiring a built-in tool, it executes it automatically within the server-side sandbox. However, if the task requires a custom function defined by the developer (such as checking a local weather API or updating a proprietary database), the interaction transitions to a requires_action state. This hands control back to the client to execute the local logic before returning the result to the model. This hybrid approach ensures that developers can leverage the power of Google’s managed environment while maintaining control over sensitive local operations.

Security and Persistence: Network Credential Refresh
Security remains a paramount concern for autonomous agents, particularly when they interact with third-party cloud services like Google Cloud Storage (GCS) or external APIs. These services typically use short-lived OAuth tokens or rotating API keys that expire during the course of a long-running task.
Google’s new "network credential refresh" feature solves the problem of token expiration without resetting the agent’s entire environment. Developers can now provide a new network configuration, including updated authorization headers, while referencing an existing environment_id. This allows the agent to continue its work—retaining its filesystem state, cloned repositories, and installed Python packages—while seamlessly switching to a fresh set of credentials. This persistence is vital for enterprise workflows that may span hours or days.
Chronology of Google’s AI Agent Development
The rollout of these features is part of a broader timeline of AI infrastructure development at Google DeepMind:
- Late 2023: Launch of Gemini 1.0, establishing the foundation for high-reasoning multimodal models.
- Early 2024: Introduction of Gemini 1.5 Pro and its massive context window, enabling the processing of entire codebases.
- Mid 2024: Launch of the Interactions API and the initial Managed Agents preview, introducing the concept of the isolated cloud sandbox.
- Late 2024 / Early 2025: Standardization of tool use and the integration of Google Search as a native agent capability.
- Current Release: The "Feature Bundle" launch, adding background execution, MCP support, and credential rotation to finalize the "production-ready" agent stack.
Industry Implications and Market Analysis
The move to enhance Managed Agents positions Google as a direct competitor to other "AI-native" development environments. By providing a managed sandbox, Google reduces the "cold start" time for developers who would otherwise need to set up Docker containers or virtual machines to safely run AI-generated code.
From a broader perspective, these updates signal a shift in how software is maintained. The ability for an agent to run in the background and access private telemetry through MCP suggests a future where "SRE Agents" (Site Reliability Engineering Agents) can autonomously monitor and patch systems. Data from market research firms suggests that the "agentic AI" sector is expected to grow significantly as companies move past the experimentation phase and seek to integrate AI into core operational workflows.
However, this increased autonomy brings new challenges in observability and cost management. As agents run longer and more complex tasks in the background, developers will need more granular tools to monitor token usage and prevent "hallucination loops" where an agent might repeatedly fail a task while consuming resources.
Official Responses and Developer Outlook
While official press releases often highlight the "ease of use," the technical documentation suggests a focus on "reliability and production-readiness." Philipp Schmid noted that these updates "directly address developer feedback," specifically regarding the fragility of long-running connections. The inclusion of the google-gemini/gemini-skills package for AI coding agents also indicates a meta-level shift: Google is now building tools designed to be used by other AI models, creating a recursive ecosystem of machine-to-machine interaction.
The developer community has generally responded positively to the MCP integration, as it aligns with the broader industry trend toward open standards. By not locking developers into a proprietary Google-only connector format, the Gemini API becomes more attractive for multi-cloud environments.
Conclusion and Future Trajectory
The expansion of Managed Agents in the Gemini API represents a maturation of the AI development stack. By solving the practical hurdles of timeouts, data access, and credential management, Google is providing the "plumbing" necessary for the next generation of autonomous software.
As these tools move out of preview, the focus will likely shift toward "Agent Orchestration"—the ability to have multiple Managed Agents collaborate on a single project. For now, the current updates provide a robust foundation for developers to build agents that are not just conversationalists, but capable, secure, and persistent digital workers. Developers can begin integrating these features immediately via the @google/genai JavaScript SDK or the Python equivalent, signaling a new era of "Antigravity" development where the constraints of traditional request-response cycles no longer apply.
