Lesson 14.05 · Phase 14 · Agent UX & Interfaces
Voice agents
In voice, timing is the interface. When to start talking, how soon the first word comes, and when to stop because the other person started: get those wrong, and a smart agent sounds like a broken one.
Learning objectives
- Lay out the voice pipeline (voice activity detection, speech-to-text, the agent, text-to-speech) and its latency budget.
- Choose an end-of-turn silence threshold, and see what too short (cutting people off) and too long (slow replies) look like.
- Cut time to first audio by speaking sentence by sentence while the rest is still being generated.
- Handle barge-in: ignore echo and coughs, stop on real speech, and record in the history only what the user actually heard.
Text chat forgives a lot. A two-second wait is fine, the user can't interrupt mid-reply, and pauses don't mean anything. Voice forgives almost nothing: - Pauses are ambiguous. "I'd like to change my order… to arrive on Thursday": the half-second pause in the middle isn't the end of the turn. - Silence feels broken. In human conversation, the gap between one person stopping and the other starting is typically a few hundred milliseconds. - People interrupt. "No wait, Wednesday!" If the agent keeps talking, it seems not to be listening. If it stops but its history says it delivered the whole reply, its next turn refers to things the user never heard.
Loading the full lesson…