To test a voice agent before it takes real calls, talk to the draft in your browser, place test phone calls, and score those calls with metrics you write. On Cartesia Managed Agents, Preview is in the Playground. Test calls and metrics work from the Playground or the API, and every test call that connects keeps its recording and transcript, unless zero data retention is on.
The steps below come from Cartesia’s Managed Agents, agent configuration, system tools, outbound calling, batch calling and metrics docs, read on December 3, 2026.
Test on a copy, not the live agent
API updates take effect as soon as they succeed, and Publish in the Playground puts a draft live. Either way, new calls on that agent’s number use the change right away. For risky changes, test on a copy of the agent on a separate number, and move the change to the production agent only after it passes.
1. Preview the draft in your browser
In the Playground, edits stay in a draft until you click Publish. Click Preview to talk to the draft from your browser. A few settings only apply after publishing: speed, pronunciation dictionary, silence timeouts, time zone and webhooks.
If the instructions use dynamic variables such as {{customer_name}}, click Vars to set sample values for preview calls. Production calls never use them.
Preview isn’t a phone call. A transfer returns an error instead of transferring, and the caller’s number and call direction are empty. Test those scenarios with a real phone call.
2. Place a real phone call
With any phone number on your account (it doesn’t need to be assigned to this agent), place a call to your own phone: open the agent, click the phone icon in the header, pick a From number, enter your number, and click Place call. Phone calls always use the published version. The same call through the API:
curl -X POST "https://api.cartesia.ai/agents/calls" \
-H "X-API-Key: $CARTESIA_API_KEY" \
-H "Cartesia-Version: 2026-08-14" \
-H "Content-Type: application/json" \
-d '{
"from_number_id": "ap_Q8PRh7lXyZsawXJmN2KcT5",
"agent_id": "agent_Fo7pKNBUwLZxrTd6jvhpaE",
"ringing_timeout_seconds": 30,
"outbound_calls": [
{
"to_number": "+14155559876",
"dynamic_variables": { "customer_name": "Jordan" }
}
]
}'
If you don’t have a number yet, our guide to giving an AI agent a phone number covers the options.
Run the calls you expect: the common request, the caller who interrupts, the one who asks something off script, the one who wants a person. Each call that connects is saved with its recording and transcript, so you can read exactly where it went wrong.
3. Automate it with a test caller
Calling by hand stops working once you have more than a handful of scenarios. You can make a second agent play the caller:
- Create a test agent whose instructions describe one caller scenario: who it is, what it wants, and how it reacts.
- Place an outbound call from the test agent to your agent’s number with
POST /agents/calls. For a full set, batch calling queues up to 5,000 recipients and dials them up to a concurrency limit you set. - Assign metrics and export the results as CSV, as in the next step.
Run each scenario 5 to 10 times with varied phrasing. The same scenario can pass four times and fail on the fifth because the model took a different route. Batch calls count against the same agent-call concurrency limit as production calls. For a managed suite of simulated callers, see how one Cartesia customer tests voice agents.
4. Score calls with metrics
Listening to every call doesn’t scale past a few dozen. Cartesia scores each call with two built-in metrics, system_call_success and system_text_to_speech_ttfb, and with custom LLM-as-a-judge metrics you write. A custom metric asks one concrete question, for example:
Determine whether the caller's issue was resolved.
Return a boolean value and one sentence explaining the result.
Before saving a metric, the Playground can run it on the agent’s five most recent calls, or on call IDs you enter. That’s the quickest check that the prompt judges calls the way you would. Once assigned, the metric scores every call that ends afterward, and Export Results downloads them as a CSV.
5. Change one thing, then compare
Every change that affects behavior saves a version, and a call in progress stays on the version it started with. Change one thing at a time, such as the model or a line in the instructions, rerun your test calls and compare the metric results. If a change makes things worse, read the earlier version’s config and send it back with PATCH /v1/agents/{agent_id}, which restores it as a new version.
Rollback covers the agent’s config only. Versions store tool IDs, not copies, so editing a tool changes every agent that uses it, production included, and a restore won’t undo it. To test a tool change, create a new tool and attach it to the test agent. A restore that points at a deleted resource or a model no longer offered fails validation until you replace that reference.
If your agent replaces a phone menu, our IVR testing guide covers scenario tables, latency and regression tests from the IVR side.
What does testing cost?
Test calls bill like any call. From Cartesia’s pricing page, read on December 3, 2026:
| Part | Price |
|---|---|
| Managed Agents call minutes | $0.03 per minute |
| Cartesia phone number | $0.014 per minute. No Cartesia fee on your own Twilio number or SIP trunk, where your carrier bills you |
| LLM usage | Billed separately, depends on the model |
| Evaluations | Free of charge for a limited time |
The Free plan includes $1 a month for voice agents. That’s at most 33 minutes at $0.03, and fewer once LLM and number fees are counted. New calls stop when it runs out, since Free has no overages. Paid plans start at $5 a month.
Where to start
Create an agent on Managed Agents from a template, then test it against the calls you expect. The AI receptionist and AI outbound calling pages have sample calls to compare against.