Lesson 5 of 8 · 8 min read
Real-Time Voice Agents: Turn-Taking, Barge-In and the Latency Budget
Voice agents are built either as a cascade (speech recognition, a text model, speech synthesis) or as one speech-to-speech model. The cascade gives text at every step to check and log; speech-to-speech is faster and keeps tone. Either way, turn detection decides when the caller has finished (silence-based or semantic), barge-in stops playback and cancels the response, and the history must be cut back to what the caller heard. Latency is budgeted per stage and hidden with streaming, fillers and prefetching.
Get full Premium access · $25
All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.
6 months · One payment · No auto-renewal
Practise it as an interviewer asks it
How do you approach an agentic system design interview? Give the method you would use on any prompt.What does an agent task cost? Show where the tokens, the seconds and the money go in one run, and what you would cut first.ReAct, plan-and-execute, or an explicit state graph: pick one for a refund workflow.Design a customer support agent that can issue refunds.Design a shopping agent that can complete purchases while the user is away.Design the harness for an internal coding agent that fixes failing tests across your company's repositories.