Line Canary

Voice agent testing: a checklist for every deploy

Voice agents break in ways unit tests don’t catch: a prompt change alters an unrelated answer, a tool call times out, or the phone number stops routing to the agent at all. This checklist covers what to verify on every deploy and what to keep watching once the agent is taking real calls.

Updated . 6 minute read.

Test at three layers

Most voice agent bugs live in one of three places, and each needs a different kind of test:

  • The conversation: prompts, model behavior, and tool calls. Test with scripted or simulated conversations in your platform or test framework.
  • The integrations: calendars, CRMs, and APIs the agent calls. Test that a booking made on a call actually appears where it should.
  • The phone path: the number, carrier forwarding, SIP trunk, and the platform answering it. Test with real calls over the phone network.

The checklist

Run these on every deploy, and keep a short version running against production:

  • Greeting latency: the agent speaks within two to three seconds of answering
  • Identity: the greeting names the right business, important when one codebase serves many clients
  • Core intents: each of the top questions gets a correct, current answer
  • Tool calls: a booking, lookup, or message is actually created, not just promised
  • Handoff: asking for a person transfers to a phone that rings, within business hours
  • After hours: the agent knows it’s closed and says what happens next
  • Silence and interruptions: the agent re-prompts after silence and recovers when the caller talks over it
  • Out of scope: the agent declines questions it shouldn’t answer
  • Ending: the call ends cleanly instead of looping or hanging up mid-sentence

Pin expected answers in plain language

Exact-match assertions don’t work for generated speech, since the wording changes from call to call. Write each expectation as a sentence a person could judge, such as “gives the Saturday hours, 9am to 1pm, and offers to book,” and use a model or a reviewer to compare transcripts against it. Add a few required phrases where wording matters, like a business name or a legal disclosure.

Keep testing in production

Pre-deploy tests only prove the agent worked at deploy time. In production, integration tokens expire, carriers change routing, platforms have incidents, and client prompts get edited by someone who isn’t you. A scheduled call to the live number catches all of these with one test, because it exercises every layer at once.

If you build agents for clients, run production checks for every client number. You want to know about a broken agent before the client does.

Production checks with Line Canary

Line Canary calls each agent’s phone number on a schedule, follows a script of spoken lines, key presses, and pauses, and has Claude judge the transcript against your plain-language expectation. Failures alert by text or email with the transcript and recording, and every call records time to greeting. The Agency plan covers 40 numbers with checks as often as every 15 minutes. Compare it with other IVR and voice testing tools.

Questions

What is voice agent testing?
Checking that an AI voice agent answers correctly, completes actions like bookings, hands off to people when asked, and responds quickly, both before each release and continuously on the live phone number.
How do I test a voice agent automatically?
Use your platform’s simulated conversations or a testing framework for pre-deploy checks, and a scheduled outside caller such as Line Canary for production. The outside caller catches failures in the phone path and integrations that simulations skip.
What’s a good greeting latency for a voice agent?
Aim for the agent to start speaking within about two seconds of answering. Callers start to assume the line is dead after a few seconds of silence.

Keep reading

Let a scheduled call do the checking

Map your phone menu for free, then watch one line daily on the free plan. No credit card needed.