domains / families / software-engineering / gemini-interactions-api
Guides the usage of Gemini Interactions API on Gemini Enterprise Agent Platform. Use when the user wants to use the stateful, server-managed Interactions API for multi-turn conversations, background execution, streaming, structured output, and function calling on the Agent Platform. Build with the Gemini Interactions API for text, chat, multimodal generation, streaming, managed or background agents, function calling, structured output, and generateContent migrations.
The two skills cover the same API but contain conflicting and complementary information. The google/skills copy provides detailed authentication steps (gcloud login, API enablement) and specific client initialization options (env vars vs inline vs API key) that the sickn33 copy omits. Conversely, the sickn33 copy lists a broader range of supported models (including image, video, TTS, and Gemma models) and specific response helper properties (output_image, output_audio) that the google/skills copy lacks. Crucially, they disagree on the recommended default model (gemini-3.8-flash vs gemini-3.5-flash) and the scope of the API (google/skills focuses on the 'Enterprise Agent Platform' with specific env vars, while sickn33 presents a more general 'Gemini API' usage). Combining them is necessary to provide a complete and accurate guide that includes both the authentication/setup details and the full model/response surface.