LiveKit issues technical guidance to resolve voice agent latency issues
LiveKit has published technical guidance for developers to diagnose and resolve 'inference is slower than realtime' warnings in their voice agent applications. The guide explains how CPU starvation and blocked event loops in Python or Node.js environments can cause voice activity detection (VAD) latency, impacting turn detection and overall audio quality.
Key Takeaways
- VAD models must process 32ms audio windows in under 32ms to maintain realtime performance and avoid cumulative delays.
- Symptoms of VAD lag include agents talking over users, missed interruptions, and memory accumulation during long sessions.
- LiveKit recommends migrating from the Silero VAD plugin to the bundled inference VAD and latest turn detector versions.
- Developers can diagnose issues by calculating average cost per window using the inference_duration_total and inference_count metrics.
Why It Matters
Immediate technical resolution of VAD lag is critical for maintaining the illusion of human-like interaction in voice-first applications. When inference falls behind realtime, the resulting turn-taking errors and audio clipping directly degrade user trust and engagement. Within the broader streaming ecosystem, this highlights the shift from simple playback to complex, bidirectional low-latency processing where local CPU management is as vital as cloud throughput. As more platforms integrate conversational AI, the ability to manage synchronous code blocks and event loop health will become a baseline requirement for streaming engineers. Watch for increased adoption of cloud-based turn-detection models to offload local compute requirements.
Additional Context
LiveKit has positioned itself as a leading open-source infrastructure provider for real-time voice AI applications, competing directly with established players in the conversational AI stack. In early 2025, LiveKit raised $33 million in a Series A round led by Redpoint Ventures to accelerate development of its Agents framework and expand enterprise adoption. The company's platform handles audio, video, and data transport for real-time applications, and its Agents framework has become a popular choice for developers building voice bots that need sub-second response times. Competitors in this space include Pipecat from Daily.co and Vapi, both of which target similar developer use cases around real-time voice interaction.
The broader voice AI infrastructure market is experiencing rapid consolidation and investment as companies race to reduce latency in conversational applications. OpenAI launched its Realtime API in October 2024, enabling developers to build low-latency multimodal voice agents directly on GPT-4o, which raised the bar for acceptable response times across the industry. Meanwhile, Deepgram secured $72 million in Series C funding in January 2025 to scale its speech-to-text models specifically optimized for voice agent pipelines. These moves underscore that latency optimization is now a boardroom-level concern, not merely an engineering footnote, as enterprises deploy voice agents in customer service, healthcare, and financial services where even 200 milliseconds of additional delay measurably reduces user satisfaction.
On the technical side, the challenge LiveKit addresses with its VAD guidance reflects a broader industry pattern where local compute bottlenecks undermine cloud-based inference speed. Pipecat, the open-source voice AI framework from Daily.co, published its own latency optimization documentation in 2025, recommending developers profile each pipeline stage from audio input through model inference to response generation. Silero VAD, the voice activity detection model referenced in LiveKit's guidance, has become a de facto standard for lightweight endpoint detection and is integrated into multiple open-source voice agent frameworks including both LiveKit Agents and Pipecat. The convergence on Silero across frameworks means that CPU starvation issues documented by LiveKit likely affect a wide swath of the voice AI developer community, making the company's troubleshooting guidance relevant well beyond its own user base.
Read full article at livekit.com
Enjoy our coverage?
Add StreamingMeme as a preferred source on Google to see more of our streaming news at the top of your Search results.
Add as preferred source