LiveKit Agents: Framework for Realtime Voice AI
Build realtime, programmable voice agents that can see, hear, and understand.
- Source repo
- livekit/agents
- Stars
- ★ 15k
- Last updated
- today [email protected]
- FARS reviewed
- Nov 08, 2026 +4 new
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 66/100 · Some gaps
At a glance
- How it runs
- Works with
- Portable with changesOpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Developers quickly building WebRTC voice assistants for customer service or virtual assistants.
- Not a fit if
- Developers unwilling to run or connect to a LiveKit server
- Teams that need a stable, non-evolving API
- Website
- docs.livekit.io/agents ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release [email protected] (2026-12-02)+14.3 ★/day over 7 days
- Source review
- 66/100 · Some gaps
What does this agent do, and when should you use it?
LiveKit Agents is a Python framework for building server-side realtime voice agents. It provides AgentSession for managing conversations, Agent for defining instructions and tools, and AgentServer for coordinating job scheduling. It supports flexible STT, LLM, and TTS integrations via plugins or LiveKit Inference, and includes features like RPC, data APIs, MCP support, and a built-in test framework.
The framework runs an AgentServer that listens for room sessions and initiates AgentSession. Developers define an entrypoint with @server.rtc_session, configure VAD, STT, LLM, TTS (e.g., deepgram/nova-3, google/gemma-4-31b-it, cartesia/sonic-3), and define agent behavior via instructions and tools (@function_tool). Sessions support reply generation, multi-agent handoff, structured output, and can be run via CLI (console, dev, start).
- Developers quickly building WebRTC voice assistants for customer service or virtual assistants.
- Interactive voice response systems, e.g., phone bots via SIP integration.
- Multi-agent workflows where one agent collects info then hands off to another.
- Scenarios requiring structured output from the LLM to guide TTS tone.
- Integrating MCP tools to interact with external systems.
- Automated testing of voice agents using the built-in test framework and judges.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
LIVEKIT_URLLIVEKIT_API_KEYLIVEKIT_API_SECRET
How do you install or deploy this agent?
Install the core library and plugins via pip: pip install "livekit-agents[openai,deepgram,cartesia]". Requires Python.
How do you use this agent?
Set environment variables LIVEKIT_URL, LIVEKIT_API_KEY, LIVEKIT_API_SECRET. Run python myagent.py dev for a development server with hot reload. For production, use python myagent.py start. To test in terminal, use python myagent.py console.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Constantly updated with integrations for OpenAI, Deepgram, Cartesia, etc.
- Built-in dispatch APIs for job scheduling and distribution.
- Extensive WebRTC client SDK support across platforms.
- Native MCP support for easy tool integration.
- Built-in test framework to verify agent behavior.
- Requires a LiveKit server (cloud or self-hosted), adding deployment complexity.
- Needs API keys and network connectivity.
- Dependent on model providers, which may incur costs.
- Rapidly evolving API may change frequently.
How does this agent compare with similar options?
Unlike chatbot-only libraries, this framework focuses on realtime voice interactions and integrates tightly with the LiveKit ecosystem, requiring a LiveKit server.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| LiveKit Agents: Framework for Realtime Voice AI This agent | 66 · Some gaps | CLIFree + model costs | ★ 15k | today | Python | OpenAI API · Claude API |
| ElevenAgents SDK | 50 · Major gaps | — | ★ 124 | today | TypeScript | — |
| jargo | 74 · Some gaps | — | ★ 117 | today | Go | OpenAI API · Claude API |
| OpenAI Agents SDK (JavaScript/TypeScript) | 52 · Major gaps | Library / SDKFree + model costs | ★ 4.1k | today | TypeScript | OpenAI API |
How does FollowAgents rate this agent?
Why each dimension lost points
The documentation says agents connect to LiveKit, model providers, clients, and telephony, lists API-key environment variables, and shows callable tools, so some data flows are visible. The packet does not show least-privilege configuration, user-confirmation gates, sensitive audio/transcript handling, rollback mechanisms, or dependency vulnerability management, which limits those scores. The plugin download command discovers and imports installed plugins before invoking their download step; errors are logged, but downloaded content verification is not described. Repository documentation, license, and contribution channels provide attribution clues; publisher identity remains unknown.
The README, AGENTS.md, and pyproject.toml are broadly consistent about installation, test categories, and run modes. The framework describes plugin interfaces, fallback adapters, and categorized tests. Dependency availability and runtime reliability remain documented claims, not execution-verified findings. Plugin import and download errors are logged and processing continues or returns a failure code, providing basic failure feedback without extensive recovery guidance.
The packet covers voice and multimodal agents, telephony, MCP, multi-agent handoffs, multiple model providers, and deployment modes, with starter and testing examples. Capability boundaries are mostly conveyed through external-service requirements and examples; permission, trigger, and data-protection boundaries are less explicit. Installation guidance specifies Python 3.10+, but gives limited detail on platform and production constraints.
Architecture, core concepts, installation, usage, examples, testing, development, and licensing are documented. Apache-2.0 and the separate model license are identified. Examples and common workflows are extensive. Version policy appears in contributor guidance, but the packet contains no changelog; naming includes a compatibility note for AgentServer's former name, Worker. Issues, PRs, community channels, and review workflow indicate maintenance paths, though ownership is not fully explicit.
The core example is actionable and shows startup, model configuration, a tool, and run modes; multi-agent and testing examples add practical value. The framework claims clear added value through unified interfaces, scheduling, client communication, and provider integrations. Users still need server and provider credentials, and some examples use hosted inference; the packet does not quantify resource, API, or operating costs, so cost-benefit does not receive full marks.
README claims are supported in part by examples, architecture guidance, and configuration materials; test files show behavioral assertions and judge-based evaluations, while AGENTS.md and pyproject.toml corroborate test categories. Static materials do not establish that tests passed, and the eval tests explicitly depend on live models and can vary. Some product capabilities are presented only in summaries or external documentation links. Claims and evidence are generally distinguishable, but there is no item-by-item source mapping.
- Examples involve voice, transcription, model inference, and telephony; review the data-retention and permission settings of the specific plugins, server, and providers before deployment, since the packet does not provide a complete governance account.
- The plugin download utility imports installed plugins and invokes their download logic; the packet does not describe verification of downloaded files or their sources.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
First-token timeout for LLM fallbacks You can now fail over when a provider keeps a connection alive without producing text or a tool call. first_token_timeout limits the wait for useful output, including recovery probes; it is disabled by default. ```python llm.FallbackAdapter([primary, fallback], first_token_timeout=4.0) ``` Audio input for decision models You can now evaluate decisions from audio, capturing signals a transcript misses, such as tone or frustration. Hume’s new DecisionModel supports recordings from 5 seconds to 5 minutes. ```python …View on GitHub ↗ -
Release notes excerpt
Multi-turn answering-machine detection You can now follow calls across screeners, voicemail, IVR menus, and hold queues, replying only when the stage needs it. Disable a stage’s reply by setting its instructions to None. ```python async with AMD(session, voicemail_instructions=None) as detector: result = await detector.execute() ``` For more on AMD and migration, see [Docs](https://docs.livekit.io/telephony/features/answering-machine-detection/) Decision-model fallback You can fall back within LiveKit Inference or across providers when a decision request fails. ```python …View on GitHub ↗ -
Release notes excerpt
New providers and models - VLM Run: new livekit-plugins-vlmrun plugin for vision-language chat and System One decisions, including qwen/qwen3.8-27b. - AssemblyAI STT 3.7 Realtime Agent: supported through LiveKit Inference as assemblyai/assemblyai-stt-3-7-realtime-agent. - Sarvam: STTRealtime now supports saaras:v4. Breaking changes - Boson AI: replace livekit-plugins-boson with livekit-plugins-boson-ai, import livekit.plugins.boson_ai, and change the [boson] extra to [boson-ai]. The avatar plugin is unchanged. …View on GitHub ↗
FAQ
How do I get started?
Which speech models are supported?
Can I use it for phone calls?
Is the framework open-source?
How can I test my agent?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.