What is LiveKit Agents?
Voice agents stopped being demos: support lines, intake calls, tutoring, companions. The LiveKit Agents framework is what most of them run on - a Python worker that joins rooms, listens via Deepgram, thinks via any OpenAI-compatible LLM, and speaks via ElevenLabs.
The deployment shape could not be friendlier to this platform: the worker connects OUTBOUND to your LiveKit server and receives jobs - no ingress, no public port. CPU is plenty; only voice-activity detection runs locally, everything heavy is an API call.
This template builds LiveKit’s official Python starter as a working baseline and is marked experimental for an honest reason: a real product forks the starter to define its own agent - the template’s build context is the line you change.
What you get
- Full voice pipeline: Deepgram STT, LLM, ElevenLabs TTS, interruption handling
- Outbound-only worker - no ingress, scale with replicas
- CPU-only: the heavy lifting happens at your providers
- OpenAI-compatible LLM slot - the litellm template plugs in
- Official starter as the baseline; fork-and-point to customize
- Graceful drain on redeploys (conversations finish)
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
agent | voice agent worker (outbound to LiveKit) | no - no ingress needed |
Before you deploy
LIVEKIT_URL / LIVEKIT_API_KEY / LIVEKIT_API_SECRETws://livekit:5000 in-project, or LiveKit Cloud
ELEVEN_API_KEY / DEEPGRAM_API_KEY / OPENAI_API_KEYthe providers your pipeline uses - billed to you
Sizing and billing
One 2 GiB worker handles a handful of concurrent conversations; replicas share the job queue. The real bill is provider usage - cap it at the keys.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. One workspace can use both. See pricing
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
What does a complete self-hosted voice stack look like here?
livekit (the WebRTC server) + this worker + litellm (LLM gateway with budgets) in one project. Audio flows through your server, the agent reasons through your gateway, and the only external spend is the STT/TTS/LLM APIs you chose.
Why is it experimental?
Because the starter agent is a baseline, not your product: real deployments fork agent-starter-python, change the prompt/tools/pipeline, and point this template’s build context at the fork. The infrastructure shape is solid; the agent code is meant to be yours.
Can it use voices other than ElevenLabs?
Yes - the framework has plugins for Cartesia, OpenAI TTS, PlayHT and more; swap the pipeline in your fork and set the matching key. Same for STT and LLM legs.