Speaker Notes

Voice AI

Speech in and out: voice agents, latency, TTS.

2talks
19answers
2mainly about it
2new
DecJanFebMarAprMayJunJulAugSepOctNov

What your library answers 19

Why do traditional cascaded voice pipelines break in production contact centers?

Traditional cascaded systems rely on separate speech recognition, language models, and turn-taking detectors that do not work well together. When interacting with confused users like an elderly person, rigid timing parameters cause the agent to aggressively interrupt them. Collapsing these modules into an audio-native model allows the system to better process pause semantics and adapt to real conversational dynamics.

Thumbnail: How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen ▶ 6:24 How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen

How is the audio-native model architected to process streaming audio while maintaining control?

The base model is an audio-native large language model that processes streaming audio chunks and outputs text rather than raw speech. This design enables the enterprise to apply strict safety guardrails and generate structured tool calls, citations, and debugging transcripts. It predicts an initial turn-taking token based on audio frames to determine if the user is still speaking before processing the response.

Thumbnail: How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen ▶ 10:02 How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen

What components make up the dominant voice agent pipeline architecture?

The standard pipeline streams audio chunks through an agent orchestrator to three sequential components. First, a speech-to-text system converts audio to text, which is then fed into an LLM to determine tool calls and responses. Finally, a text-to-speech model turns the text output back into audio chunks for the user.

Thumbnail: Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI ▶ 4:36 Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI

How do you train voice models to handle background noise and real-world audio?

Training datasets incorporate real conversational data from enterprise platforms along with deliberately added background noises using generative models. Sanitizing the environment too much with traditional denoising pipelines actually harms model performance because it removes realistic production conditions. This deliberate exposure ensures the model remains robust against environmental interference and crosstalk.

Thumbnail: How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen ▶ 18:54 How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen

How do you manage latency and prevent user panic during long model reasoning pauses?

The system employs latency-budgeted reasoning to cap processing time and ensure the agent responds within a predictable window. To prevent users from panicking when backend systems experience delays, developers use audio tricks like computer typing sounds or hold music. Providing this constant feedback builds user trust over the phone and avoids awkward silences.

Thumbnail: How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen ▶ 28:45 How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen

How are streaming-native speech-to-text models different from batch models like Whisper?

Older batch models like Whisper were trained on 30-second audio clips, requiring complex chunking and padding workarounds for streaming. Newer streaming-native models use specialized encoders trained with short look-ahead times and cached activations. This allows them to process small audio steps without redoing heavy computations.

Thumbnail: Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI ▶ 7:25 Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI

Why do enterprises prefer building custom harnesses over owning models?

Enterprises recognize that artificial intelligence is a critical technology they need to own rather than just buy. Since tuning and hosting underlying models requires a massive GPU budget, they choose to use model APIs instead. Consequently, they focus on owning the harnessing layer to maintain control over their brand intelligence and custom workflows.

Thumbnail: How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen ▶ 42:48 How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen

What size range should LLMs fall into for voice agent pipelines?

LLM streaming latency is measured by time to first token, and you generally want to hit 200 to 300 milliseconds. To meet this latency budget while maintaining sufficient intelligence for tool calling, models typically need to be in the 8 to 30 billion parameter range. Going larger blows the latency budget, while going smaller hurts reasoning capabilities.

Thumbnail: Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI ▶ 8:44 Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI

How do you combat cognitive debt and AI slop when team members adopt coding agents?

The bottleneck has shifted from producing content to validating and auditing it, often resulting in developers receiving unread walls of text. To combat this, organizations must educate teams to summarize their points and refrain from passing on unread AI slop. Ensuring developers actually read and verify content before sharing helps preserve team focus and prevent cognitive overload.

Thumbnail: How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen ▶ 53:39 How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen

How do we measure the performance of text-to-speech models?

Performance is evaluated using time to first audio and the real-time factor, which measures how many seconds of audio can be produced per second of processing time. Quality is also critical and is best assessed by directly listening to audio samples rather than relying solely on objective metrics. You typically want a real-time factor under one to avoid buffering issues.

Thumbnail: Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI ▶ 9:50 Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI

What is the most critical engineering challenge for the next decade of voice research?

Turn-taking must become entirely end-to-end and collapse into the core pipeline to eliminate the single most annoying engineering bottleneck. Getting turn-taking right remains exceptionally difficult in voice architecture. Overcoming this will allow voice agents to properly separate into specialized consumer, enterprise, and productivity tiers.

Thumbnail: How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen ▶ 1:02:58 How a Voice Agent Learns the Rhythm of Conversation — Shawn Wen

Why aren't pure speech-to-speech models used more widely in production yet?

Pure speech-to-speech models process audio natively without converting it to text first, preserving tone and emotion while enabling full duplex communication. However, they currently struggle with complex instruction following and reliable tool calling in production. Developers often resort to prompt engineering before eventually falling back to pipeline architectures.

Thumbnail: Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI ▶ 15:10 Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI

Where should guardrails and classifiers be placed in the voice pipeline?

Guardrail models and classifiers can be introduced right before the main LLM to route requests, or placed at the end of the generation step to screen responses. While adding these components introduces extra latency and management overhead, catching issues before the TTS model runs is essential. If a policy violation slips through, you cannot take back spoken words.

Thumbnail: Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI ▶ 20:13 Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI

What is the thinker-talker pattern and when should I use it?

The thinker-talker pattern uses a small LLM to instantly generate a filler response like letting the user know it is thinking. Simultaneously, it issues a tool call to a larger, more capable model with better instructions and guardrails. This pattern helps hide latency and improves response quality when your main model is too slow for real-time conversation.

Thumbnail: Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI ▶ 21:34 Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI

How do observability and evaluations change for future full duplex models?

Future speech-to-speech models eliminate traditional text-to-text and text-to-speech intermediate steps, rendering standard component-level evals obsolete. Instead, teams must rely on transcription sidecars for auditability and shift toward longer, full duplex conversational metrics. Most of these comprehensive evaluations will happen on top of the base inference API.

Thumbnail: Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI ▶ 23:32 Engineering voice agents: Latency, quality, and scale — Rishabh Bhargava, Together AI