Real-Time Voice AI
Building low-latency conversational AI for live phone calls
Overview
Hollo AI — a production platform for conversational AI over live phone calls: speech in, an LLM agent with tools and memory in the middle, speech out.
Built the real-time voice pipeline, integrated speech-to-text and text-to-speech models, optimized streaming across stages, and reduced end-to-end latency by ~60%, to ~900 ms.
Hollo AI lets callers talk to an AI agent over an ordinary phone line. The agent has to understand them, reason, call tools, remember context, and answer in a voice — fast enough that the call still feels like a conversation.
My work was on the real-time voice pipeline: the path from the caller's audio to the agent's spoken reply.
The Challenge
On a phone call, silence reads as failure. The difficulty is that latency accumulates: each stage of the pipeline adds its own delay, and the caller experiences the sum.
- Speech recognition latency — turning live audio into text the model can use.
- LLM latency — time to the first useful tokens of a reply.
- Tool latency — any lookup or action the agent takes before it can answer.
- Synthesis latency — turning text back into audio the caller hears.
Optimizing one stage in isolation rarely fixes the experience. The system has to be designed as a pipeline.
Architecture
Audio flows through five stages. Each stage streams its output into the next, so work starts as soon as there is something useful to work on.
The dot follows one conversational turn through the system. Dashed = where the agent's tools, memory and context live.
My Contribution
Built the real-time voice pipeline
Speech recognition, LLM orchestration, tool calls and speech synthesis connected as one streaming path for live phone calls.
Integrated speech models
Deepgram for streaming speech-to-text; ElevenLabs and Chatterbox for text-to-speech.
Optimized streaming across stages
So downstream stages can start before upstream stages have finished.
Reduced end-to-end latency by ~60%
Reaching ~900 ms end-to-end response time.
Technical Deep Dive
Streaming instead of waiting
A sequential pipeline waits for each stage to finish before the next one starts, so every stage's full latency lands on the caller. Streaming lets the stages overlap: partial transcripts feed the model, and the model's first sentences can be synthesized while the rest of the reply is still being generated.
Every stage's full latency is added to the total.
The caller hears the start of the reply sooner.
Conceptual — illustrative proportions, not measurements. Shape of the idea, not a trace.
| Commercial API (e.g. ElevenLabs) | Self-hosted model (e.g. Chatterbox) | |
|---|---|---|
| Operations | No inference infrastructure to run | GPU infrastructure to deploy and operate |
| Control | Limited to the provider's models and settings | Full control over model, voice and deployment |
| Cost shape | Scales with usage | Depends on utilization of your own hardware |
| Latency | Includes network round-trips to the provider | Depends on where and how you host it |
General tradeoffs weighed when choosing speech models; not a benchmark.
Component-level latency measurements are not published here. Diagrams on this page marked 'conceptual' show the shape of the problem, not measured values.
Evaluation / Results
Before normalized to 100%; after ≈ 40% of before (~60% reduction).
Engineering Lessons
Latency is a pipeline property. The number the caller feels is the sum of every stage, so the pipeline is the unit of optimization.
Streaming is an architectural decision. It changes how every stage is built, not just how fast one of them runs.
Model choice is a latency decision. Speech models are chosen on their latency and operating model, not only on quality.