gemini-live-api-dev
Skill by asgeirtj
Guides an AI assistant through building real-time, bidirectional streaming apps with the Gemini Live API. It is for developers using the google-genai Python SDK or the @google/genai JavaScript and TypeScript SDK.
Install gemini-live-api-dev
Built from the published package, never by AI.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/Google/antigravity/skills/gemini-live-api-dev ~/.claude/skills/gemini-live-api-devRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/system_prompts_leaks/Google/antigravity/skills/gemini-live-api-dev ~/.gemini/antigravity-cli/skills/gemini-live-api-devAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gemini-live-api-dev in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The gemini-live-api-dev skill gives an AI assistant guidance for building real-time, bidirectional streaming applications with Gemini over WebSockets. It covers streaming audio, video and text, voice activity detection, background reasoning with extended thinking, asynchronous function calling, session management, ephemeral tokens, live transcription and live translation. It also explains how to migrate legacy Live models (2.0, 2.5 and 3.1) to Gemini 3.8 Live.
The skill shows code for the google-genai Python SDK and the @google/genai JavaScript and TypeScript SDK, both at version 2.3.0 or later. It lists current models such as gemini-3.8-live and gemini-3.5-live-translate-preview, along with audio format details and partner integrations such as LiveKit and Pipecat. It is aimed at developers building voice and video agents with the Live API.
Written from the project's SKILL.md and checked against it.
What it can do
- Bidirectional audio streamingSupports real-time microphone-to-speaker conversations with the Live API.
- Video streamingSends camera or screen frames alongside audio in a live session.
- Voice activity detectionCovers automatic server VAD, client-side Hybrid VAD and manual Push-to-Talk.
- Background reasoningUses extended thinking while the model speaks conversational fillers.
- Asynchronous function callingRuns tools without blocking audio streaming, using non-blocking behavior.
- Live transcriptionProvides real-time speech-to-text with interim and finalized transcripts.
- Live translationDescribes real-time speech-to-speech translation across 70+ languages.
- Session managementCovers context compression, session resumption and GoAway signals.
- Ephemeral tokensExplains secure client-side authentication for Live API sessions.
What you need
- Gemini API key
- Python with google-genai 2.3.0 or later
- Node.js with @google/genai 2.3.0 or later
Try asking
- Show me how to connect to gemini-3.8-live with Python and send audio.
- Help me set up live translation to Spanish with the Live API.
- Migrate my gemini-2.5 Live code to gemini-3.8-live using non-blocking tools.
Good to know
- Synchronous blocking tool mode is not supported with extended thinking.
- Legacy SDKs google-generativeai and @google/generative-ai are deprecated.
- The Live API uses WebSockets directly; WebRTC needs a partner integration.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: Google/antigravity/skills/gemini-live-api-dev/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md18 KB -
references/migration.md9 KB
Alternatives to gemini-live-api-dev
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
gemini-live-api-dev: common questions
Which SDKs does the Gemini Live API skill cover?
It covers google-genai for Python and @google/genai for JavaScript and TypeScript, both at version 2.3.0 or later.
What audio format does the Live API expect for input?
Input is raw PCM, little-endian, 16-bit, mono at 16kHz, with MIME type audio/pcm;rate=16000. Output is raw PCM at 24kHz.
Which model should I use for background reasoning?
The source recommends gemini-3.8-live-extended-thinking when higher background reasoning is needed during live interactions.
How do I install gemini-live-api-dev?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gemini-live-api-dev free?
The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.
Is gemini-live-api-dev safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gemini-live-api-dev?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
