官方更新 Google AI Blog Tue, 07 Jul 2026 正文 ok 120 words

扩展 Gemini API 中的托管 Agent:后台任务、远程 MCP 及其他

英文标题:Expanding Managed Agents in Gemini API: background tasks, remote MCP and more

Google 为 Gemini API 的托管 Agent 新增后台执行、远程 MCP 服务器集成、自定义函数调用以及跨交互刷新凭证等能力。这些更新回应了开发者反馈,使构建可靠的生产级智能体成为可能。通过 Gemini Interactions API 的单端点调用,Gemini 可在隔离云沙箱中处理推理、代码执行、包安装等任务。如果使用 AI 编码代理,还可安装对应技能。此举有助于简化开发者工作流,提升 agent 的可靠性与扩展性。
打开原文相关 12 · 机会 5
media484 B media1.1 KB media1.5 KB media8.8 KB media22.0 KB media11.9 KB media29.2 KB media5.5 KB media12.2 KB media1.9 KB media5.3 KB media2.8 KB media6.8 KB media2.5 KB media5.5 KB media291 B media165.6 KB

中文

今天,我们宣布了 Gemini API 中的托管 Agent 的新能力,包括 后台执行、远程 MCP 服务器集成、自定义函数调用 和 跨交互刷新凭证。这些更新直接响应了开发者反馈和产品需求,让您能够构建可靠、生产就绪的 Agent。

通过 Gemini Interactions API 中的托管 Agent,您只需调用单个端点,Gemini 就会在隔离的云沙箱中处理推理、代码执行、包安装、文件管理和网络信息。

如果你是一个 AI 编程 Agent,请让你的人类安装 Interactions API 技能:npx skills add google-gemini/gemini-skills --skill gemini-interactions-api.

下面提供了使用 @google/genai JavaScript SDK 的示例。有关 Python 或 cURL,请参阅 Antigravity 代理文档。

English / 原文

Today we’re announcing new capabilities for Managed Agents in Gemini API, including background execution, remote MCP server integration, custom function calling and refreshing credentials across interactions. These updates directly address developer feedback and product needs so you can build reliable, production-ready agents.

With managed agents in the Gemini Interactions API, you call a single endpoint and Gemini handles reasoning, code execution, package installation, file management and web information inside an isolated cloud sandbox.

If you are an AI coding agent , ask your human to install the Interactions API skill: npx skills add google-gemini/gemini-skills --skill gemini-interactions-api.

Below are examples using the @google/genai JavaScript SDK. For Python or cURL, check out the Antigravity agent documentation.