Google has announced new capabilities for Managed Agents in the Gemini Interactions API, including background execution, remote Model Context Protocol (MCP) server integration, custom function calling, and network credential refresh.
- Long-running background execution allows asynchronous processing by passing `background: true`, returning an ID for polling or reconnecting while the agent works remotely.
- Remote MCP server integration enables direct connections to private databases and internal APIs without custom proxy middleware, allowing mixed use with built-in sandbox tools.
- Custom function calling supports local business logic execution alongside automatic server-side tool usage via step matching.
- Network credential refresh allows rotating keys or updating environment configurations on subsequent interactions while preserving the sandbox's filesystem state and installed packages.
These updates transform managed agents into asynchronous workers that operate within real development environments without blocking the client application.