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

At a glance

How it runs
CLIFrameworkSelf-hosted service
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
PythonpipLiveKit Cloud or self-hosted serverShell / CLINetwork accessLocal filesystem
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).

  1. Developers quickly building WebRTC voice assistants for customer service or virtual assistants.
  2. Interactive voice response systems, e.g., phone bots via SIP integration.
  3. Multi-agent workflows where one agent collects info then hands off to another.
  4. Scenarios requiring structured output from the LLM to guide TTS tone.
  5. Integrating MCP tools to interact with external systems.
  6. 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_URL LIVEKIT_API_KEY LIVEKIT_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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Some gaps
66/ 100 5-point scale 3.3 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 4 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 12/29
Reliability 9/14
Adaptability 14/18
Convention 14/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

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.

Reliability9 / 14 · 3.2/5

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.

Adaptability14 / 18 · 3.9/5

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.

Convention14 / 18 · 3.9/5

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.

Effectiveness12 / 13 · 4.6/5

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.

Verifiability5 / 8 · 3.1/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 1e352e413a24 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/livekit-agents.svg)](https://followagents.com/en/agents/livekit-agents)
<a href="https://followagents.com/en/agents/livekit-agents"><img src="https://followagents.com/badge/livekit-agents.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. [email protected]
    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 ↗
  2. [email protected]
    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 ↗
  3. [email protected]
    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?
Install the library, set LiveKit environment variables, and run an example script.
Which speech models are supported?
It supports Deepgram, OpenAI, Cartesia, and more via plugins or LiveKit Inference.
Can I use it for phone calls?
Yes, through LiveKit's SIP integration.
Is the framework open-source?
Yes, fully open-source under Apache-2.0.
How can I test my agent?
Use the built-in test framework with LLM judges.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts