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.
More Agent frameworks skills
See all- find-skills4.5MFinds and installs agent skills that add the capability you ask for.
- caveman-compress445kCompresses a memory file like CLAUDE.md into caveman format to save input tokens, keeping a readable backup.
- skill-creator438kCreates new skills, improves existing ones, and tests how reliably they trigger and perform.
- writing-skills242kHelps create, edit and verify new agent skills before deploying them.
Also in this pack
- cloud-run-basics19.4kDeploys and manages Cloud Run services, jobs and worker pools.
- gemini-api18.8kWrites code that calls Gemini models for text, images, video, audio, embeddings and more across languages.
- google-cloud-recipe-auth17.1kExplains how to authenticate and authorize users and services to Google Cloud APIs, including IAM and ADC.
- google-cloud-recipe-onboarding16.9kWalks a new developer through creating a Google Cloud account, setting up billing and deploying a first resource.