Google 将 Interactions API 作为 Gemini 模型与智能体的默认接口
Google DeepMind 宣布 Interactions API 正式可用,成为 Gemini 模型和智能体的默认接口。该 API 自 2025 年 12 月进入 Beta 测试,现取代 Google AI Studio 和文档中的旧 generateContent 接口;未来新智能体功能仅通过它提供。近期新增功能包括:自带 Linux 沙箱的 Managed Agents、后台执行、Google 搜索与地图工具链、图像/音乐/语音媒体生成。架构从旧的 "user"/"model" 角色简化为 typed steps,每步动作独立定义。开发者可选择 Flex 模式(成本降低 50%)或 Priority 模式(优化速度)。
Google makes Interactions API the default interface for Gemini models and agents
Google DeepMind has released the Interactions API as the default interface for Gemini models and agents. The API, in beta since December 2025, is now generally available and replaces the old generateContent interface in Google AI Studio and all documentation. The old API still works, but new agent features will only ship through the Interactions API going forward. Google has published a migration guide for the switch.
Recent additions include Managed Agents with their own Linux sandbox, background execution for long-running tasks, tool chaining with Google Search and Maps, and media generation for images, music, and speech.
Google also simplified the schema since the beta. The old role structure with labels like "user" and "model" is now replaced by typed steps, where every action from user input to function calls is its own defined step. Developers can choose between Flex and Priority mode. Flex cuts costs by 50 percent, while Priority optimizes for speed.
AI News Without the Hype – Curated by Humans
Subscribe to THE DECODER for ad-free reading, a weekly AI newsletter, our exclusive "AI Radar" frontier report six times a year, full archive access, and access to our comment section.