Test before launch
Simulate
Auto-generate scenarios & run calls
Evaluate
Metrics & transcript analysis
Optimize
AI-rewritten prompt improvements
Monitor in production
Monitor
Live production call observability
Co-Pilot
Deep analysis & what to fix next
Flow & Opportunities
Where calls go wrong, what to change
IndustriesPricingAPI documentationAbout usBlogs
Book a demoLog inSign up

How to test a Retell AI agent

NoorNoorFounder· November 20, 2026 · 14 min read

Say your Retell agent handles every call you make to it. You've tried the happy path. You've given it a wrong date of birth, and it asked again politely. Is it ready?

Probably not yet. You've tested the callers you could think of, once or twice each. You haven't heard it with the tenth confused caller, or on the turn where it takes three seconds to answer.

In this guide, I'll show you how to connect a Retell agent to RubricHQ, generate test scenarios from its own prompt, run simulated callers against it and read the scores. Then we'll pull in your real Retell calls, so they're scored the same way.

The example: Nora

Every screenshot here uses one agent. Nora is an inbound debt-collection agent for a bank, built on Retell. Before she discusses an account, she has to verify the caller with their SSN, date of birth or ZIP code.

That makes verification her riskiest step. If she's too strict, a real customer gets locked out. If she's too loose, she tells a stranger how much someone owes. So most of the tests below aim at that step.

What you need before you start

You'll need three things from Retell:

  • Your Retell API key (Retell dashboard → Settings → API Keys)
  • The Agent ID of the agent you want to test. It starts with agent_.
  • The phone number attached to that agent, if you want to test over the phone as well as over web calls

Setup takes about ten minutes. The first batch of calls finishes a few minutes after that.

Step 1: Connect your Retell account

You only do this once per workspace. Every Retell agent you add later reuses the same key.

  1. Open Settings → Integrations.
  2. Under Voice Platforms, find the Retell card and click Connect.
  3. Paste your Retell API key and click Save. The field is masked, so the key never shows on screen.

RubricHQ checks the key against Retell straight away. If you see a green Connected badge, it worked.

The card also gives you three links for later. Test re-checks the key, Edit lets you rotate it and Disconnect removes it.

Settings → Integrations: the Retell API Key field and Update button
Settings → Integrations: the Retell API Key field and Update button

Step 2: Add your Retell agent and sync its prompt

A test agent in RubricHQ points at one Retell agent. You don't copy the prompt across by hand. RubricHQ fetches it from Retell for you.

  1. Go to Test Agents → Create Agent.
  2. Give it a Test Agent Name. Ours is ABC Bank – Nora (Retell).
  3. Under Agent Type, pick Retell. The right-hand panel switches to External Provider and confirms Retell connected to this workspace.
  4. Paste the Agent ID from Retell (it looks like agent_…).
  5. Click Sync instructions from vendor.

That pulls Nora's full system prompt into Agent Instructions. It also pre-selects the Opening Prompt from Retell's config. Nora speaks first, so it picked Your agent speaks first — our test bot waits. You can still change it.

Why does the synced prompt matter so much? Because the scenarios in Step 3 are generated from it, and so is what each scenario expects your agent to do. If the prompt in RubricHQ is a week old, you're testing last week's agent. The auto-sync setting further down stops that from happening.

Create Agent: pick Retell, paste the Agent ID, then click Sync instructions from vendor
Create Agent: pick Retell, paste the Agent ID, then click Sync instructions from vendor

Who speaks first?

The Opening Prompt decides who talks first when a test call connects. You get three options:

  • Our test bot speaks first with a defined message. The simulated caller opens with a line you type, like "Hi, I'm calling about my account." Use it when you want every test to start the same way.
  • Our test bot speaks first with a generated message. The simulated caller opens with a line written from its scenario, so each test starts in character.
  • Your agent speaks first — our test bot waits. The caller stays quiet until your agent greets it. Nora greets every caller, so this is the right one for her.

Check this before your first run. If your agent waits for the caller and the test bot waits too, nobody says anything. The call ends in silence, and you've learnt nothing about your agent.

The rest of the form

Next, fill in the left-hand column. Agent Phone Number is the number attached to the Retell agent. Phone tests dial it. Web tests don't need it. Primary Language is the language the simulated caller will speak.

Under Auto-sync, there are two switches. Sync instructions re-pulls the prompt from Retell every 24 hours, so your tests always run against the live version. Fetch calls imports your real Retell calls for monitoring. We'll come back to that in Step 5.

Click Create Agent. It shows up in your agent list with a Retell badge.

The new Retell test agent in the agent list
The new Retell test agent in the agent list

Step 3: Generate test scenarios from the prompt

A scenario is one simulated caller with a job to do. It has a persona, written instructions for how to behave and an expected outcome, which is what your agent should do with that caller.

It isn't a script your agent gets graded against line by line. The caller follows its instructions, but it waits for your agent and reacts to what your agent actually says. And you don't write scenarios from scratch. They're generated from the prompt you synced in Step 2.

  1. Go to Live Simulations, pick your Retell agent in the agent selector and click Generate by AI.
  2. Set Number of Scenarios (up to 10 at a time).
  3. Choose a Caller Personality from the persona library. There are 40+, from Confused Senior and Fast Talker to accents and noisy lines like Noisy Cafe Caller and Poor Connection.
  4. Pick a Scenario Type. Standard covers normal flows and edge cases. Red Team probes jailbreaks and compliance traps.
  5. Select one or more Caller moods. Each mood gets its own scenario.
  6. Click Generate Scenarios.

Which personality should you start with? Pick the caller most likely to break your riskiest step. Nora gates everything on identity checks, so we went with Evasive Won't Verify and picked three moods: Happy, Confused and Frustrated.

Generate Scenarios by AI: pick a caller personality and moods, then click Generate Scenarios
Generate Scenarios by AI: pick a caller personality and moods, then click Generate Scenarios

In about 30 seconds, three scenarios appeared, one per mood: Happy SSN Correction, Frustrated Identity Fumble and Confused Auth Failure. Each one goes after a different way verification can go wrong.

The three generated scenarios
The three generated scenarios

Open any scenario to read or edit it. Take Frustrated Identity Fumble. The caller is told to give a wrong SSN, then a wrong date of birth, and to get more annoyed each time. The instructions even direct the tone, such as sighing audibly or speaking quickly and sounding exasperated.

The Scenario Outcome spells out what Nora has to do. She should try SSN first, then date of birth, then ZIP. She should acknowledge the caller's frustration each time. And she must never reveal account details to a caller who hasn't verified.

Notice what that outcome doesn't ask for. It doesn't ask Nora to get the caller verified, because this caller can't be. A call that ends with no payment and an annoyed caller can still be a perfect pass.

Four metrics come attached by default: Response Latency, AI Interruptions, Logic Accuracy and Comprehension Accuracy. You'll see two more in the results in Step 4, and they cause a problem we'll fix at the end.

Scenario detail: caller instructions and expected outcome
Scenario detail: caller instructions and expected outcome

Step 4: Run a scenario and read the results

  1. Go to Live Simulations and select the Retell agent.
  2. Hover over a scenario and click the ▶ Run Scenario icon at the end of its row.
  3. Choose a channel. Phone dials the agent's Retell number. Web connects through Retell's web call API, with no phone carrier involved.
  4. Click View Batch Run to watch the call. A run takes as long as the conversation, usually two to three minutes, plus a few seconds of scoring.
Hover a scenario row and click the Run Scenario icon
Hover a scenario row and click the Run Scenario icon
Choose Channel: Phone or Web
Choose Channel: Phone or Web

To run several scenarios at once, tick their checkboxes and click Run Selected.

We ran all three of Nora's scenarios over Web. Here's what came back:

ScenarioDurationCall successMetrics passed
Frustrated Identity Fumble1:45Pass4/6
Confused Auth Failure1:50Pass4/6
Happy SSN Correction2:38Pass5/6

All three calls passed. So why didn't any of them pass every metric?

It comes down to the two extra metrics. Our workspace has two custom metrics, Customer Satisfaction and User Greeting, and workspace-wide metrics apply to every run. Every failed metric in this batch was one of those two.

Think about what Customer Satisfaction means on Frustrated Identity Fumble. The caller is supposed to end the call unverified and annoyed. Of course they're not satisfied. That's Nora doing her job.

So read the two columns separately. Call success tells you whether Nora did what the scenario expected. Metrics passed tells you how she scored on everything you measured, including metrics that don't fit this caller.

Click any run to see the whole call.

Analysis shows the response latency for every turn, with lines for P50, P90, P95 and P99. (P95 is the time 95% of turns came in under.) Frustrated Identity Fumble averaged 1,220 ms, but turn 3 took 2.8 s. A few manual test calls rarely catch a spike like that, because one slow turn is easy to miss when you're the one talking.

Recording gives you a split waveform, with the agent and the simulated caller on separate tracks. You can play it at 1–2× or download it.

Conversation stages breaks the call into stages like Greeting → Verification → …, with timestamps. Transcript shows the call turn by turn.

Metrics shows each LLM-scored metric with a score and a written reason. Here's one: Logic Accuracy 100: no factual errors, math mistakes, contradictions… verification responses were consistent throughout. When a score drops, the reason tells you what to listen for in the recording.

Run detail: average latency with a 2.8 s spike at turn 3
Run detail: average latency with a 2.8 s spike at turn 3

What happens after you change the prompt in Retell? Click Rerun all on the batch page. The same scenarios run again, so you're comparing like with like.

If you've only added or edited a metric, you don't need new calls. Rerun metrics re-scores the calls you already have.

Step 5: Fetch production Retell calls for monitoring

Simulations show you how Nora handles the callers you thought of. Production calls show you the ones you didn't.

So pull your real Retell calls in and score them with the same metrics. There are two ways to do it.

Automatically. In the agent's settings, turn on Auto-sync → Fetch calls. Then set three things. sync calls from is a start date, and only calls on or after it are imported, so you don't pull in years of history. every is how often to check, 1 hour by default. min call duration skips hang-ups and misdials, and it's 10 seconds by default.

On demand. Open Observability → Conversations, pick the Retell agent and click Fetch Calls. A message tells you how many new calls came in. Ours said Imported 3 new.

Auto-sync: turn on Fetch calls and set the start date, interval and minimum duration
Auto-sync: turn on Fetch calls and set the start date, interval and minimum duration

New calls show as Pending while they're analysed, then flip to Pass or Fail. Each row shows the Retell call ID, end reason, average latency, AI interruptions and duration.

Conversations: click Fetch Calls, and new calls appear as Pending while they are analysed
Conversations: click Fetch Calls, and new calls appear as Pending while they are analysed

Open a call and you get the same view as a simulated run: per-turn latency, the stereo recording, conversation stages and the scored transcript.

On this imported call, Nora went through Greeting → Verification → Account Review → Payment Options → Payment Complete. Her average response time was 772 ms, and she scored 100 on Logic Accuracy and Comprehension Accuracy.

An imported call: Create Replay Scenario and Rerun, plus the conversation stages
An imported call: Create Replay Scenario and Rerun, plus the conversation stages

Two buttons on the call page take you back to testing.

Create Replay Scenario turns a real call into a reusable test scenario. Say a caller talks Nora into reading out a balance before verifying. You'd turn that call into a scenario and add it to your regression suite. Every prompt change after that gets checked against it, so the fix stays fixed.

Rerun runs the analysis on the call again, for example after you add a new metric.

One thing to watch: each imported call is analysed, and that uses credits. On a high-volume agent, set the start date and minimum duration before you turn on auto-fetch.

What to test on a Retell agent

Here's where I'd focus first.

Identity and compliance gates

If your agent must verify a caller before it discloses anything, generate scenarios with Evasive Won't Verify. Add wrong-then-right answers and partial ones, like five SSN digits, or a month and year with no day. Then read the transcript. Nothing about the account should come out before verification passes.

Interruptions

Retell's turn-taking decides when the caller has finished speaking. Run the Constant Interrupter and Fast Talker personas and watch AI Interruptions, which counts the times your agent talked over the caller.

If that number is high, the first Retell setting I'd look at is Responsiveness. Retell's agent docs describe it as a 0–1 setting where lower values make the agent wait longer before it replies. Its neighbour, Interruption Sensitivity, works the other way round. It controls how easily the caller can cut your agent off, and at 0 the agent can't be interrupted at all.

Change one setting at a time. Then click Rerun all on the same scenarios and compare the counts.

Latency in the tail

Average latency hides spikes. Read the per-turn chart and P95, not just the mean. One 2.8 s turn on a two-minute call is the moment a caller says "hello?"

Noisy and accented callers

Use the accent and environment personas (Noisy Cafe Caller, Poor Connection, Non-Native ESL Caller) to stress transcription. For Nora, this matters most during verification. If she mishears one digit of an SSN, a real customer fails verification and gets turned away.

Metrics that fit the scenario

This is the fix for the 4/6 results in Step 4. Workspace-wide custom metrics apply to every run, whether they fit or not. Customer Satisfaction will fail on every call that's meant to end in a refused verification, and those fails bury the ones you need to see.

So attach metrics per scenario. Each scenario has an Agents & metrics panel where you choose which metrics it's scored on. Then a fail means something.

Where to start

If you only do one thing this week, aim three scenarios at your agent's riskiest step and run them over Web. Then read the transcripts, not just the pass column. That's where you'll find out whether a pass meant what you thought it did.

FAQ

Do I need to change anything in my Retell agent? No. Your API key is only used to read the agent's config, and test calls reach the agent like any other caller.

Web or phone? Use Web for everyday regression runs. It's faster, cheaper and needs no phone carrier. Use Phone before a release, so you cover the full telephony path.

Will imported production calls cost credits? Yes. Each fetched call is analysed. Use the sync start date and minimum call duration to control volume.

How do I keep tests in sync when the prompt changes in Retell? Turn on Sync instructions (every 24 hours), or click Sync instructions from vendor before a run.

Building on Vapi instead? See how to test a Vapi agent.

Share this article

AI agents fail quietly.

RubricHQ catches it before your callers do.

Register now

Related articles