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

推荐订阅源

爱范儿
爱范儿
H
Help Net Security
Jina AI
Jina AI
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
博客园 - 叶小钗
Y
Y Combinator Blog
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
WordPress大学
WordPress大学
C
Check Point Blog
Recent Announcements
Recent Announcements
IT之家
IT之家
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队
云风的 BLOG
云风的 BLOG
雷峰网
雷峰网
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
Microsoft Azure Blog
Microsoft Azure Blog
V
Visual Studio Blog
B
Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Google makes Interactions API the default way to build wi...
Damien Gallagher · 2026-06-23 · via DEV Community

Damien Gallagher

Google makes Interactions API the default way to build with Gemini agents

Google has moved its Interactions API to general availability and says it is now the primary API for working with Gemini models and agents.

This matters now because Google is not just adding another endpoint. It is telling developers that the agent-shaped API is the default path for new Gemini work, while the older generateContent API remains supported but may not get every frontier agent capability first.

What Google announced

Google says the Interactions API is now generally available after a public beta that began in December 2025. The GA release brings a stable schema and makes Interactions API the default across Google AI Studio, the Gemini API documentation, and new code snippets.

The important builder-facing pieces are:

  • One endpoint for models and agents. Developers can pass a model ID for ordinary inference or an agent ID for longer-running autonomous tasks.
  • Managed Agents. A single API call can provision a remote Linux sandbox where an agent can reason, run code, browse the web, and manage files. Google says the Antigravity agent is the default, and custom agents can be defined with instructions, skills, and data sources.
  • Background execution. Setting background=True lets the server run long tasks asynchronously.
  • Tool mixing. Built-in tools such as Google Search and Google Maps can be combined with custom functions in one request, and tool results can return images as well as text.
  • Deep Research upgrades. Google lists speed/depth agent variants, collaborative planning, native charts and infographics, and multimodal grounding with images, PDFs, and audio.
  • Media generation hooks. The post names image generation with Nano Banana 2 and Google Image Search grounding, music with Lyria 3, and multi-speaker text-to-speech.
  • Cost controls. Flex and Priority tiers let teams choose between lower cost and lower latency; Google says Flex offers a 50% cost reduction.
  • State retention. Paid-tier users can retrieve past interactions for 55 days.

Google is also moving the schema away from the old role-based message format. In the new model, each action is a typed step — user input, thought, function call, model output, and so on.

Why builders should care

If you are building against Gemini, this changes the default architecture decision.

For simple chat or extraction calls, generateContent is still supported. But if your product needs long-running tasks, agent state, tool calls, web or map grounding, multimodal outputs, or remote execution, Google is clearly steering you toward Interactions API.

The bigger signal is about where new capabilities will land first. Google says the legacy API will continue receiving new mainline Gemini models "for the foreseeable future," but it expects frontier capabilities for long-running models and agents to increasingly arrive exclusively on Interactions API.

That is the line teams should pay attention to. If you are starting a new Gemini integration today, the risk is not that the old API breaks tomorrow. The risk is building on the path that gets the new agent features later, or not at all.

Practical next steps

For engineering teams, I would treat this as a migration-planning item rather than a panic rewrite.

  • New Gemini agent projects should start on Interactions API.
  • Existing generateContent apps should keep running, but teams should audit which workflows would benefit from background execution, managed agents, or built-in tool combinations.
  • Wrapper libraries and internal SDKs should be checked for support. Google names LiteLLM, Eigent, and Agno as early supported partners.
  • Cost-sensitive workloads should test the Flex tier rather than assuming Gemini agent calls have to run at the same latency/cost profile as interactive chat.

Caveats

Google says Gemini Omni support is coming soon, not fully here today. Also, "Managed Agents" means more of the runtime is sitting on Google's side, so teams handling sensitive code or regulated data should review sandbox behavior, retention, logging, and data controls before moving production workflows.

The old API is not deprecated in this announcement. Google is saying where the platform is going, not turning off the current path.

Sources