Blog: LiveKit AI Agent Development: Complete Guide to Architecture, Costs, and Implementation

Key takeaways

• A LiveKit voice agent is a worker-based pipeline that glues WebRTC to STT, an LLM and TTS. In 2026 it is the most provider-flexible way to ship real-time voice AI: mix Deepgram, Claude or GPT, ElevenLabs or Cartesia, and swap any provider in one config line.

• Realistic all-in cost is $0.04–$0.13 per agent-minute in October 2026 when you assemble the stack yourself: about $0.05 with Cartesia-class voices, about $0.09 with premium ElevenLabs-class voices. TTS dominates the bill; LiveKit Cloud itself is roughly 10–25% of the total.

• Latency budget: under 800ms time-to-first-audio on a cascading stack. VAD 50ms + STT 150ms + LLM TTFT 400ms + TTS 150ms + network 50ms. If one stage overruns, the agent feels sluggish. Speech-to-speech models get you under 300ms if you can live with one vendor.

• Realtime APIs (OpenAI gpt-realtime-2.1, Gemini 3.8 Live, Amazon Nova 2.5 Sonic) beat cascading stacks on latency but lock you to one provider. Use them when speed matters more than swap-ability; use LiveKit Agents when cost control and provider choice matter.

• Compliance is architecture, not paperwork. TCPA consent capture, HIPAA BAAs with every provider (LiveKit signs one on the Scale plan or higher), PCI DTMF masking and STIR/SHAKEN on US outbound all go in on day one. Since 2 August 2026, EU callers must also be told they are talking to an AI (EU AI Act Article 50).

Updated November 2026: livekit-agents 1.8.13 and the 2.0.0b2 beta, LiveKit Turn Detector v1.1 benchmarks, OpenAI GPT-Live-1 and the January 2027 gpt-realtime shutdown, Gemini 3.8 Live, plus new answers on LiveKit security and showing when the agent is speaking.

Why Fora Soft wrote this playbook

Fora Soft has shipped WebRTC voice and video products since 2005, and LiveKit-based products since the framework matured: 250+ projects, 50+ in-house specialists, one narrow specialty. Our LiveKit development team and our AI integration service list the full scope. This guide is the short version of what we tell teams on a 30-minute scoping call.

We ship with Agent Engineering: senior engineers drive AI coding agents through design, dispatch, prompt work and QA. On voice-agent projects that turns a classical 12–16 week MVP into 6–8 weeks with a smaller team. We have used it on products with real concurrency, including our work on Scholarly, where LiveKit backs live classes of up to 2,000 concurrent students.

Teams ask us four questions, usually in this order: what is a LiveKit voice agent today, how do you architect one, what does it cost, and when should you pick something else. This article answers them in that order. By the end, the debate should move from framework brands to the three things that decide the project: latency, cost and compliance.

Planning a LiveKit voice agent?

Book a 30-minute scoping call. We'll map your call pattern to the right STT, LLM, TTS and telephony stack, no upsell.

Book a 30-min call → WhatsApp → Email us →

What a LiveKit voice agent actually is

A LiveKit voice agent is a real-time AI program that joins a WebRTC room, listens to a caller and talks back. It is built with LiveKit Agents, an open-source Python and Node.js framework for voice, video and multimodal agents. The framework is Apache-2.0 licensed, and its workers connect to the LiveKit media server, the same SFU you might already use for video calls. It went 1.0 in April 2025; as of 25 November 2026 the stable Python release is livekit-agents 1.8.13 (18 November 2026), and the second 2.0 beta (2.0.0b2) shipped the same day, according to PyPI. Agents 2.0 is still a pre-release, so production builds stay on 1.8.x. The 1.x line added adaptive interruption handling, native Model Context Protocol (MCP) tools and, in 1.6 (June 2026), asynchronous tools with filler speech for slow tool calls. LiveKit itself raised a $100M Series C at a $1B valuation in January 2026, so the company behind the framework has money to keep building it.

The job is easy to describe and hard to do well. Take a WebRTC audio stream, pass it through a pluggable pipeline of VAD → STT → LLM (with tools) → TTS → playback, and handle the ugly edge cases (interruptions, turn detection, dropouts, phone handoff). LiveKit provides the WebRTC transport, the worker runtime and the plugin interfaces; you bring the business logic.

Why it matters: other voice-agent platforms either tie you to one LLM/TTS vendor (OpenAI Realtime, Gemini Live) or add a proprietary platform fee on top of provider cost (Vapi, Bland, Retell to a lesser degree). LiveKit Agents keeps the provider stack open and the infrastructure layer thin. For the platform reference behind this article, our LiveKit for AI agents guide in Learn covers the SDK surface in more depth.

Reference architecture: worker, dispatch, pipeline

Every production LiveKit voice agent has four moving parts:

  • LiveKit Server or LiveKit Cloud. The WebRTC SFU. Handles signaling, ICE/DTLS/SRTP, track routing and room lifecycle.
  • Agent worker. A long-running process (Python or Node) that registers with the server and waits to be dispatched into rooms. One worker can run many agents in parallel.
  • Agent pipeline. A state machine inside the worker: VAD watches for speech, STT transcribes, the LLM reasons with optional tool calls, TTS synthesizes, and the framework publishes audio back into the room.
  • Providers. STT (Deepgram, Whisper, Azure, Google), LLM (OpenAI, Anthropic, Google, open-source via Fireworks or Together), TTS (ElevenLabs, Cartesia, Google, Azure, Deepgram).

Dispatch comes in three flavours. Automatic dispatch starts an agent in every new room, which suits products where the agent is always present. Explicit dispatch (via token metadata or the AgentDispatchService API) lets you choose which agent joins which room and pass user context in with it. Entrypoint jobs run agent logic outside a room: batch transcription, scheduled outbound calls, cleanup tasks.

LiveKit voice agent architecture: caller over WebRTC into SFU, worker dispatch, VAD-STT-LLM-TTS pipeline

Figure 1. How a LiveKit voice agent is wired: the caller joins over WebRTC, the server dispatches a worker, and the worker runs the VAD → STT → LLM → TTS loop.

How to build a LiveKit voice agent: the AgentSession loop

Every build starts from one primitive: AgentSession. In the 1.0 release it replaced the older VoicePipelineAgent and MultimodalAgent classes with a single orchestrator. You declare STT, LLM, TTS and turn handling as pluggable components, register your tool functions, and the SDK handles streaming, turn detection and interruptions. A working cascading agent on the current 1.8 API (the AgentServer pattern from the official quickstart, October 2026) takes about twenty lines:

from livekit import agents
from livekit.agents import AgentServer, AgentSession, Agent, inference, TurnHandlingOptions

class Assistant(Agent):
    def __init__(self) -> None:
        super().__init__(instructions="You are a phone assistant. Keep replies short.")

server = AgentServer()

@server.rtc_session(agent_name="phone-agent")  # named agent = explicit dispatch
async def phone_agent(ctx: agents.JobContext):
    session = AgentSession(
        stt=inference.STT(model="deepgram/nova-3", language="en"),  # swap provider in one line
        llm=inference.LLM(model="openai/gpt-4.1-mini"),
        tts=inference.TTS(model="cartesia/sonic-3", voice="VOICE_ID"),
        turn_handling=TurnHandlingOptions(turn_detection=inference.TurnDetector()),
    )
    await session.start(room=ctx.room, agent=Assistant())

if __name__ == "__main__":
    agents.cli.run_app(server)

Swapping Cartesia for ElevenLabs, or GPT for Claude, is a one-line change, and that is the main reason teams pick the framework over a locked platform. Run it locally with lk agent dev and deploy to LiveKit Cloud with lk agent create; the old script-level console and dev modes were deprecated in 1.6.8. Turn detection: LiveKit's Turn Detector v1.1 (20 November 2026) supports 14 languages and runs at no cost for agents deployed on LiveKit Cloud. Self-hosted agents that call it through LiveKit Inference pay $0.50 per 1,000 requests on Ship and Scale, and the open-weight v1.1-mini runs locally on CPU for free. The older text-based turn detector is deprecated and slated for removal in Agents 2.0. To go multimodal, pass a speech-to-speech model (OpenAI Realtime, Gemini Live) into the same AgentSession instead of the STT/LLM/TTS trio. For a full build-and-deploy walkthrough (workers, deployment, scaling), see our LiveKit AI voice agents playbook; this guide sticks to architecture, cost and the choice between LiveKit and the alternatives.

How does the app show that the agent is speaking? The agent publishes its state in the lk.agent.state participant attribute: listening, thinking, speaking and a few connection states. In React, the useAgent hook from @livekit/components-react exposes it as agent.state, so a speaking indicator is a check for speaking; Swift and Android SDKs expose the same state (LiveKit docs, November 2026).

LiveKit Cloud vs self-hosted LiveKit Server

Both run the same open-source server; what differs is who runs operations. Under roughly 500k monthly agent-minutes, LiveKit Cloud is cheaper once you count the DevOps you would otherwise hire. Past that, self-hosting on Kubernetes starts to win.

Dimension LiveKit Cloud Self-hosted
Unit economics $0.01/agent-min above the plan quota, $0.10–0.12/GB egress (2026 list) Infra cost only; no per-min fee
Latency Global edge, in-region routing Depends on your region strategy
Ops burden Zero — managed K8s, monitoring, failover, scaling
Recording & composition Built in (Egress) Deploy Egress service yourself
Turn detector inference Free on Cloud inference You host the model
Break-even Up to ~500k monthly agent-min Cheaper past that — if you have DevOps

Which LiveKit Cloud plan fits a voice agent? As of November 2026, Build is free with 1,000 agent session minutes and 5 concurrent agent sessions; Ship starts at $50/month with 5,000 minutes and 20 concurrent sessions; Scale starts at $500/month with 50,000 minutes, up to 600 concurrent sessions and the HIPAA BAA; overage on both paid plans is $0.01 per agent session minute (LiveKit pricing page). For the full plan-by-plan breakdown and the Agora comparison, see our LiveKit pricing by plan guide.

Reach for LiveKit Cloud when: you are under 500,000 monthly agent-minutes, have no dedicated WebRTC DevOps, or want to ship a pilot in weeks. Self-host only past that volume, or when regulatory data residency forces on-prem.

Realtime APIs vs cascading STT→LLM→TTS

Two architectural camps split the voice-agent world, and your choice sets both the latency floor and the degree of vendor lock-in.

Native realtime (OpenAI gpt-realtime-2.1, Gemini 3.8 Live, Amazon Nova 2.5 Sonic). One model takes audio in and emits audio out. Time-to-first-audio can drop below 300ms and the voices sound excellent. The cost is lock-in: one vendor, one voice family, and per-token billing that is hard to predict at scale. OpenAI's gpt-realtime-2.1 (July 2026) lists $32 per 1M audio input tokens and $64 per 1M audio output tokens, roughly $0.06–$0.11 per minute with caching (see our OpenAI Realtime API pricing breakdown). Amazon Nova 2.5 Sonic went GA on Bedrock on 5 October 2026 in four regions and seven languages.

What changed in November 2026. OpenAI shuts down the older gpt-realtime and gpt-4o-realtime snapshots on 20 January 2027, so new builds should target gpt-realtime-2.1 or gpt-realtime-2.1-mini ($10 per 1M audio input tokens, $20 per 1M output). OpenAI also sells GPT-Live-1 (API since 10 September 2026) at $0.05 per session minute plus the backend model, and LiveKit Agents 1.8.13 already ships a GPT-Live turn-ending fix. Google made Gemini 3.8 Live its default Live API model ($3 per 1M audio input tokens, $12 per 1M output) and retired the Gemini 2.5 and 3.1 Live previews on 17 November 2026; agents pinned to those model IDs need a config change.

Cascading pipelines (LiveKit Agents, Pipecat). You wire VAD, STT, LLM and TTS yourself from best-of-breed providers. After tuning, time-to-first-audio usually lands at 500–800ms, sometimes lower with streaming TTS. In return you get provider swaps in a single config change, fine-grained cost control, and richer tool-calling and retrieval.

LiveKit Agents supports both: the same AgentSession works with cascading providers and with OpenAI Realtime or Gemini Live as drop-in alternatives. That flexibility is the biggest reason we default to LiveKit on multi-tenant products.

Reach for a speech-to-speech model when: sub-300ms feel is a hard product requirement, one vendor is acceptable, and your dialog is mostly conversation with few tool calls. Stay cascading when you need to swap providers, run retrieval, or keep per-minute cost under tight control.

Cost model: $/minute for a real voice agent

A cascading LiveKit voice agent costs $0.04–$0.13 per agent-minute all-in in October 2026 once you add up every provider: about $0.05 on a lean Cartesia or Inworld voice stack, about $0.09 with premium ElevenLabs-class voices. TTS is almost always the biggest line, and LiveKit Cloud and STT are the smallest. The prices below are pay-as-you-go list rates from vendor pricing pages, checked in October 2026.

Component Provider (example) Typical $/min Notes
STT Deepgram Nova-3 $0.0048–$0.0077 Streaming: $0.0048 promo vs $0.0077 regular (Deepgram, Oct 2026); $0.0048 on LiveKit Inference
LLM GPT-4.1 mini / Claude / Gemini $0.002–$0.015 ~200 in / 100 out tokens per turn; GPT-4.1 mini lists at $0.0015/min on LiveKit Inference
TTS Inworld / Cartesia / ElevenLabs $0.015–$0.08 Cartesia Sonic 3 is $0.03/min on LiveKit Inference (Ship); ElevenLabs conversational voices $0.04–$0.08 (Retell list). Tune here first
LiveKit Cloud Agent session minute ~$0.010 $0.01/min above plan quota (Ship: 5,000 min in $50); plus egress on recording
SIP / telephony LiveKit SIP, Twilio, Telnyx $0.004–$0.020 LiveKit: $0.004/min third-party SIP, $0.01/min US inbound (Ship); carrier minutes extra
Total, typical Mixed best-of-breed $0.04–$0.13 All-in per agent-minute
LiveKit voice agent cost: about $0.09/min with premium TTS, TTS is the largest line, LiveKit Cloud 10-25% of the bill

Figure 2. Premium-voice scenario (ElevenLabs-class TTS at ~$0.05/min): where the money goes per agent-minute, and how a monthly bill scales from 10k to 100k minutes. A lean Cartesia or Inworld stack lands nearer $0.05/min. TTS is the line to tune first.

Worked example: 10,000 agent-minutes/month. Lean stack on the Ship plan: STT $0.0048 (Nova-3) + LLM $0.004 + TTS $0.03 (Cartesia Sonic 3) + LiveKit $0.010 + SIP $0.004 ≈ $0.053/min, about $530 a month. Premium stack (Figure 2): STT $0.008 + LLM $0.010 + ElevenLabs-class TTS $0.05 + LiveKit $0.010 + carrier SIP $0.012 ≈ $0.090/min, about $900 for the same 10,000 minutes. The LiveKit line averages $0.010/min either way: $50 for the Ship plan with 5,000 minutes, plus 5,000 overage minutes at $0.01. That volume is typical for a seed-stage support bot or an outbound pilot.

100,000 agent-minutes/month. On the Scale plan ($500 with 50,000 minutes included, plus Scale-tier Inference prices such as $0.0225/min for Cartesia Sonic 3 and $0.0042/min for Nova-3) the lean stack lands around $4,000–$5,000; the premium-voice stack lands around $6,000–$8,000. TTS dominates; LiveKit is 10–25% of the bill. For per-minute economics on the underlying media platform, see our LiveKit vs Agora cost analysis.

LiveKit alternatives: Vapi, Retell, Bland, Pipecat, Nova Sonic

Which platform to pick depends on what you are buying: speed to a pilot, or cost and control. Advertised per-minute rates cover the platform fee only, and the real bill adds LLM tokens, premium voices and telephony. We checked the rates below on vendor pricing pages in October 2026.

Platform Model $/min (2026) Best for Watch out for
LiveKit Agents Framework, BYO providers $0.04–$0.13 all-in Custom pipelines, multi-vendor Requires engineering
Vapi Platform + BYO providers $0.05 fee, $0.10–0.30 loaded Fast no-code pilots Real cost 2–5× the sticker; HIPAA is a paid add-on
Retell AI Platform, transparent $0.07–$0.31 Clean SaaS voice bot $0.055/min infra + voice ($0.015–$0.10) + LLM + $0.015 telephony; 20 concurrent calls free, then $8/month each
Bland AI Platform, outbound-first $0.11–$0.14 High-volume outbound calls Plan-based since 5 Dec 2025 ($0.14 Start, $0.12 on the $299/mo plan); less flexible LLM wiring
Pipecat Open-source framework OSS free; Cloud from $0.01/active min Self-hosted, full control You own all the ops
Twilio ConversationRelay Telecom platform, BYO LLM $0.07 + voice minutes + LLM Deep Twilio ecosystem Voice minutes billed separately; you own the LLM
Amazon Nova 2.5 Sonic AWS speech-to-speech Per-token on Bedrock (same price as Nova 2 Sonic) AWS-native stacks One vendor; GA 5 Oct 2026 in 4 regions, 7 languages
Decision guide: speech-to-speech model, no-code platform, self-hosted LiveKit, or LiveKit Agents on LiveKit Cloud by default

Figure 3. A one-glance decision guide: latency need, provider control and in-house engineering decide between a realtime model, LiveKit Agents, and a no-code platform.

Already live on Vapi or Retell and watching the per-minute bill climb? Our Vapi and Retell migration service rebuilds the same agent on LiveKit and SIP, so you own the media path, the transcripts and every provider contract instead of paying a platform fee on each minute.

For broader context on the WebRTC topology behind all of these, see our WebRTC architecture guide and the P2P vs MCU vs SFU explainer. The reference SDK details live in the LiveKit Agents docs.

Need a second opinion on LiveKit vs Vapi or Retell?

30 minutes with senior engineers who have shipped all three in production. Bring the use case, we bring the numbers.

Book a 30-min call → WhatsApp → Email us →

Use cases where a LiveKit voice agent earns its seat

  • Inbound support triage. Answer, collect intent, hand to a human with full context.
  • Outbound calling campaigns. Appointment reminders, surveys, collections, always with TCPA consent and STIR/SHAKEN on US calls.
  • AI interviewer. First-round recruiting screens, structured prompts, consistent scoring.
  • Voice assistant inside SaaS. A voice control surface in your web product for helpdesk, analytics or search.
  • Live translation and captioning. Cascade STT + NMT + TTS for bilingual calls; we cover similar architecture in our video translation guide.
  • Tutoring voice companion. Pair with RAG on course content; see our smart tutoring systems guide.
  • Healthcare intake and scheduling. HIPAA-compliant, with BAA coverage on every provider.

Latency budget and turn detection

Target time-to-first-audio is under 800ms on a cascading stack. Split that into a budget and hold every stage to its share: callers notice lag at around one second, and above 1.5s they talk over the bot or hang up. On phone calls, add another 100–300ms for the SIP trunk on top of these stages.

  • VAD — ~50ms. Silero or WebRTC VAD.
  • STT — ~150ms with streaming partials.
  • LLM time-to-first-token: ~400ms. This stage is the hardest to shrink, so keep system prompts short and use smaller models for simple tasks.
  • TTS: ~150ms with first-chunk streaming (Cartesia, ElevenLabs).
  • Network — ~50ms on good networks.
Voice agent latency budget: VAD 50 + STT 150 + LLM 400 + TTS 150 + network 50 = under 800ms time-to-first-audio

Figure 4. The 800ms time-to-first-audio budget, stage by stage. The LLM's first token is the stage that eats the budget.

Turn detection is where voice bots start to sound robotic. Default VAD-only endpointing leaves a 200–500ms silence tail. LiveKit's Turn Detector v1.1 (November 2026) shortens it: the model reads the caller's audio together with the agent's last message, covers English and 13 other languages, runs free for agents hosted on LiveKit Cloud, and in LiveKit's English benchmark ends turns 15–34% sooner than v1 at the same false-interruption rate (414ms instead of 632ms at a 10% budget). Enable it through the session’s turn handling options, as in the code above. Keep it on for high-interaction products; VAD-only is fine for one-shot IVRs.

Interruptions need special handling. Plain VAD cuts the bot off mid-word too often. LiveKit's adaptive interruption handling separates “user wants to interrupt” from “user coughed”. Turn it on; callers notice the difference.

Reach for model-based turn detection when: your agent is conversational and users interrupt, back-channel (“mm-hmm”) or pause mid-sentence. Stick with VAD-only for rigid, one-question-at-a-time IVR flows where the extra inference isn't worth it.

Telephony and SIP integration

Most voice-agent products ship on WebRTC first and the PSTN second. LiveKit has a first-class SIP bridge: your agent runs on WebRTC internally, and one side of the room is a SIP participant from Twilio, Telnyx or a similar trunk.

Three practical points. First, SIP trunk latency can add 100–300ms, so pick a carrier with well-peered points in your target regions. Second, DTMF handling needs to be explicit (RFC 4733, formerly RFC 2833, vs SIP INFO) and tested with every carrier. Third, US outbound requires STIR/SHAKEN attestation: make sure your trunk signs your calls at Level A (full attestation), or far-end carriers will label them “Spam Likely” and drop them.

Don't want to run your own trunk for a pilot? LiveKit now sells US phone numbers directly: on the Ship plan one US local number is free, extra numbers are $1.00/month, inbound minutes are $0.01/min, and third-party SIP minutes are $0.004/min beyond the 5,000 included (LiveKit pricing, November 2026). For production call flows with CRM lookups, warm transfer and outbound campaigns, our AI call agent development team builds the SIP, consent and transfer logic around the agent.

Reach for a dedicated SIP carrier evaluation when: you run US outbound at any real volume. Test Level-A attestation, DTMF and regional peering with two trunks before launch. Finding out in launch week that a carrier can't sign your calls is a common failure, and an avoidable one.

Compliance and security: LiveKit BAA, HIPAA, TCPA, PCI, GDPR

Regulation of voice AI got ahead of the rest of AI. Build these controls in from day one rather than waiting for procurement to ask.

  • Recording consent. Two-party-consent states (CA, FL, IL and others) require disclosure before recording. Log the consent event in your audit trail per call.
  • TCPA. Outbound marketing needs prior express written consent. Statutory damages run $500–$1,500 per violation with no cap. The 2025 shift: the FCC's one-to-one consent rule was vacated in Insurance Marketing Coalition v. FCC (Jan 2025), so the standard reverted to prior express written consent without the one-to-one constraint. You still need consent, just not the stricter 2023 version. The FCC's February 2024 declaratory ruling also confirmed that AI-generated voices count as “artificial” voices under the TCPA, so voice-agent calls need the same consent as any robocall.
  • HIPAA and the LiveKit BAA. You need a BAA with every provider that touches PHI: LLM, STT, TTS, LiveKit Cloud, telephony. LiveKit signs a BAA on the Scale plan or higher (LiveKit staff, June 2026), and its HIPAA-eligible list (updated 22 March 2026) covers WebRTC and SIP transport, Egress, Ingress, agent hosting, observability, turn detection and LiveKit Inference with named models only. Encrypt recordings with AES-256 and put RBAC on playback.
  • LiveKit security. LiveKit Cloud is SOC 2 Type II audited and offers a GDPR DPA. WebRTC media is encrypted with DTLS-SRTP, SIP signaling supports TLS and stored data uses AES-256. End-to-end encryption is available on Cloud and self-hosted at no extra cost; with it on, LiveKit servers see only opaque bytes, and a server-side agent can hear the call only with keys you give it. PCI DSS and ISO 27001 were still in progress in November 2026 (LiveKit security page), so card flows keep DTMF masking on your side.
  • PCI DSS. DTMF masking during card entry. Card digits must never reach STT, the LLM prompt context, or recordings.
  • GDPR. Consent, residency, deletion. Keep transcripts inside the same data-residency boundary as the rest of the user's account.
  • STIR/SHAKEN. Level-A attestation on US outbound; unsigned calls get labeled or dropped.
  • EU AI Act. Since 2 August 2026, Article 50 requires telling people they are interacting with an AI system unless that is obvious. The Digital Omnibus postponed the high-risk obligations; this one still applies. Put the disclosure in the agent's first sentence for EU callers.

Mini case: AI phone agents at telco scale (Nucleus)

The clearest proof in our portfolio that we run voice AI at scale is Nucleus, the on-prem communication platform we build with Fibernetics. Fibernetics is a Canadian telecom that serves 300,000+ customers and carries 2 billion+ calls a year on its national network. Nucleus adds AI phone agents, workspace chat, SIP calling and chat-to-SMS on top of that network.

The hard parts were the same ones this guide covers: SIP into cellular and landline, real-time voice-to-voice AI translation, CRM/ERP tool calls to automate sales and support, and a compliance surface that had to satisfy SOC II, GDPR and HIPAA before a single enterprise would sign. We built the telephony bridge, the AI-agent orchestration and the audit trail; the platform onboarded 2,000+ businesses during beta.

Where it stands: Nucleus now serves 5,000+ businesses, with AI phone agents handling 600M+ call-minutes a month. Its media layer predates LiveKit Agents, so a greenfield 2026 build is exactly where we would use the framework from this article. The lessons that made Nucleus work (Level-A SIP, per-call consent logging, provider BAAs, cost guardrails) carry over to every LiveKit voice agent we build. Book a 30-minute call to scope a similar build.

A decision framework — pick LiveKit in five questions

1. Do you need provider flexibility? If you want to mix Claude for reasoning with Cartesia for voice and swap each independently, a LiveKit voice agent wins. Fixed-provider stacks (OpenAI Realtime, Gemini Live) do not.

2. Is sub-300ms latency a hard requirement? If yes, pair LiveKit Agents with a native realtime model. Cascading lands at 500–800ms even well tuned.

3. Will you run past 500k agent-min/month? LiveKit Cloud is fine up to that range. Past it, self-host the media server on Kubernetes and keep the Cloud price off the bill.

4. How compliance-heavy is your vertical? Healthcare, finance and public sector builds are always custom, with BAAs and granular audit every time. A no-code platform rarely survives procurement.

5. Do you have engineering? LiveKit is a framework, not a SaaS. Without a competent backend team, pick a platform (Retell, Vapi) or a development partner.

Five pitfalls we see on LiveKit voice agent projects

1. Shipping VAD-only interruptions. The bot keeps talking over coughs and sneezes. Turn on model-based turn detection and interruption handling before your first external demo.

2. Huge system prompts. 4,000-token prompts add 200–400ms to time-to-first-token. Move the bulk into retrieval and keep the system prompt short.

3. No cost guardrails. A stuck session can burn hundreds of minutes of audio in an hour. Enforce max session duration and alert on per-minute spend anomalies.

4. Ignoring STIR/SHAKEN and TCPA early. Launch week is the wrong time to discover your trunk doesn't sign calls. Validate at kickoff.

5. Skipping observability. Record every VAD trigger, STT partial, LLM latency, TTS first-chunk and tool call. Without that, tuning is guesswork.

KPIs to watch on a voice-agent backend

Quality KPIs. TTFA P95 < 800ms, turn-detection accuracy ≥ 95%, task-completion rate ≥ 70%, hallucination rate < 1% on sampled transcripts, caller-abandonment rate < 10%.

Business KPIs. Cost per minute within plan (≤ $0.10 typical), containment / deflection rate (share of calls resolved without a human), CSAT on AI calls, conversion on outbound.

Reliability KPIs. Agent session failure rate < 0.1%, LLM provider P95 latency < 600ms, STT stream drops < 0.5%, SIP call-setup success ≥ 99%.

When not to pick a LiveKit voice agent

  • You need a no-code pilot in 72 hours. Vapi or Retell will get you there faster.
  • You have zero WebRTC experience and no budget for a partner. Running real-time media in production takes more work than the quickstart suggests.
  • Your product lives fully inside AWS and Amazon Nova Sonic is good enough. A native AWS stack is simpler to operate than a third-party framework.
  • Your use case is purely async transcription or summarization. You don't need an agent; you need Deepgram plus a batch job.

FAQ

Is a LiveKit voice agent production-ready in 2026?

Yes. LiveKit Agents went 1.0 in April 2025, the stable Python release is 1.8.13 as of November 2026, and the Apache-2.0 framework runs in production in customer-support, recruiting and healthcare products. Our team uses it as the default for voice-agent builds.

How much does a LiveKit voice agent cost per minute?

$0.04–$0.13 all-in in October 2026: about $0.05 with Deepgram Nova-3, GPT-4.1 mini, Cartesia Sonic 3, LiveKit Cloud and SIP, and about $0.09 with premium ElevenLabs-class voices. TTS dominates; LiveKit Cloud is 10–25% of the bill at $0.01 per agent-minute above the plan quota.

Does LiveKit sign a HIPAA BAA?

Yes. LiveKit signs a Business Associate Agreement for LiveKit Cloud customers on the Scale plan ($500/month) or higher, via its sales team. Covered services include WebRTC and SIP transport, recording, agent hosting, turn detection and LiveKit Inference with specific STT, LLM and TTS models (list updated 22 March 2026).

What is the latest version of LiveKit Agents?

As of 25 November 2026, the stable Python package is livekit-agents 1.8.13 (18 November 2026), and the second 2.0 beta (2.0.0b2) shipped the same day. New builds use the AgentServer pattern and the lk agent CLI for running and deploying agents.

Is LiveKit secure enough for a voice agent?

Yes for most regulated builds. LiveKit Cloud is SOC 2 Type II audited, encrypts media with DTLS-SRTP, offers end-to-end encryption at no extra cost and signs a HIPAA BAA on Scale and Enterprise; PCI DSS and ISO 27001 were still in progress in November 2026.

How do I show when a LiveKit agent is speaking?

Read the agent’s lk.agent.state participant attribute, which moves between listening, thinking and speaking. In React, the useAgent hook exposes it as agent.state, so the speaking indicator lights up when the state is speaking.

Can a LiveKit voice agent handle outbound phone calls?

Yes, via SIP trunks from Twilio, Telnyx or similar. Make sure your carrier signs calls at STIR/SHAKEN Level A for US outbound, and log explicit TCPA consent per campaign: damages are $500–$1,500 per violation.

What is the difference between LiveKit Agents and OpenAI Realtime?

OpenAI Realtime (gpt-realtime-2.1 in 2026) is a native audio-in, audio-out model: lowest latency (under 300ms), locked to OpenAI, billed per audio token. LiveKit Agents is a framework that orchestrates pluggable STT/LLM/TTS providers, with slightly higher latency and full provider flexibility. You can run OpenAI Realtime inside LiveKit Agents as one of several backends.

LiveKit Agents vs Pipecat — which should you pick?

Both are open-source cascading frameworks. LiveKit couples tightly to its own WebRTC media server and Cloud, with a built-in turn detector and managed inference. Pipecat is transport-agnostic and leans on Daily for its media layer. Pick LiveKit if you want the media server and agent framework from one vendor; pick Pipecat if you want to bring your own transport.

Do we need LiveKit Cloud, or can we self-host?

Self-hosting the open-source LiveKit Server is supported and pays off past ~500k monthly agent-minutes, or when regulatory data residency demands on-prem. Under that volume, LiveKit Cloud is cheaper once you price in operations, and the turn-detector inference runs free on Cloud.

What is a realistic latency target?

P95 time-to-first-audio under 800ms is achievable on a cascading LiveKit stack. With OpenAI gpt-realtime-2.1, Gemini 3.8 Live or Amazon Nova 2.5 Sonic you can get below 300ms. Above 1s, callers feel the lag and task completion drops visibly.

How long does it take to build a production voice agent?

With our Agent Engineering approach, 6–8 weeks for a scoped MVP (inbound triage, appointment reminder, AI interviewer). Classical delivery is 12–16 weeks for the same scope. Compliance-heavy verticals (healthcare, finance) add 2–4 weeks for audits and BAAs.

Can a LiveKit agent handle multiple languages?

Yes, by pairing multilingual STT (Deepgram, Whisper) with multilingual TTS (Cartesia, ElevenLabs, Azure) and instructing the LLM to reply in the detected language. The Turn Detector v1.1 model covers 14 languages too. Live translation bridges are routine.

Cost

LiveKit vs Agora Cost Analysis

Per-minute economics on the underlying media platform.

Platform

LiveKit for AI Agents Guide

The platform reference: SDK, agents framework, architecture.

WebRTC 2026

WebRTC Architecture Guide for Business

How SFU/MCU choices ripple into voice-agent design.

Architecture

P2P vs MCU vs SFU for Video Apps

Why most voice agents ship on an SFU, not peer-to-peer.

AI Tutors

Smart Tutoring Systems for Educators

RAG-grounded voice tutors that wrap your content.

Ready to ship a LiveKit voice agent that earns its stack

A LiveKit voice agent gives you provider flexibility and cost control that native realtime APIs lack, and more engineering control than no-code platforms offer. Pair it with the STT, LLM and TTS that fit your latency budget, build the compliance controls in, and instrument everything. The rest is tuning.

If you're sizing a voice-agent build or untangling a stalled one, start with a 30-minute scoping call. We'll map your call pattern, regulatory footprint and latency target to a concrete stack, timeline and budget, and you leave with a plan you can ship.

Book cover: AI for Video, Volume 7 of the Fora Soft Video Engineering Handbook

The book · Volume 7 of 7

AI for Video: A Complete Guide to Intelligence in Video Products: From Real-Time Pipelines and Agents to Serving, Cost, Compliance, and Verticals

This playbook prices a LiveKit voice agent per minute and maps its worker, dispatch and pipeline. Volume 7 takes the same agent into production: turn-taking under a real-time latency budget, agent loops with memory and tools, serving on vLLM, Triton and TensorRT, and cost per stream-hour, plus the TCPA, HIPAA and EU AI Act questions that come with it. Written by Nikolay Sapunov, CEO at Fora Soft.

Read it on Amazon →Kindle & paperback · Fora Soft Video Engineering Handbook

Let's build your LiveKit voice agent

Fora Soft ships voice and real-time AI products with Agent Engineering: faster, cheaper, production-ready. 250+ projects since 2005 back it.

Book a 30-min call → WhatsApp → Email us →

  • Development
    Technologies
    Services