Google’s Interactions API is a unified interface for interacting with Gemini models and agents.
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
Your browser does not support the audio element.
Listen to article
[[duration]] minutes
This content is generated by Google AI. Generative AI is experimental
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 GeminiWhether 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.
from google import genai
client = genai.Client()
# Talk to a model
interaction = client.interactions.create(
model="gemini-3.5-flash",
input="Explain quantum entanglement simply.",
)
# Run an agent
interaction = client.interactions.create(
agent="antigravity-preview-05-2026",
input="Plot the growth of solar energy generation globally and make some slides in HTML.",
environment="remote",
)
The Interactions API is now the default for Google AI Studio, the Gemini API, and all our documentation, which includes a toggle to switch snippets back to the legacy format. We recommend using the Interactions API for all new projects and applications.
While the legacy generateContent API remains fully supported and will continue to receive new mainline Gemini models for the foreseeable future, we expect frontier capabilities for long-running models and agents to increasingly land exclusively on the Interactions API. This is because it is designed from the ground up for stateful, agentic workflows. We have published a migration guide to help you transition at your own pace.
An agent-first ecosystemMost developers are now using coding agents (such as Antigravity) to build applications. To make it easier for agents to stay up to date with the latest API patterns, we built the gemini-interactions-api Skill. It injects best-practice patterns for Interactions API development into your agent's context (streaming, function calling, structured output, Deep Research and more).
npx skills add google-gemini/gemini-skills --skill gemini-interactions-api
The Interactions API is available through the Python and JavaScript SDKs. If you're already building with one of our supported partners, LiteLLM, Eigent or Agno, you can start using their Interactions API integrations today.
Grab your API key from Google AI Studio and follow the Interactions API documentation to get started. If you’re migrating from generateContent, our migration guide maps every field to the new schema. You can also view the full API Reference.
The Interactions API was built based on developer feedback, and that focus won't change with general availability. Tell us what you need on the developer forum.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Gemini app adding new Google Contacts integration | 0 | 5 | 05-06-2026 |
| 2 | Gemini API Managed Agents: 3.6 Flash, hooks, and more | 0 | 13.6 | 28-07-2026 |
| 3 | Now you can connect even more of your favorite apps and services to Gemini. | 0 | 9.76 | 12-08-2026 |
| 4 | Bringing the latest Gemini models to Apple developers | 0 | 11.79 | 08-06-2026 |
| 5 | The Gemini app is bringing personalized image creation to more users. | 5 | 7 | 29-06-2026 |
| 6 | Gemini Deep Research can now connect to your Gmail, Docs, Drive and even Chat. | 5 | 7 | 05-11-2025 |
| 7 | Expanding Managed Agents in Gemini API: background tasks, remote MCP and more | 5 | 7 | 07-07-2026 |
| 8 | Gemini for macOS gets Neural Expressive, AI Mode on Android redesigned | 0 | 12.29 | 21-07-2026 |
| 9 | Gemini comes to Waymo for assistance and cabin controls | 0 | 11.71 | 29-07-2026 |
| 10 | We’re expanding access to Gemini in Google Vids. | 5 | 7 | 17-11-2025 |