The voice agent sandwich: STT → support agent → TTS (batch version)
Notebook· 13.04· 2–3 h· Lesson 113 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
By the end you can
- Compose speech-to-text, a tool-calling agent and text-to-speech into one voice turn, and time every stage.
- Explain the latency a caller feels: from the end of their question to the first sound of the answer.
- Overlap the agent and TTS by streaming the reply and speaking each sentence as soon as it is written.
- Shorten an agent's reply for listening: no citations, no headings, three sentences at most.
- Identify the caller from the phone system, never from what they say, and see the desk refuse a spoken ID.
- Compare this batch sandwich with LangChain's official streaming voice agent and list what it leaves out.
Before you start
Lessons 13.02–13.03 and Project 09 (the Orbita Cloud support desk). Read the module README first.
