Google

Google enhances Gemini API's Managed Agents with new developer-focused capabilities.


Executive Summary

Google has announced a significant update for Managed Agents within the Gemini API, aimed at developers building production-ready AI agents. The new capabilities include asynchronous background execution for long-running tasks, direct integration with private systems via remote Model Context Protocol (MCP) servers, and the ability to combine custom functions with built-in sandbox tools. These enhancements address key developer feedback, enabling the creation of more robust and autonomous agents capable of handling complex, real-world workflows.

Key Takeaways

* Background Execution: Agents can run long-running tasks asynchronously without requiring a persistent HTTP connection. The API returns an ID that clients can use to poll for status or reconnect later.

* Remote MCP Server Integration: Developers can now connect managed agents directly to private databases or internal APIs by configuring a remote Model Context Protocol (MCP) server as a tool.

* Custom Function Calling: The API now supports using custom, client-side functions alongside built-in sandbox tools like code execution, automatically managing which tool runs where.

* Network Credential Refresh: Developers can update or rotate access tokens and API keys for an existing sandbox environment without resetting its state, such as file systems or installed packages.

Strategic Importance

This update moves Gemini's agent-building framework beyond simple interactions, providing the enterprise-grade tools necessary for production environments. It directly enables developers to build more powerful agents that can integrate securely with internal company systems and execute complex, long-running asynchronous tasks.

Original article