# Google 为 Gemini API 托管代理扩展四项新功能

- 来源：Google AI Developers (@googleaidevs)
- 发布时间：2026-07-08 00:58
- AIHOT 分数：62
- AIHOT 链接：https://aihot.virxact.com/items/cmrawy9db01qnihogozgcrc3u
- 原文链接：https://x.com/googleaidevs/status/2074538486762192902

## AI 摘要

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:

1. Long-running background execution: Run interactions asynchronously on the server without needing to hold an open HTTP connection.
2. Remote MCP server: Connect managed agents directly to private databases, internal and external APIs with no proxy middleware required.
3. Custom function calling: Add custom tools seamlessly with built-in sandbox tools.
4. Network credential refresh: Rotate API keys mid-session without losing your sandbox's filesystem state.

Start building autonomous agents today ↓
https://x.com/GoogleAIStudio/status/2074533418004591077

### 引用推文

> Google AI Studio：http://x.com/i/article/2074499288885850112
