Expanding Managed Agents in Gemini API: background tasks, remote MCP and more

· Source: The Keyword · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Intermediate, medium

Summary

Google DeepMind announced significant enhancements to Managed Agents in the Gemini API on July 7, 2026, designed to help developers build reliable, production-ready agents. These new capabilities include background execution, allowing asynchronous processing of long-running tasks by returning an interaction ID for status polling. Developers can now integrate remote Model Context Protocol (MCP) servers, enabling direct agent access to private databases and internal APIs from within the secure cloud sandbox. The update also introduces custom function calling, which allows local execution of specific business logic alongside built-in sandbox tools. Furthermore, network credential refresh functionality permits updating access tokens and API keys for existing environments without disrupting the agent's filesystem state or installed packages. These additions transform managed agents into asynchronous workers operating within robust development environments.

Key takeaway

For AI Engineers building production-ready agents with the Gemini API, these updates significantly enhance agent robustness and integration. You can now offload long-running tasks to background execution, ensuring application responsiveness. Integrate your private databases directly via remote MCP servers, expanding agent capabilities securely. Leverage custom function calling for local business logic and refresh network credentials without losing agent state, streamlining your development workflow for complex, reliable AI applications.

Key insights

New Gemini API agent capabilities enable robust, production-ready autonomous agents with enhanced asynchronous, integration, and security features.

Principles

In practice

Topics

Code references

Best for: AI Architect, CTO, VP of Engineering/Data, AI Engineer, Machine Learning Engineer, Software Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by The Keyword.