Skip to content

Gemini Live API Client Builder

Generates a Python client for the Gemini Live API websocket, with auth, session resumption and a demo app

Repository
google/skills
Stars
21,782
Licence
Apache-2.0
Files
4 files

What it does

When installed, the agent can scaffold a complete client service that connects to Google's Gemini Live API over WebSockets for two-way streaming of text, audio and video. The generated code handles Google Cloud bearer-token authentication, reconnecting sessions, and the message formats the API uses. The skill also asks the agent to build a demo web frontend and backend so you can test the client interactively.

Great for

  • Developers building a real-time voice or video assistant on Gemini Live API
  • Teams that want a starter client with session resumption and token refresh already designed in
  • Engineers who prefer generated, runnable Python code with a setup script and venv

Skip it if

  • Simple one-off Gemini calls such as text generation, embeddings or image generation; the skill's own description points to a different gemini-api skill for those
  • Production deployments without review, since the generated code and demo service are not security-audited and the agent must run setup commands on your machine

Try asking

  • “Build a Python client for the Gemini Live API that streams microphone audio and receives audio replies”
  • “Scaffold a Live API service with a web UI and backend that shows transcriptions and handles interruptions”
  • “Create a client that refreshes my Application Default Credentials token and resumes sessions after go_away messages”
Step-by-step guide: how to use Gemini Live API Client BuilderInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 4 original files, the Apache-2.0 licence and an attribution note.

    gemini-live-api.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip gemini-live-api.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip gemini-live-api.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Review the generated setup.sh and code before running it, since the agent executes commands and installs dependencies in the output folder
  • Give the agent a specific output folder and language, and provide your project ID, location and model ID up front
  • Use a dedicated Google Cloud project with limited permissions for testing, because the client uses your ADC credentials

What's inside

  • references/attribution.md
  • references/client_server_messages.md
  • references/session_manager.md
  • SKILL.md

Redistributed unmodified from google/skills under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.