中文翻译
摘要: Interactions API: our primary interface for Gemini models and agents
x.com
Copy link
A single unified endpoint for Gemini models and agents with server-side state, ...
正文
Interactions API: our primary interface for Gemini models and agents
x.com
Copy link
A single unified endpoint for Gemini models and agents with server-side state, background execution, tool combination and multimodal generation.
Ali Çevik
Group Product Manager, Google DeepMind
Philipp Schmid
Developer Relations Engineer, Google DeepMind
x.com
Copy link
Your browser does not support the audio element.
Listen to article
This content is generated by Google AI. Generative AI is experimental
[[duration]] minutes
0.75X
1.5X
Today we're announcing that the
Interactions API
has reached general availability and is now our primary API for interacting with Gemini models and agents. We launched its public beta in December 2025, and it has quickly become developers’ favorite way to build applications with Gemini.
With this GA release, the API now has a stable schema and we also added major new capabilities that developers asked for, including Managed Agents, background execution, Gemini Omni (soon) and more. All of our documentation now defaults to Interactions API and we are working with ecosystem partners to make it the default interface across 3P SDKs and Libraries.
The simplest way to build with Gemini
Whether you're calling a model or running an agent, the Interactions API gets you there in a few lines of code. Pass a model ID for inference, an agent ID for autonomous tasks, set
background=True
for anything long-running.
Key updates since December
Managed Agents
A single API call provisions a remote Linux sandbox where an agent can reason, execute code, browse the web and manage files. The
Antigravity agent
ships as the default, and you can
define your own custom agents
with instructions, skills and data sources.
Background execution
Set background=True on any call. The server runs the interaction asynchronously.
Tool improvements
采集时间: 2026-06-23 20:16:34
AIGoogle生成式AI多模态API人工智能
