# Voice agents

A voice agent is an agent that talks: it takes speech in, decides what to do with a model and
tools, and speaks the answer back, in real time. Most voice agents are built one of two ways.
A pipeline chains speech-to-text, a language model, and text-to-speech, and the agent's code
controls each stage. A realtime speech-to-speech model takes audio in, returns audio out, and
handles more of the conversation itself.

It exists because much of the work agents take on, such as support lines, scheduling, and
intake calls, happens by voice. Speech adds constraints that text doesn't have. A caller
expects a reply within the pause of a normal conversation, so every stage spends part of a
latency budget the caller can hear.

The hard part is turn-taking. The agent has to decide when the caller has finished speaking.
Voice activity detection finds silence, and a turn-detection model can add the meaning of what
was said, so a pause in the middle of a sentence isn't taken as the end of a turn. When the
caller talks over the agent, the agent stops speaking and cuts its history down to what the
caller actually heard.

Errors compound across the stages. A misheard word becomes a wrong tool argument, and the
model then answers fluently about the wrong thing. Testing is harder than for text, because
the same request varies with accent, noise, and timing, and a transcript alone doesn't show
latency, interruptions, or what the caller heard.

---

Source: https://tessary.ai/answers/voice-agents
All concepts: https://tessary.ai/answers
From Tessary, agent reliability for AI agents in production: https://tessary.ai
