LiveKit Agents

Framework for building realtime voice AI agents.

Working when we checked on .

Visit LiveKit Agents

What is LiveKit Agents?

LiveKit Agents is an open-source Python framework for building realtime, programmable voice AI participants that run on servers. It is aimed at developers creating conversational, multi-modal agents that can see, hear, and understand users. The framework supports mixing and matching STT, LLM, TTS, and Realtime APIs from popular providers, includes built-in job scheduling and dispatch APIs, and integrates with LiveKit's telephony stack so agents can make and receive phone calls. It also offers semantic turn detection using a transformer model, native MCP tool integration, a builtin test framework, and open-source WebRTC clients for all major platforms.

LiveKit Agents pricing

Pricing model: Freemium

Open source (free)

LiveKit Agents pros

  • Open-source; the entire stack including LiveKit server can run on your own servers
  • Mix and match STT, LLM, TTS, and Realtime APIs from popular providers
  • Built-in job scheduling and dispatch APIs connect end users to agents
  • Telephony integration lets agents make and receive phone calls via LiveKit's SIP stack
  • Semantic turn detection with a transformer model helps reduce interruptions
  • Installs via pip, e.g. pip install "livekit-agents[openai,deepgram,cartesia]"

LiveKit Agents cons

  • Python framework only; JS/TS users need the separate AgentsJS library
  • Core telephony and dispatch features depend on LiveKit's own server and SIP stack
  • No pricing or commercial support details for the framework are provided in the sources

Frequently asked questions about LiveKit Agents

What is LiveKit Agents?

It is a framework for building realtime, programmable participants that run on servers, used to create conversational, multi-modal voice agents that can see, hear, and understand users.

Who is LiveKit Agents for?

It is for developers building realtime voice AI agents, including applications that need WebRTC clients, phone calls, or integration of STT, LLM, and TTS providers.

How do I install LiveKit Agents?

Install the core library with plugins for popular model providers using pip, for example: pip install "livekit-agents[openai,deepgram,cartesia]".

Can agents make or receive phone calls?

Yes. The framework works with LiveKit's telephony stack (SIP), allowing agents to make calls to or receive calls from phones.

Does it support tool integrations like MCP?

Yes, it has native MCP support, letting you integrate tools provided by MCP servers with one line of code.

Is there a JavaScript or TypeScript version?

Yes. The JS/TS library is a separate repository called AgentsJS at github.com/livekit/agents-js.

Can the whole stack be self-hosted?

Yes. It is fully open-source, so the entire stack including the LiveKit WebRTC server can run on your own servers.

How does it handle turn-taking in conversations?

It uses a transformer model for semantic turn detection to determine when a user has finished their turn, which helps reduce interruptions.

Is there support for testing agents?

Yes, the framework includes a builtin test framework where you can write tests and use judges to verify agent performance.

How do agents exchange data with client applications?

Agents can use RPCs and other Data APIs to exchange data with clients, and client apps can be built with LiveKit's open-source SDK ecosystem supporting all major platforms.

Categories

Use cases

Alternatives to LiveKit Agents

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z