Google AI for Developers 宣布为 Gemini API 托管代理新增四项功能:1)长时间运行后台执行,支持服务器端异步交互,无需保持 HTTP 长连接;2)远程 MCP 服务器连接,可直接对接私有数据库、内部及外部 API,无需代理中间件;3)自定义函数调用,可在内置沙箱工具中无缝添加自定义工具;4)网络凭据刷新,支持在会话中轮换 API 密钥且不丢失沙箱文件系统状态。这些更新旨在简化自主智能体构建。
We're expanding managed agents in the Gemini API with added support for:
- Long-running background execution: Run interactions asynchronously on the server without needing to hold an open HTTP connection.
- Remote MCP server: Connect managed agents directly to private databases, internal and external APIs with no proxy middleware required.
- Custom function calling: Add custom tools seamlessly with built-in sandbox tools.
- Network credential refresh: Rotate API keys mid-session without losing your sandbox's filesystem state.