Realtime sessions in depth
A live voice call is more than audio in and audio out. See how a realtime session asks for approval before a tool runs, what happens when the caller interrupts, and how a handoff moves the same call to another agent.
12 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 12 minutes.
Written from the official documentation
In this module: Realtime and voice
- Realtime agents quickstartA low latency voice session over a server side WebSocket.Pro
- Realtime sessions in depthLifecycle, input, events, interruptions, tools and handoffs.Pro
- Realtime transport and telephonyWebSocket by default, SIP for phone calls, WebRTC elsewhere.Pro
- Voice pipelinesSpeech to text, your agent workflow, then text to speech.Pro