Lightlines
By google

gemini-interactions-api

google9.4k installs

Build Gemini chats that remember earlier turns.

What it does

Guides developers in implementing cloud-managed Gemini conversations and agent workflows through the Interactions API.

When to use it

Use when implementing stateful conversations, background execution, streaming, structured output, or function calling on Gemini Enterprise Agent Platform.

How to use it

It changes how the agent implements Gemini Interactions API integration, prescribing SDK choices, initialization, and request handling.

What you provide

  • An existing project

Uses

Latest review

What you need · 5

Uses google-genai for Python or @google/genai for JavaScript/TypeScript, with version 2.3.0 or later as the supported floor.

Requires gcloud for the instructed Application Default Credentials login and API enablement.


Access · 3

This skill

Gemini Interactions API

Write

Sends prompts to Gemini

Google Cloud

Write

Enables the platform API