Google Interactions API 现已正式可用(GA),通过统一 `/interactions` 端点提供稳定 schema,同时支持模型推理与自主智能体。关键更新包括:Managed Agents — 单次 API 调用即可启动安全远程 Linux 沙箱进行代码执行与网页浏览,默认使用 `antigravity-preview-05-2026` 智能体或自定义指令;简化 schema — 每个操作作为独立 step 形成线性流;后台执行 — 设置 `background=True` 实现异步运行并轮询结果;扩展工具生态 — 原生支持 Computer Use、File Search、Google Maps,新增 Gemini API Docs MCP server 与 gemini-interactions-api Skill;媒体生成 — 基于 Google Search 的 Nano Banana 2 图像生成、Lyria 3 音乐生成及多说话人 TTS。
The Interactions API is now GA. Featuring a stable schema and new capabilities via a single /interactions endpoint, it is now our standard interface for both model inference and autonomous agents.
Check out the key updates:
— Managed Agents: Spin up a secure, remote Linux sandbox for code execution and browsing via a single API call, using the default antigravity-preview-05-2026 agent or your own custom instructions
— Simplified Schema: Every action is now represented as its own step (from user_input to model_output, etc.) in a simplified, linear flow
— Background Execution: Set background=True to run models and agents asynchronously, letting you poll for results when ready
— Expanded Tool Ecosystem: Native support for Computer Use, File Search, and Google Maps, alongside new agent-building tools like the Gemini API Docs MCP server and gemini-interactions-api Skill
— Media Generation: Image generation via Google Search-grounded Nano Banana 2, music with Lyria 3, and expressive multi-speaker TTS
Read the blog to learn more: https://blog.google/innovation-and-ai/technology/developers-tools/interactions-api-general-availability/
来源:Google AI Developers · x.com