Realtime transport and telephony
A realtime agent needs a wire to the model. See the default server-side WebSocket, how a session attaches to a phone call with SIP and a call ID, and why browser WebRTC is not part of the Python SDK.
10 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 10 minutes.
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