glossary

Voice

Voice agent

A voice agent is the system on a phone call that pairs automatic speech recognition, a dialogue model or agent with tools, and text to speech, so a caller can finish a job by speaking.

Abracadabra Team Glossary

How it works

A voice agent on a pharmacy line is an assembly, not a single model with a microphone. Automatic speech recognition turns the medicine name into text. A dialogue model, or a wider agent, decides the next act and may call a tool to check stock and the collection time. Text to speech speaks the result. Turn-taking, endpointing and interruption handling sit around those parts so they run at the right moments on the call, rather than as a batch that ignores who is speaking.

The caller experiences one conversation: name the medicine, confirm the strength, hear where to collect it. A failure in any part looks like the whole agent failing. A wrong transcript sends the tool to the wrong drug. A tool that returns an empty stock field can still be spoken as a confident time. Slow synthesis makes a correct answer feel like a dead line. The voice agent is that assembly on the call, and the job is finished only when the caller leaves with a refill they have confirmed.

A worked example

A repeat prescription handled on one call

Caller: "repeat prescription, amoxicillin, 500 mg". Recognition finalises that sentence. The dialogue agent calls the stock tool with the drug and the strength. The tool returns ready today after 4 pm at the high street branch. Text to speech speaks that sentence. The caller says "yes". The task recorded is a confirmed refill, not merely a tool status of success. If the transcript had said 250 mg, the same tool would have succeeded on the wrong pack and the spoken line would have sounded confident. If the tool had returned no time, a voice agent that still speaks "it is ready this afternoon" has invented a collection slot. The parts are recognition, the agent with the tool, and speech. The call is the place they have to agree.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • The stock tool returns success with an empty collection time, and the spoken reply invents an afternoon slot the pharmacy did not confirm.
  • Recognition and speech come from different clocks, the agent replies to a transcript that is already a turn behind, and the caller answers a question they have moved past.
  • The model writes a paragraph of advice that cannot be spoken on a call, playback runs long, and the caller hangs up before the collection time is reached.

How to measure it

Task completion for the refill: the spoken drug, strength and collection time match the tool result and the caller's confirmation. A tool status of success is not that match.

Alongside the outcome, keep recognition edits, tool payloads and whether playback of the result actually started. The voice agent is the set of those parts finishing one job on the call. Count a spoken slot the tool never returned as failed outright.

How Abracadabra helps

The refill is confirmed only when the spoken collection time matches a tool result and the caller's correction, which is the task outcome sitting beside the recognition and the playback.

Voice testing is in early access. Abracadabra does not score audio, latency or turn-taking. If transcripts are already stored as conversations, task success, escalation intent, corrections and repeated requests are readable in the text.

Request access to read this on your own agent.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.