
Framework LiveKit
LiveKit Agents
LiveKit's open-source framework for real-time voice and multimodal agents in Python and Node.js, with telephony.
What it is
LiveKit Agents is an open-source framework for building realtime, programmable participants that run on servers, such as voice agents that can see, hear and talk. You mix and match STT, LLM, TTS and realtime model plugins, and the framework handles job scheduling, dispatch to users, semantic turn detection and data exchange with clients. It works with LiveKit's WebRTC client SDKs and telephony stack, and the whole stack, including LiveKit server, can be self-hosted or run on LiveKit Cloud. A separate library covers Node.js.
What it's useful for
Building a voice agent that answers phone calls, looks up information with tools, and hands off between agents, running on your own servers or LiveKit Cloud.
Key features
- Plugins for STT, LLM, TTS and realtime APIs
- Job scheduling and dispatch APIs to connect users to agents
- Telephony integration for inbound and outbound calls
- Semantic turn detection model to reduce interruptions
- Native MCP support for tools
- Built-in test framework with judges
How to use it
Before you start
- LiveKit Cloud project or self-hosted LiveKit server
pip install "livekit-agents[openai,deepgram,cartesia]"Commands are copied from the official documentation. Check the docs for the latest version before running them.
Limitations to know
- Needs a LiveKit server, self-hosted or LiveKit Cloud
- LiveKit Cloud's free Build plan includes 1,000 agent session minutes; higher usage needs a paid plan
Alternatives
Open-source Python framework for real-time voice and multimodal AI agents, with client SDKs and an optional cloud.
Open-source Python framework for multi-agent automation using role-based Crews and event-driven Flows.
Pydantic's typed Python framework for agents, with model fallback, durable execution, evals and a harness.
Open-source Python framework and runtime (AgentOS) for agents, teams and workflows served as APIs and MCP servers.
Related resources
Google's collection of small runnable agents built with Agent Development Kit (formerly ADK Samples), in Python, TypeScript, Go, Java and Kotlin.
Speech-to-text API for pre-recorded and streaming audio (AssemblyAI-STT-3.7), with speech understanding, guardrails and an LLM Gateway.
Real-time voice API: Sonic text-to-speech, Ink speech-to-text, voice cloning and Managed Agents for voice agents.
Anthropic's REST API for Claude models, with official SDKs in Python, TypeScript, Go, Java, C#, PHP and Ruby.