Agent skill

Livekit Agents

by allgpt-co in allgpt-co/QuickVoice

Build voice AI agents with LiveKit Cloud and the Agents SDK.

MITAuto-check: notesAI & LLM Engineering

Install Livekit Agents

skills CLI
$ npx skills add allgpt-co/QuickVoice --skill livekit-agents -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install allgpt-co/QuickVoice livekit-agents --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/allgpt-co/QuickVoice.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/livekit-agents .claude/skills/livekit-agents && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
livekit-agents
GitHub stars
488
Token cost
~3.3k tokens
SKILL.md length
1,680 words
Files
2 (incl. references)
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Build voice AI agents with LiveKit Cloud and the Agents SDK.

  • Works in 5 steps: Read this entire skill document - Do not… → Ensure LiveKit Cloud project is… → Set up documentation access - Use MCP if… → …
  • The user asks to build a voice agent
  • SKILL.md covers MANDATORY: Read This Checklist…, LiveKit Cloud Setup, Critical Rule: Never Trust… and REQUIRED: Use LiveKit MCP…, plus 4 more sections
  • Needs LIVEKIT_API_KEY and LIVEKIT_API_SECRET

What it does

Livekit Agents is an agent skill from allgpt-co/QuickVoice. Build voice AI agents with LiveKit Cloud and the Agents SDK. Use when the user asks to "build a voice agent", "create a LiveKit agent", "add voice AI", "implement handoffs", "structure agent workflows", or is working with LiveKit Agents SDK. Provides opinionated guidance for the recommended path: LiveKit Cloud + LiveKit Inference. REQUIRES writing tests for all implementations.

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/freshness-rules.md`).

It sits in AI & LLM Engineering, covering Speech recognition and synthesis. It works with Model Context Protocol. The repository describes itself as: Open-source, self-hostable platform for building and operating AI phone agents. The licence is MIT.

When your agent uses it

  • The user asks to build a voice agent
  • Create a LiveKit agent
  • Implement handoffs
  • Structure agent workflows

Example prompts

  • “build a voice agent”
  • “create a LiveKit agent”
  • “add voice AI”
  • “/livekit-agents”

Requirements

  • A credential in LIVEKIT_API_KEY
  • A credential in LIVEKIT_API_SECRET

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Read this entire skill document - Do not skip sections even if MCP is available
  2. Ensure LiveKit Cloud project is connected - You need LIVEKIT_URL, LIVEKIT_API_KEY, and LIVEKIT_API_SECRET from your Cloud project
  3. Set up documentation access - Use MCP if available, otherwise use web search
  4. Plan to write tests - Every agent implementation MUST include tests (see testing section below)
  5. Verify all APIs against live docs - Never rely on model memory for LiveKit APIs

What it can do on your machine

Read from SKILL.md and the folder at commit 89fa8ff. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.livekit.io
    • cloud.livekit.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • LIVEKIT_API_KEY
    • LIVEKIT_API_SECRET

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Livekit Agents loads about 3.3k tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 99 tokens; SKILL.md has 1,680 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:45
    as environment variables (typically in `.env.local`):

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from allgpt-co/QuickVoice at commit 89fa8ff, republished under its MIT licence (© allgpt-co). 1,680 words, ~3,290 tokens.

Download SKILL.mdSave it as .claude/skills/livekit-agents/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
livekit-agents
description
Build voice AI agents with LiveKit Cloud and the Agents SDK. Use when the user asks to "build a voice agent", "create a LiveKit agent", "add voice AI", "implement handoffs", "structure agent workflows", or is working with LiveKit Agents SDK. Provides opinionated guidance for the recommended path: LiveKit Cloud + LiveKit Inference. REQUIRES writing tests for all implementations.
license
MIT
metadata.author
livekit
metadata.version
0.3.1

LiveKit Agents Development for LiveKit Cloud

This skill provides opinionated guidance for building voice AI agents with LiveKit Cloud. It assumes you are using LiveKit Cloud (the recommended path) and encodes how to approach agent development, not API specifics. All factual information about APIs, methods, and configurations must come from live documentation.

This skill is for LiveKit Cloud developers. If you're self-hosting LiveKit, some recommendations (particularly around LiveKit Inference) won't apply directly.

MANDATORY: Read This Checklist Before Starting

Before writing ANY code, complete this checklist:

  1. Read this entire skill document - Do not skip sections even if MCP is available
  2. Ensure LiveKit Cloud project is connected - You need LIVEKIT_URL, LIVEKIT_API_KEY, and LIVEKIT_API_SECRET from your Cloud project
  3. Set up documentation access - Use MCP if available, otherwise use web search
  4. Plan to write tests - Every agent implementation MUST include tests (see testing section below)
  5. Verify all APIs against live docs - Never rely on model memory for LiveKit APIs

This checklist applies regardless of whether MCP is available. MCP provides documentation access but does NOT replace the guidance in this skill.

LiveKit Cloud Setup

LiveKit Cloud is the fastest way to get a voice agent running. It provides:

  • Managed infrastructure (no servers to deploy)
  • LiveKit Inference for AI models (no separate API keys needed)
  • Built-in noise cancellation, turn detection, and other voice features
  • Simple credential management
Connect to Your Cloud Project
  1. Sign up at cloud.livekit.io if you haven't already

  2. Create a project (or use an existing one)

  3. Get your credentials from the project settings:

    • LIVEKIT_URL - Your project's WebSocket URL (e.g., wss://your-project.livekit.cloud)
    • LIVEKIT_API_KEY - API key for authentication
    • LIVEKIT_API_SECRET - API secret for authentication
  4. Set these as environment variables (typically in .env.local):

bash
LIVEKIT_URL=wss://your-project.livekit.cloud
LIVEKIT_API_KEY=your-api-key
LIVEKIT_API_SECRET=your-api-secret

The LiveKit CLI can automate credential setup. Consult the CLI documentation for current commands.

Use LiveKit Inference for AI Models

LiveKit Inference is the recommended way to use AI models with LiveKit Cloud. It provides access to leading AI model providers—all through your LiveKit credentials with no separate API keys needed.

Benefits of LiveKit Inference:

  • No separate API keys to manage for each AI provider
  • Billing consolidated through your LiveKit Cloud account
  • Optimized for voice AI workloads

Consult the documentation for available models, supported providers, and current usage patterns. The documentation always has the most up-to-date information.

Critical Rule: Never Trust Model Memory for LiveKit APIs

LiveKit Agents is a fast-evolving SDK. Model training data is outdated the moment it's created. When working with LiveKit:

  • Never assume API signatures, method names, or configuration options from memory
  • Never guess SDK behavior or default values
  • Always verify against live documentation before writing code
  • Always cite the documentation source when implementing features

This rule applies even when confident about an API. Verify anyway.

REQUIRED: Use LiveKit MCP Server for Documentation

Before writing any LiveKit code, ensure access to the LiveKit documentation MCP server. This provides current, verified API information and prevents reliance on stale model knowledge.

Check for MCP Availability

Look for livekit-docs MCP tools. If available, use them for all documentation lookups:

  • Search documentation before implementing any feature
  • Verify API signatures and method parameters
  • Look up configuration options and their valid values
  • Find working examples for the specific task at hand
If MCP Is Not Available

If the LiveKit MCP server is not configured, inform the user and recommend installation. Installation instructions for all supported platforms are available at:

https://docs.livekit.io/intro/mcp-server/

Fetch the installation instructions appropriate for the user's coding agent from that page.

Fallback When MCP Unavailable

If MCP cannot be installed in the current session:

  1. Inform the user immediately that documentation cannot be verified in real-time
  2. Use web search to fetch current documentation from docs.livekit.io
  3. Explicitly mark all LiveKit-specific code with a comment like # UNVERIFIED: Please check docs.livekit.io for current API
  4. State clearly when you cannot verify something: "I cannot verify this API signature against current documentation"
  5. Recommend the user verify against https://docs.livekit.io before using the code

Voice Agent Architecture Principles

Voice AI agents have fundamentally different requirements than text-based agents or traditional software. Internalize these principles:

Latency Is Critical

Voice conversations are real-time. Users expect responses within hundreds of milliseconds, not seconds. Every architectural decision should consider latency impact:

  • Minimize LLM context size to reduce inference time
  • Avoid unnecessary tool calls during active conversation
  • Prefer streaming responses over batch responses
  • Design for the unhappy path (network delays, API timeouts)
Context Bloat Kills Performance

Large system prompts and extensive tool lists directly increase latency. A voice agent with 50 tools and a 10,000-token system prompt will feel sluggish regardless of model speed.

Design agents with minimal viable context:

  • Include only tools relevant to the current conversation phase
  • Keep system prompts focused and concise
  • Remove tools and context that aren't actively needed
Users Don't Read, They Listen

Voice interface constraints differ from text:

  • Long responses frustrate users—keep outputs concise
  • Users cannot scroll back—ensure clarity on first delivery
  • Interruptions are normal—design for graceful handling
  • Silence feels broken—acknowledge processing when needed

Workflow Architecture: Handoffs and Tasks

Complex voice agents should not be monolithic. LiveKit Agents supports structured workflows that maintain low latency while handling sophisticated use cases.

The Problem with Monolithic Agents

A single agent handling an entire conversation flow accumulates:

  • Tools for every possible action (bloated tool list)
  • Instructions for every conversation phase (bloated context)
  • State management for all scenarios (complexity)

This creates latency and reduces reliability.

Handoffs: Agent-to-Agent Transitions

Handoffs allow one agent to transfer control to another. Use handoffs to:

  • Separate distinct conversation phases (greeting → intake → resolution)
  • Isolate specialized capabilities (general support → billing specialist)
  • Manage context boundaries (each agent has only what it needs)

Design handoffs around natural conversation boundaries where context can be summarized rather than transferred wholesale.

Tasks: Scoped Operations

Tasks are tightly-scoped prompts designed to achieve a specific outcome. Use tasks for:

  • Discrete operations that don't require full agent capabilities
  • Situations where a focused prompt outperforms a general-purpose agent
  • Reducing context when only a specific capability is needed

Consult the documentation for implementation details on handoffs and tasks.

Show full SKILL.md (681 more words)Show less

REQUIRED: Write Tests for Agent Behavior

Voice agent behavior is code. Every agent implementation MUST include tests. Shipping an agent without tests is shipping untested code.

Mandatory Testing Workflow

When building or modifying a LiveKit agent:

  1. Create a tests/ directory if one doesn't exist
  2. Write at least one test before considering the implementation complete
  3. Test the core behavior the user requested
  4. Run the tests to verify they pass
Test-Driven Development Process

When modifying agent behavior—instructions, tool descriptions, workflows—begin by writing tests for the desired behavior:

  1. Define what the agent should do in specific scenarios
  2. Write test cases that verify this behavior
  3. Implement the feature
  4. Iterate until tests pass

This approach prevents shipping agents that "seem to work" but fail in production.

What Every Agent Test Should Cover

At minimum, write tests for:

  • Basic conversation flow: Agent responds appropriately to a greeting
  • Tool invocation (if tools exist): Tools are called with correct parameters
  • Error handling: Agent handles unexpected input gracefully

Focus tests on:

  • Tool invocation: Does the agent call the right tools with correct parameters?
  • Response quality: Does the agent produce appropriate responses for given inputs?
  • Workflow transitions: Do handoffs and tasks trigger correctly?
  • Edge cases: How does the agent handle unexpected input, interruptions, silence?
Test Implementation Pattern

Use LiveKit's testing framework. Consult the testing documentation via MCP for current patterns:

search: "livekit agents testing"

The framework supports:

  • Simulated user input
  • Verification of agent responses
  • Tool call assertions
  • Workflow transition testing
Why This Is Non-Negotiable

Agents that "seem to work" in manual testing frequently fail in production:

  • Prompt changes silently break behavior
  • Tool descriptions affect when tools are called
  • Model updates change response patterns

Tests catch these issues before users do.

Skipping Tests

If a user explicitly requests no tests, proceed without them but inform them:

"I've built the agent without tests as requested. I strongly recommend adding tests before deploying to production. Voice agents are difficult to verify manually and tests prevent silent regressions."

Common Mistakes to Avoid

Overloading the Initial Agent

Starting with one agent that "does everything" and adding tools/instructions over time. Instead, design workflow structure upfront, even if initial implementation is simple.

Ignoring Latency Until It's a Problem

Latency issues compound. An agent that feels "a bit slow" in development becomes unusable in production with real network conditions. Measure and optimize latency continuously.

Copying Examples Without Understanding

Examples in documentation demonstrate specific patterns. Copying code without understanding its purpose leads to bloated, poorly-structured agents. Understand what each component does before including it.

Skipping Tests Because "It's Just Prompts"

Agent behavior is code. Prompt changes affect behavior as much as code changes. Test agent behavior with the same rigor as traditional software. Never deliver an agent implementation without at least one test file.

Assuming Model Knowledge Is Current

Reiterating the critical rule: never trust model memory for LiveKit APIs. The SDK evolves faster than model training cycles. Verify everything.

When to Consult Documentation

Always consult documentation for:

  • API method signatures and parameters
  • Configuration options and their valid values
  • SDK version-specific features or changes
  • Deployment and infrastructure setup
  • Model provider integration details
  • CLI commands and flags

This skill provides guidance on:

  • Architectural approach and design principles
  • Workflow structure decisions
  • Testing strategy
  • Common pitfalls to avoid

The distinction matters: this skill tells you how to think about building voice agents. The documentation tells you how to implement specific features.

Feedback Loop

When using LiveKit documentation via MCP, note any gaps, outdated information, or confusing content. Reporting documentation issues helps improve the ecosystem for all developers.

Summary

Building effective voice agents with LiveKit Cloud requires:

  1. Use LiveKit Cloud + LiveKit Inference as the foundation—it's the fastest path to production
  2. Verify everything against live documentation—never trust model memory
  3. Minimize latency at every architectural decision point
  4. Structure workflows using handoffs and tasks to manage complexity
  5. Test behavior before and after changes—never ship without tests
  6. Keep context minimal—only include what's needed for the current phase

These principles remain valid regardless of SDK version or API changes. For all implementation specifics, consult the LiveKit documentation via MCP.

© allgpt-co, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in .agents/skills/livekit-agents of allgpt-co/QuickVoice.

  • SKILL.md
  • references/freshness-rules.md

Open the folder on GitHubat commit 89fa8ff

Compare with similar skills

Livekit Agents next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Livekit Agents compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Livekit Agents this skillallgpt-co/QuickVoice488—~3.3kAutomated safety check: NotesMIT
Elevenlabs Agentsjezweb/claude-skills1.1k—~3.3kAutomated safety check: PassMIT
Resolve Media Analysissamuelgursky/davinci-resolve-mcp3.4k—~1.1kAutomated safety check: PassMIT
Azure AImicrosoft/GitHub-Copilot-for-Azure2551 repos~852Automated safety check: PassMIT
Famulor Skillaiskillstore/marketplace433—~2.4kAutomated safety check: PassMIT
Codebase Managementgiancarloerra/SocratiCode3.3k1 repos~1.8kAutomated safety check: PassAGPL-3.0

Similar skills

  • Elevenlabs Agents

    jezweb/claude-skills

    Build conversational AI voice agents on the ElevenLabs platform.

    1.1k GitHub stars~3.3k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Resolve Media Analysis

    samuelgursky/davinci-resolve-mcp

    Media intelligence layer for the DaVinci Resolve MCP. An agent skill from samuelgursky/davinci-resolve-mcp.

    3.4k GitHub stars~1.1k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Azure AI

    microsoft/GitHub-Copilot-for-Azure

    Official

    A skill your agent uses for Azure AI: Search, Speech, OpenAI, Document Intelligence.

    255 GitHub starsUsed in 1 repo~852 tokens
    Media & CreativeAuto-check passed
  • Famulor Skill

    aiskillstore/marketplace

    Operate a Famulor workspace through its hosted MCP server, including assistants, conversation history, campaigns, messaging, telephony, knowledge, dashboards, automations, billing, settings…

    433 GitHub stars~2.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Codebase Management

    giancarloerra/SocratiCode

    Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.

    3.3k GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Triage

    TalAter/annyang

    Triage and close GitHub issues on TalAter/annyang. An agent skill from TalAter/annyang.

    6.8k GitHub stars~810 tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check: notes

More from allgpt-co/QuickVoice

All 12 skills in this repo
  • Gsd

    allgpt-co/QuickVoice

    Get Shit Done (GSD) - A comprehensive project management system for solo developers using Claude agents

    488 GitHub stars~2k tokensUpdated 4 days ago
    Auto-check passed
  • Gsd Codebase Mapper

    allgpt-co/QuickVoice

    Explores codebase and writes structured analysis documents. An agent skill from allgpt-co/QuickVoice.

    488 GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check: notes
  • Gsd Integration Checker

    allgpt-co/QuickVoice

    Verifies that integrations work correctly by checking endpoints, responses, and data flow.

    488 GitHub stars~2.8k tokensUpdated 4 days ago
    Auto-check passed
  • Gsd Phase Researcher

    allgpt-co/QuickVoice

    Researches phase implementation for planning. An agent skill from allgpt-co/QuickVoice.

    488 GitHub stars~1.9k tokensUpdated 4 days ago
    Auto-check passed
  • Gsd Plan Checker

    allgpt-co/QuickVoice

    Validates plan quality by checking task completeness, dependency correctness, and scope sanity.

    488 GitHub stars~2.5k tokensUpdated 4 days ago
    Auto-check passed
  • Gsd Executor

    allgpt-co/QuickVoice

    Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management.

    488 GitHub stars~4.7k tokensUpdated 4 days ago
    Auto-check: warnings

Questions about Livekit Agents

What does Livekit Agents do?

Build voice AI agents with LiveKit Cloud and the Agents SDK. Livekit Agents is an agent skill from allgpt-co/QuickVoice. Build voice AI agents with LiveKit Cloud and the Agents SDK.

When should I use Livekit Agents?

Livekit Agents fits situations like: the user asks to build a voice agent; create a LiveKit agent; implement handoffs; structure agent workflows.

How do I install Livekit Agents in Claude Code?

Run `npx skills add allgpt-co/QuickVoice --skill livekit-agents -a claude-code`. Or copy the skill folder (.agents/skills/livekit-agents in allgpt-co/QuickVoice) into .claude/skills/livekit-agents in your project. Claude Code loads it when a task matches its description.

How do I install Livekit Agents in Codex?

Run `npx skills add allgpt-co/QuickVoice --skill livekit-agents -a codex`. Or copy the skill folder (.agents/skills/livekit-agents in allgpt-co/QuickVoice) into .agents/skills/livekit-agents in your project. Codex loads it when a task matches its description.

Can I use Livekit Agents in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add allgpt-co/QuickVoice --skill livekit-agents -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/livekit-agents, .gemini/skills/livekit-agents, .github/skills/livekit-agents and .opencode/skills/livekit-agents in your project.

What does Livekit Agents need to run?

Going by SKILL.md and its folder, Livekit Agents needs credentials named LIVEKIT_API_KEY and LIVEKIT_API_SECRET. Our summary lists: A credential in LIVEKIT_API_KEY; A credential in LIVEKIT_API_SECRET.

Does Livekit Agents access the network?

SKILL.md names 2 domains. As links in the text: docs.livekit.io and cloud.livekit.io. This is read from the text; nothing was executed.

Is Livekit Agents safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Livekit Agents use?

Livekit Agents is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Livekit Agents use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Livekit Agents?

Skills that share tags, products or a category with Livekit Agents: Elevenlabs Agents (jezweb/claude-skills, 1.1k stars), Resolve Media Analysis (samuelgursky/davinci-resolve-mcp, 3.4k stars), Azure AI (microsoft/GitHub-Copilot-for-Azure, 255 stars) and Famulor Skill (aiskillstore/marketplace, 433 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Livekit Agents?

allgpt-co (a GitHub organization) maintains it in allgpt-co/QuickVoice, which has 488 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 5, 2026.

Source: allgpt-co/QuickVoice on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.