Skip to main content
Persistence / Blog / Build with us
Isometric 3D editorial illustration for How Do You Test an AI Voice Agent Before It Takes Real Calls?
Test a voice agent the way callers will use it: over real audio, with interruptions, noise, accents and people who go off script. Before launch, run simulated conversations and scripted test calls against every path, check that tool calls and transfers actually work, and hold the release until a saved regression suite passes. After launch, watch latency, transfers and tool errors on live calls, and turn every failure into a new test.

Try it on your own calls. Build a voice agent and test it before it takes real calls. Start with $10 in free credits. Start for free →

Why reading transcripts is not testing

The most common way teams test a voice agent is to read a transcript and decide whether the words look right. That misses most of what goes wrong on a phone call.

A transcript shows what was eventually said. It does not show that the agent took too long to start speaking, talked over the caller, answered something the caller never said, or sat in silence while the caller waited. All of those produce transcripts that read perfectly.

A failure can also start in any layer of the call: speech-to-text, the model’s reasoning, text-to-speech, telephony, or the handoff between them. Good testing tells you which layer broke. If all your QA happens in a text window, you are testing a chatbot that happens to have a phone number.

Overview of How Do You Test an AI Voice Agent Before It Takes Real Calls?

What this guide covers

What to test before launch

The happy path, a cooperative caller in a quiet room who answers each question in order, is the one case that usually works. It is also where most teams spend their testing time. Invert that. Cover these areas, starting with the ones most likely to break.

Conversation paths. Walk every branch of the flow: each intent, each condition, each way a call can end. Include the caller who gives three answers when you asked for one, and the caller who answers a different question than the one asked.

Interruptions and turn-taking. Callers talk before the agent finishes, pause mid-sentence to think, and say “hello?” when the line goes quiet. Check that the agent stops when interrupted, does not cut off slow speakers, and recovers when two people talk at once. Our piece on the turn-taking problem goes deeper.

Accents, noise and audio quality. Test with different accents, speakerphone in a car, a TV in the background, and a weak mobile line. This is where speech recognition degrades first. See why voice agents mishear people for the usual causes.

Latency. Callers read silence as a broken line. Treat response time as a pass or fail criterion with a number attached, and measure the full round trip the caller hears, not just model inference. Transcription, reasoning, speech synthesis and telephony each add their share. Our guide to acceptable latency helps you pick a target.

Tool calls and integrations. An agent that says “I’ve booked you for Tuesday” has only passed if the calendar entry exists. Check that every action fires with the right data: bookings, CRM updates, HTTP calls, variables extracted from the call. Also test what the agent says when a tool times out or returns an error.

Transfers and escalation. Confirm the agent hands off for the right reasons, at the right moment, to the right number, and that the human gets the context. Test what happens when nobody picks up. See when a voice agent should hand off to a human.

Edge cases. Long silence, a wrong number, a caller who asks for a human straight away, a voicemail greeting on an outbound call, a caller who says “yeah no” and means no, and questions outside the agent’s scope.

Compliance and safety. Check that required disclosures are spoken on every call, that the agent does not read back sensitive data it should not, and that it resists callers trying to talk it out of its rules. For outbound, confirm calling windows and do-not-call lists are respected. Our piece on voice AI security and fraud covers the threat side.

How to test a voice agent, step by step

Use a mix of automated and human testing. Automation gives you repeatability. Humans catch the things that feel wrong but are hard to score.

  1. Write down what “passing” means. Before you test anything, agree on the bar. Most teams need four criteria: task completion (the caller got what they called for), escalation accuracy (handoffs happen for the right reasons), a latency ceiling, and, for regulated work, disclosure delivery. Read completion and escalation together. An agent that never escalates can look great on completion while failing callers quietly.
  2. Build simulated conversations. Create scenarios with a caller persona, a goal and an expected outcome. Cover each path from the list above, weighted toward the hard cases. Simulations run fast and the same way every time, so they are your main regression tool.
  3. Make scripted test calls. Have real people call the agent on a real phone line with a script of situations to try: interrupt it, mumble, add background noise, change their mind. Simulations do not catch everything that happens on a live line.
  4. Check the actions, not just the words. After each test call, open the calendar, the CRM and the logs. Confirm the right thing happened.
  5. Save every failure as a scenario. Never fix a bug without first capturing it. Record the phrasing, the conditions and the point in the flow where it broke, and add it to your suite. Voice agent behaviour is driven by prompts and models, so a change in one place can shift behaviour somewhere else.
  6. Run the regression suite on every change. Re-run it whenever you edit a prompt, swap a model or voice, change routing or update a tool. Many teams also run it on a schedule to catch drift.
  7. Gate the release. Set a minimum pass rate and do not ship a version that falls below it. A release gate turns “I think it’s fine” into a rule.
  8. Launch small, then widen. Start with a share of traffic or a limited calling list, review real calls daily, and expand once the numbers hold.

Voice agent test checklist

Use this table as a starting checklist. Adjust the pass criteria to your use case.

AreaWhat to tryHow to testPasses when
Conversation pathsEvery intent and branch, multi-part answers, off-topic repliesSimulation suiteEach path reaches the expected outcome
InterruptionsCaller talks over the agent, pauses mid-sentence, says “hello?”Scripted test callsAgent stops, listens and recovers without repeating itself
Accents and noiseDifferent accents, speakerphone, background TV, weak lineScripted calls plus simulationsKey details are captured correctly
LatencyNormal turns, turns with tool calls, peak timesTest calls over a real networkResponses stay under your agreed ceiling
Tool callsBookings, CRM writes, HTTP calls, variable extraction, tool errorsSimulations plus checking the target systemThe action happened with the right data, and errors are handled out loud
TransfersExplicit requests, failed tasks, no answer on the transfer lineScripted test callsRight reason, right moment, context passed on
Edge casesSilence, wrong number, voicemail, out-of-scope questionsSimulation suiteAgent ends or redirects the call cleanly
ComplianceDisclosures, sensitive data, prompt manipulation, calling windowsSimulations plus reviewEvery required step happens on every call
RegressionAll saved failure scenariosFull suite on every changePass rate at or above your release gate

What to monitor after launch

Testing does not end at launch. Real callers will find paths no test suite covered, and model or prompt changes can cause drift. Watch these on live calls:

  • Outcomes: answer, pickup and transfer rates, and whether calls end with the task done.
  • Latency: track percentiles, not just averages, and break it down by component so you know whether speech-to-text, the model, text-to-speech or a tool is slow.
  • Tool success and errors: a rising error rate on one function often explains a drop in completion.
  • Transcripts, recordings and summaries: review a sample every week, plus every call that ended in a complaint, a long silence or an unexpected transfer.
  • Sentiment and call duration: sudden changes often point to a problem worth listening to.
  • Cost per call: a loop or a chatty prompt shows up here first.

Set alerts on the few numbers that matter most so you hear about a problem in hours, not weeks. Then feed what you find back into the regression suite. For the full picture, read voice agent monitoring and analytics and voice AI reliability.

How testing works in Persistence

In Persistence, testing sits in the same place you build, deploy and monitor, so a bad call can become a test without leaving the platform.

  • Web and phone preview. Talk to your agent in the browser by voice or text while you build, then use phone preview to hear it over a real phone line before you connect a number.
  • Simulation suites. Run saved scenarios against an agent and see the pass rate and spend for each run. Re-run the suite after any prompt, model or flow change.
  • Release gates. Tie a release to your suite results so a version that drops below your bar does not go live.
  • Go-live checklist. Work through a checklist before you point real traffic at the agent.
  • Monitoring. After launch, review transcripts, recordings, summaries and sentiment. Analytics show answer, pickup and transfer rates, P50 and P90 duration and latency, and cost. Observability adds P95 voice-to-voice latency, latency by component, tool success and error rates, and a turn-by-turn waterfall. Alerts flag problems as they happen.

You can build agents as a Single Prompt or as a Conversation Flow, a visual graph with condition, function, transfer and end-call nodes, which makes it easier to test each branch on its own. Actions you will want to cover include warm and cold transfers, calendar booking, custom HTTP functions, MCP and variable extraction. Persistence runs at under 100 ms latency; still measure latency on your own agent, since your model, voice and tools change the result.

On cost, testing uses the same pay-as-you-go pricing as live calls, and new accounts start with $10 in free credits. For regulated work, HIPAA with a BAA is available on Enterprise, and PII redaction controls are available.

Learn more on the testing, build, monitoring and in-call workflows feature pages, see pricing, or read the docs. If you are still comparing tools, our guide to choosing an AI voice agent platform can help.

Who Persistence is best for

Persistence fits teams that want testing built into the same platform they build and deploy on.

  • Teams that want every change to run against saved scenarios before it reaches callers
  • Teams turning real-call failures into a regression suite with pass rates and release gates
  • Builders who want to test in the browser and on a real phone line, then keep watching latency, tool errors and transfers on live calls

Another option may fit better if you run agents on several voice platforms and want one testing tool across all of them.

Frequently asked questions

Testing only transcripts or the happy path. That misses latency, interruptions, recognition errors in noisy audio, and failed tool calls, which are the problems callers actually notice.
Both. Simulations are fast and repeatable, so they make a good regression suite. Scripted test calls by real people on a real phone line catch audio and timing problems that simulations can miss.
On every change to prompts, models, voices, routing or tools, and before every release. Many teams also run it on a schedule to catch drift.
At minimum, a pass rate on your saved scenarios. Many teams also require that required disclosures were spoken, that transfers fired correctly, and that latency stayed under the agreed ceiling.
Yes. Web preview lets you talk to the agent in the browser by voice or text, and simulation suites run without live traffic. Use phone preview to hear the agent over a real phone line before go-live.

Start for free

Test before your callers do

Build a voice agent, run simulation suites with release gates, and monitor every call. Start with $10 in free credits.

Continue reading

Voice Agent Monitoring: What to Track After Your Agent Goes Live

Why voice agents mishear people

When a voice agent should hand off to a human

Voice AI Reliability: What to Test Before Real Calls