Interactions API: our primary interface for Gemini models and agents

Google Blog 2026-06-22 17:15:00
Context: Google has announced that its Interactions API, a unified endpoint for interacting with Gemini models and agents, has reached general availability. The API, which was launched in public beta in December 2023, has become a preferred way for developers to build applications with Gemini. With this release, the API now has a stable schema and new capabilities, including Managed Agents and background execution.

Key Facts

  • The Interactions API has reached general availability and is now the primary API for interacting with Gemini models and agents, offering a unified endpoint with server-side state, background execution, tool combination, and multimodal generation.
  • The API was launched in public beta in December 2023 and quickly became developers' favorite way to build applications with Gemini, with a stable schema and new capabilities added for the general availability release.
  • The Interactions API allows developers to interact with Gemini models and agents using a few lines of code, with features such as passing a model ID for inference, an agent ID for autonomous tasks, and setting background=True for long-running tasks.
  • The legacy generateContent API will remain fully supported, but frontier capabilities for long-running models and agents are expected to increasingly land exclusively on the Interactions API, which is designed for stateful, agentic workflows.
  • The Interactions API is available through the Python and JavaScript SDKs, and developers can start using it with supported partners such as LiteLLM, Eigent, or Agno, and can access the API documentation and migration guide to get started.

Summarised in seconds by Grasp AI

Cut out the noise. Build your own custom factual news feed for free, or summarise any article instantly.

Create your free dashboard