惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
人人都是产品经理
人人都是产品经理
云风的 BLOG
云风的 BLOG
小众软件
小众软件
F
Fortinet All Blogs
爱范儿
爱范儿
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
C
Check Point Blog
博客园 - 聂微东
D
Docker
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
Vercel News
Vercel News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
A
About on SuperTechFans
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog
宝玉的分享
宝玉的分享
Jina AI
Jina AI
H
Hackread – Cybersecurity News, Data Breaches, AI and More

The Keyword

5 helpful tools from Google to keep your accounts safe This Teacher Appreciation Week, we’re celebrating educators who made a difference in our lives. Find out how AlphaEvolve has gone from research to solving real-life problems. Here’s how we're celebrating Asian American, Native Hawaiian and Pacific Islander Heritage Month 5 gardening tips you can try right in Search Google Flow Music and Believe bring next-gen tools to artists 5 new ways to explore the web with generative AI in Search AI is reshaping ad creative. Here’s how brands can get it right. Gemini API File Search is now multimodal: build efficient, verifiable RAG Approximate location sharing gives you more control over your location data in Chrome. Accelerating Gemma 4: faster inference with multi-token prediction drafters Here’s what’s new with Google Home. Celebrating educators’ creativity this Teacher Appreciation Week Turn your data into decisions: 3 things your business needs for growth in the AI era Here’s how we’re helping Belgium's farmers save water with AI. Putting educators at the center of AI learning The latest AI news we announced in April 2026 Here's how Google AI is powering small business growth Reduce friction and latency for long-running jobs with Webhooks in Gemini API Celebrating America’s 250th on Google Arts & Culture Supporting startups that are shaping the future of energy Your car with Google built-in is about to get smarter, thanks to Gemini Preferred Sources is now available in all languages. Adapt your Shopping campaigns to modern Search with AI Max. Meet travelers in the moments that matter with Search Campaigns for Travel. AI Max Turns 1 with new ways to steer performance and expansion to more advertisers How we’re protecting energy affordability in Oklahoma Alphabet is one of TIME’s 100 most influential companies of 2026. Q1 2026 earnings call: Remarks from our CEO A new way to create a digital wardrobe from your Google Photos
Interactions API: our primary interface for Gemini models...
Ali Çevik · 2026-06-23 · via The Keyword

A single unified endpoint for Gemini models and agents with server-side state, background execution, tool combination and multimodal generation.

Philipp Schmid

Philipp Schmid

Developer Relations Engineer, Google DeepMind

Interactions API

Your browser does not support the audio element.

Listen to article

This content is generated by Google AI. Generative AI is experimental

[[duration]] minutes

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: Mix built-in tools , such as Google Search, Google Maps with your own functions in one request. Tool results can now return images alongside text.
  • Deep Research upgrades: Two new agent versions (speed vs. depth), collaborative planning, native charts and infographics, and multimodal grounding with images, PDFs and audio.
  • Media generation: Image generation with Nano Banana 2 and Google Image Search grounding, music with Lyria 3, and expressive speech with multi-speaker TTS.
  • From Roles to Steps: Simplified schema where every action (user_input, thought, function_call, model_output, etc.) is its own typed step, replacing the old role structure.
  • Cost and developer optimizations: Flex and Priority tiers let you optimize for cost or latency (Flex offers 50% cost reduction). Errors now pinpoint the exact field. Past interactions are retrievable with 55-day retention on the paid tier.

The new standard for development

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 ecosystem

Most 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).

Get started

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.

Related stories