Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

gemini-interactions-api

Write Gemini Interactions API code for multi-turn chats, streaming, structured output, and function calling.

  • Part of google/skills
  • 12k installs
  • AI Engineering · Agent frameworks

When to use it

You have a Gemini Enterprise Agent Platform project and need to build a stateful multi-turn chat or tool-calling loop with the current SDK.

For example

You say

Using the gemini-interactions-api skill, write a Python script that asks gemini-3.8-flash for a stock price via a get_stock_price tool and sends the result back in a second turn.

You get
  • Python script with two turns
  • Function call and result handling

How it works

  • Conversations are stored server-side by default and referenced with previous_interaction_id.
  • Tools and system instructions must be passed again on every turn.
  • Background agents like deep-research-preview-04-2026 are polled until completed.

Before installing

Requires Google Gen AI SDK 2.3.0 or later plus Application Default Credentials and the aiplatform.googleapis.com API enabled.