Design a voice agent
A chain of clinics puts an AI agent on its phone line. In testing it answers every question correctly. In real calls, patients hang up. It waits two seconds after they stop talking, talks over them when they pause to find their diary, and keeps reading out a list of times after they've said "Tuesday's fine". The words were right. The conversation was wrong.
In this lesson you'll learn to
- Choose between a cascaded speech pipeline and a speech-to-speech model, and design the call architecture around it.
- Build a voice-to-voice latency budget of about a second, streaming every stage.
- Apply turn-taking to the call's state, so a read-back the caller cut off never counts as a confirmation.
- Design the call as a state machine, with booking holds, idempotent confirmation and recovery when a call drops.
- Make calls reliable and safe with read-backs, identity checks and warm hand-offs, and evaluate them with simulated calls.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.