How do you evaluate a voice AI agent?
- Authors
- Name
- Amit Shekhar
- Published on
Evaluating a voice AI agent means checking, on many real and simulated calls, whether it heard the user correctly, did the right thing, spoke clearly, replied fast enough, and took turns naturally. We measure each of these parts with its own number and then check the whole call end to end.
In this blog, we will learn about how we evaluate a voice AI agent. We will also see why it is harder than evaluating a chat agent, the five checks we run on every call, how we test it with simulated callers before launch, how we evaluate real calls after launch, and where it works well and where it fails.
We will cover the following:
- What is a voice AI agent?
- What does it mean to evaluate a voice AI agent?
- Why is it harder than evaluating a chat agent?
- The five things we check
- Check 1: Did it hear correctly?
- Check 2: Did it do the right thing?
- Check 3: Did it speak well?
- Check 4: Was it fast enough?
- Check 5: Did it take turns naturally?
- Testing with simulated callers before launch
- Evaluating real calls after launch
- Where it works well and where it fails
I am Amit Shekhar, Founder @ Outcome School, I have taught and mentored many developers, and their efforts landed them high-paying tech jobs, helped many tech companies in solving their unique problems, and created many open-source libraries being used by top companies. I am passionate about sharing knowledge through open-source, blogs, and videos.
I teach AI and Machine Learning at Outcome School.
Let's get started.
What is a voice AI agent?
A voice AI agent is a system that talks with a person using voice. The person speaks, and the agent listens, decides what to do, and speaks back. A restaurant booking agent that answers the phone is a good example.
Many voice agents are built as a pipeline, which is a chain of parts where the output of one part goes into the next. There are three parts:
- STT (Speech-to-Text): It turns the user's voice into text. It is also called ASR (Automatic Speech Recognition).
- LLM (Large Language Model): It reads the text, decides what to say or which action to take, and writes the reply as text.
- TTS (Text-to-Speech): It turns the reply text back into voice.
Around these three parts, there is one more piece that decides when the user has finished speaking and when the agent must stop talking. This is called turn-taking.
Let's see the flow of a call in this pipeline in the diagram below:
+-------------------+
| User speaks |
+-------------------+
↓
+-------------------+
| STT |
| voice to text |
+-------------------+
↓
+-------------------+
| LLM |
| text to reply |
+-------------------+
↓
+-------------------+
| TTS |
| reply to voice |
+-------------------+
↓
+-------------------+
| User hears |
+-------------------+
Here, we can see that each part hands its output to the next part. A mistake in any one part reaches the user.
Some newer agents use a single speech-to-speech model in place of these three parts. Most of the checks in this blog still apply to them, because the user still needs to be heard, helped, and answered quickly.
What does it mean to evaluate a voice AI agent?
Evaluating a voice AI agent means measuring, with numbers, how well it handles real conversations, so that we know whether it is good enough to launch and whether a change made it better or worse.
Let's say we change the LLM prompt to make the agent more polite. How do we know that it did not become worse at booking tables? We cannot listen to every call, so we need numbers that we can compare before and after the change.
We have a detailed blog on how to evaluate AI agents that covers the general metrics and methods in depth.
Why is it harder than evaluating a chat agent?
In a chat agent, the input and the output are both text, and we can read them to judge the reply.
In a voice agent, a lot more can go wrong:
- The user can be in a noisy place, and the STT can mishear the words.
- The reply can be correct as text, but the TTS can say a name or a number wrongly.
- The reply can be correct, but it can arrive so late that the user starts talking again.
- The agent can cut the user off in the middle of a sentence.
Means, a voice agent can fail even when every sentence the LLM writes is perfect. So, we must check each part, and then the whole call.
The five things we check
We break the evaluation into five checks. Each check answers one question.
| Check | Question | Part it mostly tests |
|---|---|---|
| Hearing | Did it hear correctly? | STT |
| Doing | Did it do the right thing? | LLM and tools |
| Speaking | Did it speak well? | TTS |
| Speed | Was it fast enough? | Whole pipeline |
| Turn-taking | Did it take turns naturally? | Turn-taking logic |
Now, let's understand each check one by one.
Check 1: Did it hear correctly?
The first question is whether the STT turned the user's voice into the right words. If it hears "eleven" when the user said "seven", everything after that goes wrong.
The most common number for this is WER (Word Error Rate). It tells us how many word mistakes the STT made, compared to the number of words the user said.
To calculate it, we need two pieces of text:
- Reference: What the user actually said, written by a human who listened to the audio.
- Hypothesis: What the STT produced.
Then, we count three kinds of mistakes:
- Substitution (S): A word was replaced with a wrong word.
- Deletion (D): A word was missed.
- Insertion (I): An extra word was added.
The formula is:
WER = (S + D + I) / N
Here, N is the number of words in the reference.
The best way to learn this is by taking an example.
- Reference: "book a table for four at seven"
- Hypothesis: "book table for four at eleven"
Step 1: We count the words in the reference. There are 7 words, so N = 7.
Step 2: We compare the two. The word "a" is missing, so D = 1. The word "seven" became "eleven", so S = 1. Nothing extra was added, so I = 0.
Step 3: We put the values in the formula. WER = (1 + 1 + 0) / 7 = 2 / 7, which is about 28.6%.
A lower WER is better.
Note: Before counting, we write both texts in the same form. For example, "7" and "seven" must count as the same word, otherwise WER counts a mistake that is not a real mistake.
But, WER treats every word the same. Missing the word "a" did not hurt this booking at all. Getting "seven" wrong booked the table at the wrong time. So, along with WER, we also check the accuracy of the important words only, like names, dates, times, phone numbers, and order IDs. This tells us whether the agent heard the words that matter for the task.
We must also measure WER on audio that sounds like our real calls: phone-quality audio, background noise, and the accents of our callers. A WER measured only on clean studio audio gives a number that is too good.
Planning your move into AI?
No matter which tech domain you work in today, with your effort, you can transition to these roles:
- AI Engineer
- Forward Deployed Engineer
- AI Agent Engineer
- Harness Engineer
- Voice AI Engineer
- AI Architect
- LLM Engineer
- LLM Inference Engineer
- Gen AI Engineer
- MLOps Engineer
- ML Engineer
- Deep Learning Engineer
Our AI and Machine Learning Program at Outcome School takes you there.
Check 2: Did it do the right thing?
Now, it's time to check the LLM and the tools. The question is: did the user get what they called for?
The most important number here is task success rate.
Task success rate = number of calls where the task was completed correctly / total number of calls
Let's say we test 100 booking calls, and in 87 of them, the correct table was booked for the correct date, time, and number of people. The task success rate is 87 / 100 = 87%.
To decide "completed correctly", we write down the expected result for each test call in advance. For a booking call, it can be like below:
{ "action": "book_table", "date": "2026-10-20", "time": "19:00", "people": 4 }
Here, we have written what a correct booking looks like. After the call, we compare the real booking with it. If they match, the call is a success.
Along with the final result, we also check a few things inside the call:
- Tool call correctness: The LLM recommends which tool to use and what input to give, and our code runs it. We check whether it picked the right tool with the right input, for example
book_tablewith the right time, and notcancel_table. - Number of turns: A task that needed 12 turns when 4 were enough is a poor experience, even if it succeeded.
- Following the rules: Did the agent confirm the details before booking? Did it stay away from topics it must not discuss?
Some of these are hard to check with a fixed rule. For example, "Was the agent polite?" or "Did it answer the question that was asked?" For these, we use LLM-as-a-judge. We give the call transcript, which is the written text of the whole call, and a scoring guide to another LLM, and it gives a score with a reason.
The scoring guide can be like below:
Read the transcript of the call.
Answer each question with yes or no, and give one line of reason.
1. Did the agent confirm the date, time, and number of people before booking?
2. Did the agent answer every question the user asked?
3. Did the agent say anything that is not true based on the tool results?
Here, we are asking yes or no questions, because they give scores that are easier to trust and compare than "rate this call from 1 to 10". We must also check the judge itself by comparing its answers with human answers on a small set of calls.
A quick note for you
No matter which tech domain you work in, get familiar with these topics:
- LLM
- RAG
- MCP
- Agent
- Fine-tuning
- Quantization
We put it all together in one video:
AI Engineering Explained: LLM, RAG, MCP, Agent, Fine-Tuning, and Quantization
No need to stop reading - bookmark it and watch later when you get time. Future you will thank you.
Now, let's get back to the topic.
Check 3: Did it speak well?
Now, let's move to the voice of the agent. Can the user understand it, and does it sound pleasant?
The common way to measure how natural a voice sounds is MOS (Mean Opinion Score). People listen to samples and rate each one from 1 (bad) to 5 (excellent). The average of all the ratings is the MOS.
MOS needs real people, so it is slow and costly. So, teams also use quicker checks:
- Pronunciation of important words: We list the names, brands, addresses, and numbers that the agent says often, and check that each one is spoken correctly.
- Round-trip check: We send the TTS audio into an STT model and compare the text that comes back with the text we gave to the TTS. If the STT cannot recover the words, it is a sign that a human on a phone line can also struggle. This gives us a WER for the speech of the agent.
- Automatic quality models: Some models are trained to predict MOS directly from audio. They are quick, but not as reliable as real listeners.
Check 4: Was it fast enough?
In a voice conversation, a slow reply feels like a broken call. The user waits, thinks the agent did not hear, and starts speaking again.
The main number here is voice-to-voice latency. It is the time from the moment the user stops speaking to the moment the user hears the first sound of the agent's reply.
We measure it on every turn of every test call and look at percentiles instead of the average.
- p50 (median): Half of the turns were faster than this value.
- p95: 95% of the turns were faster than this value. Only 5% were slower.
Let's say the p50 is 800 milliseconds, but the p95 is 3 seconds. This means most replies feel quick, but 1 in every 20 replies makes the user wait 3 seconds or more. The average hides these slow turns. Hence, we always track the p95 along with the p50.
We also record the time taken by the STT, the LLM, and the TTS, so that we know which part to fix when the latency goes up. We have a detailed blog on building a latency budget for a voice AI agent that explains how to split the time across these parts.
Check 5: Did it take turns naturally?
Now, the next big question is: does the call flow like a natural conversation between two people?
Two things can go wrong here, and fixing one can make the other worse:
- Cutting the user off: The user pauses to think, and the agent starts talking before the user has finished.
- Waiting too long: The user has finished, but the agent waits a long time before replying, to be sure that the user is done.
So, we measure both:
- Cut-off rate: The share of turns where the agent started speaking while the user was still in the middle of a sentence.
- Response delay: How long the agent waited after the user actually finished. It is a part of the latency from Check 4, so we look at both together.
There is one more case. When the user interrupts the agent, which is called barge-in, the agent must stop speaking quickly. We measure:
- Stop time: How fast the agent went silent after the user started speaking.
- False interruption rate: How often the agent stopped speaking because of a cough, a "hmm", or background noise, when the user did not want to interrupt.
We measure these with two-channel recordings, where the user and the agent are on separate tracks of one timeline.
Stay updated: Subscribe to our newsletter to get our latest AI and Machine Learning blogs straight to your inbox.
Testing with simulated callers before launch
Now, the question is: where do the test calls come from?
Before launch, we do not have real users. So, we use simulated callers. A simulated caller is another AI agent that plays the role of a user. We give it a goal and a persona, which means the kind of person it must pretend to be, for example:
You are calling to book a table for 4 people at 7 PM this Friday.
You speak fast and change your mind once about the time.
At the end, ask whether parking is available.
Here, we are giving the simulated caller a goal, a speaking style, and a twist in the middle. It speaks to our agent using its own TTS voice, and the whole call is recorded and scored with the five checks.
The steps are as below:
Step 1: We write a set of test scenarios. They cover the common tasks, the hard cases, and the things the agent must refuse.
Step 2: We run each scenario many times, because our agent and the simulated caller do not reply in the same way every time.
Step 3: We add real-world conditions to the audio, like background noise, phone-quality sound, and different accents.
Step 4: We score every call and store the numbers.
Step 5: Every time we change the prompt, the model, or the voice, we run the same set again and compare the numbers with the last run.
Running the same set again after every change is called regression testing. It tells us whether a change fixed one thing but broke another.
To learn Evaluation and Testing, Evaluation of LLMs and Agents, LLM as a Judge, and how to Design a Real-Time Voice AI Agent, we have a complete program on this - check out our AI and Machine Learning Program at Outcome School.
Evaluating real calls after launch
Real users often say and do things that our test scenarios did not cover. So, after launch, we keep evaluating real calls.
We track numbers that come from the calls themselves:
- Task success rate on real calls, using the results in our system, for example, whether a booking was actually created.
- Transfer rate: How often the call was handed over to a human. Some transfers are correct, but a sudden rise is a warning sign.
- Drop-off rate: How often the user hung up in the middle of the task.
- Latency: The p50 and p95 voice-to-voice latency on live calls.
Then, every day, we score a small sample of calls with LLM-as-a-judge, and a human listens to some of them. When we find a call that failed in a new way, we turn it into a new test scenario for the simulated callers. This way, the test set keeps growing with the real problems that users face.
Where it works well and where it fails
Where it works well:
- Breaking the evaluation into five checks tells us which part of the agent to fix.
- Simulated callers let us run hundreds of calls quickly and repeat them after every change.
Where it fails:
- WER treats every word the same, so a low WER can still hide a wrong date or a wrong name.
- LLM-as-a-judge can make mistakes, so its scores must be checked against human scores. It also reads only the transcript, so it cannot hear a bad tone or a long silence.
- Simulated callers often speak more clearly and more politely than real people, so an agent that passes every simulated test can still struggle with real callers.
- Good numbers on each part do not always mean a good call, so we must still listen to full calls.
Now we must have understood how we evaluate a voice AI agent, what we check at each part, how we test it before launch, and how we keep checking it after launch.
Frequently Asked Questions
What is a good Word Error Rate for a voice agent?
A lower WER is always better, but the number alone is not enough. WER treats every word the same, so a low WER can still hide a wrong date or a wrong name. So, along with WER, we check the accuracy of the important words, like names, dates, times, and phone numbers, and we measure it on audio that sounds like our real calls.
Why do we track p95 latency and not just the average?
The average hides the slow turns. If the p50 is 800 milliseconds but the p95 is 3 seconds, most replies feel quick, but 1 in every 20 replies makes the user wait 3 seconds or more. Hence, we always track the p95 along with the p50.
Can LLM-as-a-judge replace human review of calls?
No. LLM-as-a-judge can make mistakes, so its scores must be checked against human scores on a small set of calls. It also reads only the transcript, so it cannot hear a bad tone or a long silence. This is why a human still listens to some calls every day.
Do these checks work for a speech-to-speech voice agent?
Yes, most of them do. A speech-to-speech agent uses a single model in place of STT, LLM, and TTS, but the user still needs to be heard, helped, and answered quickly. So, most of the same checks still apply to it.
That's it for now.
Thanks
Amit Shekhar
Founder @ Outcome School
You can connect with me on:
Follow Outcome School on:
