livekit-agents
A powerful framework for building realtime voice AI agents
What it is and what it does
LiveKit Agents is a Python framework for building production-grade AI agents that operate in realtime audio and video environments. It integrates with LiveKit rooms (a WebRTC infrastructure) to connect agents to live participants, handle multimodal input, and orchestrate responses through language models like openai. The framework abstracts away the complexity of managing async I/O, protocol buffers, and agent lifecycle, letting you focus on defining agent behavior through instructions and callbacks.
The package ships with 31 runtime dependencies spanning async HTTP clients, audio/video codecs (av), LLM integrations (openai), observability (opentelemetry-api, opentelemetry-exporter-otlp, opentelemetry-sdk), and LiveKit's own protocol and inference libraries. It targets Python 3.10–3.14 and is designed for scenarios where agents need to respond to live voice or video in a room, making it suitable for customer support bots, meeting assistants, or interactive voice applications.
Use it for:
- Build a voice assistant that joins a LiveKit room and responds to participant speech in real time
- Create a multimodal agent that processes both audio and video feeds to understand context and generate responses
- Deploy a customer support bot that handles live calls or video meetings with AI-driven conversation
- Integrate openai's Realtime API into a LiveKit application for low-latency voice interactions
- Monitor and observe agent behavior using opentelemetry-api and prometheus-client in production
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A framework for building realtime multimodal and voice AI agents that connect to LiveKit rooms and handle audio/video interactions with language models.
Yes. The package is actively maintained with no known vulnerabilities, uses a permissive Apache-2.0 license, and installs with low friction. It is well-positioned for production voice and video AI agents if you are building realtime AI applications. The large dependency footprint (31 packages) is justified by the breadth of functionality; verify compatibility with your environment before committing.
Install
livekit-agents on PyPI
pip
pip install livekit-agentsuv
uv add livekit-agentspoetry
poetry add livekit-agentsInstalling livekit-agents
Before you install
Low friction installation with a pure-Python wheel. The package is actively maintained with a recent release and 13002 repository stars, indicating a mature project with community adoption.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production deployments.
Quickstart
pip install livekit-agents
from livekit import agents
from livekit.agents import AgentSession, Agent
from livekit.plugins import openai
async def entrypoint(ctx: agents.JobContext):
await ctx.connect()
session = AgentSession(llm=openai.realtime.RealtimeModel(voice="coral"))
await session.start(room=ctx.room, agent=Agent(instructions="You are a helpful voice AI assistant."))
agents.cli.run_app(agents.WorkerOptions(entrypoint_fnc=entrypoint))
Requires Python 3.10 or later; LiveKit server and credentials must be configured via environment variables.
Verify before relying
- Whether livekit-local-inference and livekit-blingfire are optional or required for all use cases
- Performance characteristics and latency guarantees for realtime interactions
- Compatibility of the 31 runtime dependencies with your existing environment
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<3.15,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 31 — aiofiles, aiohttp, av, certifi, click, colorama, docstring-parser, eval-type-backport, json-repair, livekit-api, livekit-blingfire, livekit-local-inference, livekit-protocol, livekit, nest-asyncio, numpy, openai, opentelemetry-api, opentelemetry-exporter-otlp, opentelemetry-sdk, prometheus-client, protobuf, psutil, pydantic, pyjwt, pyyaml, sounddevice, typer, types-protobuf, typing-extensions |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,478,869/month — #2,294 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: livekit_agents-1.6.10-py3-none-any.whl
Keywords: AI, agents, audio, livekit, realtime, video, webrtc
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
livekit-plugins-anamAnam plugin for the LiveKit Agents framework…
permissive · top 15,000 on PyPI
daily-pythonA Python SDK for building video and audio…
permissive · top 15,000 on PyPI
lance-contextProvides Python bindings for multimodal,…
permissive · top 15,000 on PyPI
livekit-plugins-assemblyaiIntegrates AssemblyAI speech-to-text into the…
permissive · top 15,000 on PyPI
livekit-protocolProvides Python protocol stubs and type…
permissive · top 5,000 on PyPI
livekit-apiGenerate access tokens and call LiveKit server…
permissive · top 5,000 on PyPI
livekitPython SDK for building real-time video, audio,…
permissive · top 5,000 on PyPI
livekit-plugins-rimeIntegrates Rime speech recognition into…
permissive · top 15,000 on PyPI
livekit-plugins-anthropicIntegrates Anthropic's Claude models into…
permissive · top 5,000 on PyPI
livekit-plugins-xaiIntegrates xAI's Grok LLM with LiveKit's Agent…
permissive · top 15,000 on PyPI