gemini-interactions-api

Generate text and images with Gemini models via a unified Python and TypeScript API.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/brivaro/brivaro-ai-wizard --skill gemini-interactions-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-interactions-api
Source: https://github.com/brivaro/brivaro-ai-wizard/tree/main/skills/gemini-interactions-api
Command: npx skills add https://github.com/brivaro/brivaro-ai-wizard --skill gemini-interactions-api

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies and unifies interactions with Gemini models and agents, offering advanced capabilities beyond basic text generation for agentic applications.

Core Features & Use Cases

  • Unified API: Use a single interface for text generation, chat, multimodal understanding, image generation, and more.
  • Stateful Conversations: Manage conversation history server-side using previous_interaction_id.
  • Asynchronous Tasks: Run long-running operations like Deep Research in the background.
  • Tool Integration: Supports function calling, Google Search, code execution, and file operations.
  • Agents: Access specialized agents like the Deep Research agent.

Quick Start

Use the gemini-interactions-api skill to generate a short joke about programming using the gemini-3-flash-preview model.

Frequently Asked Questions about gemini-interactions-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage stateful conversations with the Gemini API in Python and TypeScript?

Stateful conversations with the Gemini API are managed server-side by passing a previous_interaction_id to maintain context. This unified API approach works seamlessly across both Python and TypeScript implementations.

Can I run long-running tasks like Deep Research asynchronously with Gemini agents?

Yes, you can run long-running tasks asynchronously with Gemini agents. The API supports executing background operations like the Deep Research agent without blocking your main application thread.

What's the best way to orchestrate tools and function calling with Gemini models?

Tool orchestration with Gemini models is handled through a unified API that supports function calling, Google Search, code execution, and file operations. This enables advanced agentic workflows within a single interface.

Does the Gemini interactions API support multimodal understanding and image generation?

The Gemini interactions API supports multimodal understanding and image generation alongside text generation. It provides a single unified interface to handle multiple input types and generate diverse outputs.

How do I access specialized agents like Deep Research using the Gemini API?

Specialized agents like Deep Research are accessed directly through the unified Gemini interactions API. You can invoke these agents programmatically in Python or TypeScript to perform complex, long-running research tasks.