Brief
A real-time voice agent pipeline combining streaming speech recognition, LLM reasoning and streaming speech synthesis, handling thousands of live calls a day with full barge-in support.
Problem
Voice agents fail on latency before they fail on intelligence. Above roughly a second of silence, callers talk over the agent or hang up. An agent that cannot be interrupted mid-sentence reads as a phone tree, not a conversation.
Solution
- A streaming STT → LLM → TTS pipeline measured end to end at 680ms median, with every stage overlapping rather than queued.
- A barge-in and turn-taking model that handles natural human interruption instead of talking over it.
- Multilingual support across 12 languages, with per-tenant voice cloning so each brand keeps its own voice.
- A built-in analytics dashboard covering call quality, sentiment and outcome, so failures are visible rather than anecdotal.
Result
The pipeline runs at 680ms median end-to-end latency across more than 2,000 calls a day in 12 languages, with interruption handled as part of normal conversation.
Under the hood
| Speech in | Deepgram streaming STT |
|---|---|
| Reasoning | GPT-4 |
| Speech out | ElevenLabs, per-tenant voice cloning |
| Transport | WebSockets, FastAPI, Redis |
| Observability | Call quality, sentiment and outcome dashboard |
