gemini-live-api-dev
Skill by sickn33
Guides an AI assistant in building real-time, bidirectional streaming apps with the Gemini Live API. It is for developers creating voice and video AI features over WebSockets.
Install gemini-live-api-dev
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/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/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/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 the Gemini Live API. The Live API uses WebSockets to stream audio, video, or text to Gemini and receive audio or text responses with low latency. The skill covers voice activity detection, native audio, function calling, session management, and ephemeral tokens for client-side authentication. It includes Python and JavaScript snippets for connecting, sending text, audio and video, and receiving audio and transcripts.
The recommended model is gemini-3.1-flash-live-preview, and the source lists the google-genai and @google/genai SDKs. It also covers consent for microphone and camera streaming, minimizing transcript logging, and keeping API keys out of browsers. It is aimed at developers who build voice and video AI applications on Gemini. The skill is published by sickn33 and sourced from google-gemini/gemini-skills under Apache-2.0.
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 Gemini over WebSockets.
- Video streamingSends camera or screen frames alongside audio to the Live API.
- Text input and outputSends and receives text within a live session.
- Audio transcriptionsProvides text transcripts of both input and output audio.
- Voice activity detectionHandles automatic interruptions during a conversation.
- Native audioSupports native audio output and thinking through the thinkingLevel setting.
- Function callingLets the model use synchronous tool calls during a session.
- Google Search groundingGrounds responses in real-time search results.
- Session managementCovers context compression, session resumption, and GoAway signals.
- Ephemeral tokensProvides short-lived tokens for secure client-side authentication.
What you need
- Gemini API key
- Python with the google-genai package, or Node.js with the @google/genai package
Try asking
- Show me how to connect to the Gemini Live API in Python.
- Write JavaScript code that sends microphone audio to a Gemini Live session.
- Explain how to handle interruptions and transcripts in a Live API session.
Good to know
- The Live API only supports WebSockets. WebRTC requires a partner integration.
- Each session supports either TEXT or AUDIO output, not both.
- Connection lifetime is about 10 minutes, so use session resumption.
- Async function calling and code execution are not supported.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: 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.md15 KB
Alternatives to gemini-live-api-dev
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
gemini-live-api-dev: common questions
Which model does the Gemini Live API skill recommend?
The source recommends gemini-3.1-flash-live-preview for all Live API use cases. It also lists gemini-3.5-live-translate-preview for real-time streaming translation.
Does the Gemini Live API support WebRTC?
The source says the Live API currently only supports WebSockets. For WebRTC support or simplified integration, it points to partner integrations such as LiveKit and Pipecat.
Which SDKs does this skill use?
It uses the Python google-genai package and the JavaScript @google/genai package. The source says the legacy google-generativeai and @google/generative-ai SDKs are deprecated.
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 MIT licence. The service it connects to may have its own pricing.
Is gemini-live-api-dev safe to use?
It scores 89 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: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
