← all repositories
livekit/agents

A server framework for voice AI that knows when to stop talking

It provides the server-side scaffolding to turn LLM API calls into realtime, multi-modal voice and video participants over WebRTC or the phone.

12.8k stars Python Agents
agents
Velocity · 7d
+165
★ / day
Trend
accelerating
star history

What it does

LiveKit Agents is a Python framework for building server-side conversational agents. It wraps speech-to-text, LLM, text-to-speech, and realtime APIs into a managed runtime that handles WebRTC sessions, telephony, job dispatch, and multi-agent handoffs. You define an Agent with instructions and tools, drop it into an AgentSession, and the framework handles the media plumbing.

The interesting bit

The framework treats conversation as an event loop that needs etiquette: it ships a transformer-based semantic turn detector to stop your bot from jumping in too early. It also bakes in a testing harness where you can chain expect assertions and even use an LLM as a judge to check if the agent’s intent was correct, which is a rare admission that voice AI needs unit tests too.

Key highlights

  • Mix-and-match STT, LLM, TTS, and realtime APIs via plugins or a unified inference gateway.
  • Built-in job scheduling and telephony integration for actual phone calls.
  • Semantic turn detection to keep the bot from interrupting mid-thought.
  • Native MCP support and a built-in test framework with LLM judges.
  • Open-source stack, including the underlying WebRTC media server.

Verdict

Worth a look if you are building production voice or video AI that needs to handle real calls, multi-user rooms, or agent handoffs. Skip it if you just need a quick CLI wrapper around an OpenAI realtime API; this is an infrastructure-heavy framework for server deployments.

Frequently asked

What is livekit/agents?
It provides the server-side scaffolding to turn LLM API calls into realtime, multi-modal voice and video participants over WebRTC or the phone.
Is agents open source?
Yes — livekit/agents is open source, released under the Apache-2.0 license.
What language is agents written in?
livekit/agents is primarily written in Python.
How popular is agents?
livekit/agents has 12.8k stars on GitHub and is currently accelerating.
Where can I find agents?
livekit/agents is on GitHub at https://github.com/livekit/agents.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.