All resources
Technical

Voice agent architecture explained

A voice agent system is typically built from a few connected layers, a telephony layer that handles the actual phone connection, a speech processing layer that converts audio to text and back, and a language model layer that decides what to say.

The telephony layer

This layer handles placing or answering the actual phone call, using a provider that connects to the public phone network. It's responsible for call setup, audio streaming, and call teardown, independent of what's actually being said on the call.

The speech processing layer

Sitting on top of telephony, this layer converts the caller's audio into text in real time using speech to text, and converts the AI's generated response back into audio using text to speech, ideally with minimal added latency.

The reasoning layer

A language model, given context about the conversation so far and instructions specific to the use case, decides how to respond at each turn. This is the layer that actually determines what the agent says, versus just how it sounds.

The orchestration and event layer

Coordinating all of this in real time, streaming events like transcript updates and call status back to a dashboard, and triggering downstream actions like booking a meeting once the call ends, is typically handled by an orchestration layer sitting above the other three.

Frequently asked

Not always, many platforms combine specialized providers for telephony, speech processing, and language models rather than building every layer from scratch.

See this architecture running on a live call.

We'll walk through the technical details in a 15 minute session.