Ai4
Public model benchmarks fail real-time voice agents because isolated latency metrics hide compounding errors and turn-taking delays that disrupt natural conversations.
AI-assisted summary of Latency Is a Budget. Humanlike Is the Goal With LiveKit — original source. Check the original for full context.
Source published:
Detailed notes
## Background Published on YouTube by Ai4 on August 20, 2026, this presentation features Jesse Hall, Staff Developer Advocate at LiveKit. The session explores how to select and architect a model stack that withstands live human conversation, explaining why public component leaderboards fail and introducing an open benchmark focused on humanlike behavior.
## TL;DR Jesse Hall argues that real-time voice agents fail when developers optimize solely for raw component speed rather than humanlike conversational dynamics. Building effective voice systems requires managing a strict latency budget (~600 ms target, up to 1.5 s) and measuring perceived latency—such as Time to First Audio (TTFA) and Time to First Sentence (TTFS)—while offloading tool execution to asynchronous threads. Furthermore, robust turn-taking demands audio-aware detection to prevent interruptions, while full-system performance must be validated using end-to-end user simulations like LiveKit's open-source Infinite Benchmark.
## Atmosphere & style The talk is pragmatic, sharp, and deeply technical, debunking common misconceptions around leaderboard stats with clear, engineering-grounded explanations. Hall delivers an engaging, structured presentation that transitions smoothly from real-world failure modes to live workflow demos and architectural checklists. It feels like a focused, high-signal masterclass for practitioners looking to bridge the gap between prototype chatbots and production-grade voice infrastructure.
## Key takeaways - [00:04](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=4s) Real-time voice agents face fundamentally different challenges than background AI because human users naturally interrupt, pause, and talk over them. - [00:04](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=4s) Latency should be viewed as an operating budget rather than the ultimate goal, with the true objective being human-equivalent conversational behaviors. - [02:19](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=139s) Most production systems utilize a cascaded pipeline of STT, LLM, and TTS models, as direct speech-to-speech models are not yet production-ready for all enterprise use cases. - [04:00](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=240s) Isolated public leaderboards fail for voice agents because they ignore noisy real-world conditions and cascading error propagation across pipeline stages. - [06:00](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=360s) Standard dashboard metrics are misleading; developers must measure perceived latency via Time to First Audio (TTFA) and Time to First Sentence (TTFS) rather than TTFB or TTFT. - [06:00](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=360s) TTS providers can emit up to 750 ms of silence after delivering the first byte, creating a major discrepancy between recorded metrics and audible sound. - [07:36](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=456s) Asynchronous tool calling decouples slow backend operations (2 to 40 seconds) from the conversation thread, allowing the agent to provide verbal filler and maintain engagement. - [11:30](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=690s) Audio-aware turn detection analyzing raw acoustics alongside text transcripts reduces interruption error rates from 9.9% down to 4.5%. - [11:30](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=690s) Conversational realism requires an optimal turnaround latency budget around 600 ms, with 1.5 seconds serving as the maximum threshold before interactions feel awkward. - [14:53](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=893s) LiveKit's open-source Infinite Benchmark evaluates complete voice stacks against simulated users with realistic speech quirks to measure task completion and efficiency. - [18:36](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=1116s) Building humanlike voice agents requires setting a strict latency budget, prioritizing perceived latency, offloading slow tasks asynchronously, and testing full integrated systems.
## Detailed walkthrough Here is a detailed, faithful walkthrough of the transcript.
---
[00:04](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=4s) The Challenge of Real-Time AI vs. Background Agents
Most AI agents operate in the background. Developers assign them tasks—like compiling code or conducting research—and check back later without worrying whether the job takes an extra ten seconds, ten minutes, or ten hours. However, real-time voice agents function under completely different conditions. When interacting with voice bots at a pharmacy, an airline, or a car dealership, users inevitably do the most human thing possible: they talk over the agent. In traditional implementations, this causes the interaction to fall apart, leading users to shout "operator!" or "human!" to escape the bot.
When developers ask how to fix these failures, the standard industry advice is to prioritize speed, low latency, and faster models. While important, speed alone is not the answer. Latency is merely a budget, whereas the actual goal is to create an agent that behaves as naturally and humanlike as possible. A humanlike agent listens while speaking, senses whether a user has finished a thought or is merely pausing, and gracefully adapts when a user changes their mind mid-conversation. Achieving this requires configuring the pipeline correctly and selecting the right combination of models, though figuring out the exact stack for a specific use case remains a core challenge.
- Background agents run tasks asynchronously where latency delays (seconds to hours) are negligible. - Real-time agents fail when users speak over them or pause mid-thought. - Speed is secondary to achieving human-equivalent conversational behaviors.
---
[02:19](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=139s) Cascaded Voice Pipelines vs. Direct Speech-to-Speech
While only a few audience members had shipped voice agents to production, most were familiar with OpenAI's Advanced Voice Mode in ChatGPT. OpenAI selected LiveKit—an open-source real-time framework and infrastructure—to power this experience. LiveKit handles audio, video data, and physical AI robotics, though voice serves as the primary onboarding experience where most technical challenges emerge.
At minimum, a voice agent relies on a cascaded pipeline composed of three distinct models working together: Speech-to-Text (STT), a Large Language Model (LLM), and Text-to-Speech (TTS). Direct speech-to-speech models exist as a newer technology, but they are not yet production-ready for every enterprise use case. Having to choose between direct speech-to-speech models and multi-stage cascaded pipelines adds further complexity to system architecture.
```mermaid flowchart LR accTitle: Cascaded Voice Agent Pipeline subgraph Input ["User Input"] A["User Audio"] end subgraph Pipeline ["Cascaded Pipeline"] B["Speech-to-Text (STT)"] C["Large Language Model (LLM)"] D["Text-to-Speech (TTS)"] end subgraph Output ["Agent Output"] E["Agent Audio"] end
A --> B B --> C C --> D D --> E ```
---
[04:00](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=240s) The Leaderboard Trap and Error Propagation
Developers face hundreds of models and dozens of providers, often resorting to selecting whichever model ranks at the top of public leaderboards. However, leaderboards evaluate individual components in isolation rather than full systems. They fail to account for how errors compound across a pipeline or how agents perform in noisy real-world environments.
If an STT model mishears a caller booking an appointment for "Tuesday the 3rd" as "Tuesday the 30th," every downstream component operates on that mistake. No matter how intelligent the LLM is, it will confidently confirm the wrong date. Furthermore, leaderboard benchmarks are recorded in quiet rooms, whereas real users call from speakerphones in traffic with kids shouting in the background. Instead of asking isolated questions like "Which TTS should I use?", developers must evaluate system-level questions like "Which stack should I ship?"
| Metric / Scope | Public Leaderboard Focus | Real-World Production Focus | |:--- |:--- |:--- | | **Evaluation Level** | Single component (STT, LLM, or TTS) | Integrated cascaded pipeline | | **Testing Environment** | Isolated, quiet lab audio | Noisy environments (traffic, speakerphone) | | **Error Handling** | Ignores downstream impact | Catches compounding cascading errors | | **Core Question** | "Which model ranks highest?" | "Which stack should I ship?" |
---
[06:00](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=360s) Measured Latency vs. Perceived Latency
Standard dashboard metrics often obscure the true user experience. TTS providers report Time to First Byte (TTFB), but a byte is not audible sound. Testing reveals that some popular TTS providers output up to three-quarters of a second (750 ms) of pure silence after the first byte before delivering actual audio. Developers must instead measure Time to First Audio (TTFA).
A similar discrepancy exists for LLMs. Providers highlight Time to First Token (TTFT), but a TTS engine cannot begin generating natural speech from a single token; it requires a complete sentence structure. Therefore, the relevant LLM metric is Time to First Sentence (TTFS). A model that streams its first token rapidly may take longer to finish its first sentence than a competing model.
- **TTFB vs. TTFA:** Up to 750 ms of silence can occur between the first byte and actual audible sound. - **TTFT vs. TTFS:** LLM speed must be evaluated on full sentence completion rather than initial token delivery. - **Core Distinction:** Measured latency (dashboard stats) differs significantly from perceived latency (what the user hears).
---
[07:36](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=456s) Asynchronous Tool Calling for Humanlike Interactivity
Real-world agents must execute tool calls, such as querying databases, verifying orders, or checking room availability. These operations can take anywhere from 2 to 40 seconds—a delay no model selection can mask. A human receptionist handles long backend lookups by providing verbal filler ("Let me pull up the system... it's running a bit slow, give me just a second").
Agents can replicate this humanlike behavior by decoupling execution threads through asynchronous tool calls. By handing the microphone back to the agent while backend functions run, the bot continues talking to the caller instead of blocking the conversation.
```mermaid flowchart TD accTitle: Asynchronous Tool Calling Flow subgraph MainThread ["Main Thread (Conversation)"] A["User Request"] --> B["Agent Responds / Asks Next Question"] B --> C["Continues Dialogue Seamlessly"] end subgraph AsyncThread ["Async Thread (Backend Task)"] D["Trigger Asynchronous Tool Call"] --> E["Execute Database / API Lookup"] E --> F["Return Context to Agent"] end
A --> D ```
In a pre-recorded demo call with a hotel receptionist agent ("The Gilded Broom Hotel"), the agent collected dates (Wednesday, July 30th to Friday, August 1st), guest count (two), room preference, guest name ("Jeffy Paul"), and contact details. When the user interrupted mid-prompt to specify a "king" bed, the agent accepted the input instantly without breaking stride. The agent executed tool calls in the background to record details while continuing to ask follow-up questions without waiting for network responses to finish. If a tool call were to fail, the agent would seamlessly double back to re-verify details.
---
[11:30](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=690s) Turn-Taking Dynamics and the Latency Budget Window
Human turn-taking relies on subtle vocal cues, pitch, rhythm, and intonation, with turn transitions negotiated within a few hundred milliseconds. Pipelines relying strictly on text transcripts are too slow for natural conversation. To address this, LiveKit built an audio-aware turn detector that listens to raw audio features alongside text transcripts.
Under identical latency budgets, alternative turn-detection approaches cut off callers 9.9% of the time, whereas LiveKit's turn detector reduces interruption errors to 4.5%.
```mermaid flowchart LR accTitle: Real-Time Latency Budget Pipeline subgraph AudioProcessing ["Audio Input & Turn Detection"] A["Audio End-of-Turn Signal"] end subgraph ModelInference ["Inference & Generation"] B["LLM Runs on Provisional Transcript"] C["First Complete Sentence Generated"] end subgraph AudioOutput ["Streaming Output"] D["TTS Streams First Audible Byte"] end
A --> B B --> C C --> D ```
When managing the latency budget—the gap between the user's last syllable and the agent's first audible response—the system executes steps concurrently: 1. End-of-turn detection triggers directly from audio before the final transcript arrives. 2. The LLM begins processing on a provisional transcript. 3. If the final transcript matches, response generation is already underway. 4. As soon as the LLM completes its first sentence, the TTS streams audio continuously.
Conversation quality varies across latency thresholds: - **600 ms:** Delivers a highly responsive, natural, and humanlike interaction. - **1500 ms (1.5 seconds):** Represents the upper limit of the budget before conversations begin feeling awkward. - **> 1000 ms (Tool Calls):** Should be executed asynchronously to prevent blocking the conversation thread.
---
[14:53](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=893s) The Infinite Benchmark and Production Iteration
Because no static leaderboard can predict how an integrated system performs, LiveKit developed an open-source evaluation framework termed the "Infinite Benchmark." Rather than evaluating individual components or relying on subjective impressions ("vibes"), it evaluates complete agents against simulated user scenarios.
The benchmark runs hundreds of simulated users against a fully functional agent application. Simulations introduce real-world quirks like mumbling, mid-sentence mind changes, and frequent interruptions. Agents are evaluated on outcome completion (e.g., placing the correct booking in the database without hallucinations or false tool calls).
To prevent agents from cheating task completion through inefficient paths, the benchmark penalizes unnecessary questions or extra conversational steps (such as taking ten steps when two suffice). Developers can swap underlying STT, LLM, or TTS models byte-for-byte while keeping input scenarios identical, creating a tailored benchmark for their specific application.
- **Open Source:** The testing harness, dataset scenarios, methodology, and sample receptionist code are fully open source. - **Model Agnostic Testing:** LiveKit does not produce proprietary STT, LLM, or TTS models, allowing neutral benchmarking across ecosystem providers. - **Inference Optimization:** Demonstrating tuned models, Gemma 4 31B running on LiveKit inference delivered a 2x speed advantage over the same model hosted on alternative inference providers while staying within the target latency budget.
---
[18:36](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=1116s) Developer Checklist for Humanlike Voice Agents
A voice agent is not merely a chatbot with a speaker attached; it is real-time infrastructure designed to sense and respond like a person.
- [ ] **Set a strict latency budget first:** Aim for ~600 ms for optimal realism, keeping total turnaround under 1.5 seconds. - [ ] **Measure perceived latency:** Track Time to First Audio (TTFA) and Time to First Sentence (TTFS) rather than TTFB or TTFT. - [ ] **Allocate remaining budget to quality:** Spend unused latency budget on higher model intelligence, vocal expressiveness, and conversational realism. - [ ] **Offload slow actions asynchronously:** Move tasks taking over 1 second to background threads while the agent maintains verbal engagement. - [ ] **Evaluate full end-to-end systems:** Test complete conversational flows and turn-taking behavior rather than isolated component leaderboards. - [ ] **Maintain continuous testing:** Run automated user simulations and benchmark real-world outcomes in production.
For additional benchmarks and source code, visit [LiveKit](https://www.youtube.com/watch?v=8ENc4qoVlYA).
## Notable quotes > [00:04](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=4s) When interacting with voice bots at a pharmacy, an airline, or a car dealership, users inevitably do the most human thing possible: they talk over the agent. — Jesse Hall
> [00:04](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=4s) Latency is merely a budget, whereas the actual goal is to create an agent that behaves as naturally and humanlike as possible. — Jesse Hall
> [00:04](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=4s) A humanlike agent listens while speaking, senses whether a user has finished a thought or is merely pausing, and gracefully adapts when a user changes their mind mid-conversation. — Jesse Hall
> [04:00](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=240s) Instead of asking isolated questions like "Which TTS should I use?", developers must evaluate system-level questions like "Which stack should I ship?" — Jesse Hall
> [06:00](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=360s) Testing reveals that some popular TTS providers output up to three-quarters of a second (750 ms) of pure silence after the first byte before delivering actual audio. — Jesse Hall
> [06:00](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=360s) A TTS engine cannot begin generating natural speech from a single token; it requires a complete sentence structure. — Jesse Hall
> [07:36](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=456s) By handing the microphone back to the agent while backend functions run, the bot continues talking to the caller instead of blocking the conversation. — Jesse Hall
> [11:30](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=690s) Human turn-taking relies on subtle vocal cues, pitch, rhythm, and intonation, with turn transitions negotiated within a few hundred milliseconds. — Jesse Hall
> [11:30](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=690s) Under identical latency budgets, alternative turn-detection approaches cut off callers 9.9% of the time, whereas LiveKit's turn detector reduces interruption errors to 4.5%. — Jesse Hall
> [14:53](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=893s) Rather than evaluating individual components or relying on subjective impressions ("vibes"), it evaluates complete agents against simulated user scenarios. — Jesse Hall
> [18:36](https://www.youtube.com/watch?v=8ENc4qoVlYA&t=1116s) A voice agent is not merely a chatbot with a speaker attached; it is real-time infrastructure designed to sense and respond like a person. — Jesse Hall
## Mentioned Jesse Hall, LiveKit, OpenAI, ChatGPT, Advanced Voice Mode, Gemma 4 31B, The Gilded Broom Hotel, Ai4
## Video description Jesse Hall - Staff Developer Advocate, LiveKit
With hundreds of models to choose from, how do you pick a stack that holds up in a live conversation? Most agents work in the background, but the moment one has to hear, see, and speak with a human in real time, everything about how you build and evaluate it changes. I'll show why public leaderboards fail for realtime agents, and why the latency on your dashboard isn't the latency your users feel. Then I'll define the outcomes you want as human-equivalent behaviors, and work backwards to your evals, your models, and a production iteration loop. You'll leave with a concrete decision framework and an open benchmark you can run on your own stack.
[Source](https://www.youtube.com/watch?v=8ENc4qoVlYA)