Agents
Test an agent
Run an agent on a sample call or a pasted transcript, read the result, and adjust it before it scores real calls.
Before an agent scores real calls, run it on a transcript and check that it grades the way you would. A test shows the same report you'll see on a real call. It doesn't create a call, doesn't appear on the Calls page and never sends an alert, so you can run it as often as you need while you tune the agent.
Run a test
The test panel is on the right of an agent's page, under Test against transcript. It works once the agent has been saved: on the New agent page it says Save the agent before running a test.
- Open the agent from the Agents page.
- Fill the transcript box (Paste a call transcript here…) in one of two ways:
- Select Use sample call to load the agent's built-in sample. The three starter agents each have one.
- Paste a transcript of your own. It needs at least 50 characters and can be up to 10,000. The counter under the box shows where you are.
- Select Run test.
While it runs, the panel steps through Reading transcript…, Calling agent…, Scoring criteria… and Building report… with a timer. If a test runs past a minute, the panel says Taking longer than expected.
Read the result
The result appears in the panel, in this order:
| Part | What it tells you |
|---|---|
| Grade and score | A letter grade and a score out of 100. If the score is below the agent's Flag below score, you also see Flagged, which is what would send an alert on a real call. A short summary sits underneath. |
| Strengths | What went well, with quotes from the transcript. |
| Weaknesses | What was missed or done badly, with quotes. |
| What this agent looked for | One line per criterion: met or not met for a yes or no criterion, a rating for a scaled one, plus a short note and a quote from the call where there is one. |
| Recommendations | Specific coaching for next time. |
| Coaching | A few sentences you can paste into a 1:1 note. |
Sections with nothing in them are left out.
If the panel shows Didn't apply with a one-line reason, the agent decided the transcript wasn't the kind of call it's built for (a support call given to a sales agent, for example). It gives no score. On a real call the agent's card shows Didn't apply too, and the call is never flagged or alerted by that agent. If you expected the call to be scored, make the prompt clearer about which calls the agent is for. See Write good instructions.
Iterate
Testing works best as a short loop:
- Run the test and read What this agent looked for first. For each criterion, ask whether you'd have graded it the same way.
- Where you disagree, change the criterion's wording or add a Description (optional) that says what good looks like. If the overall score feels off, adjust the Weight (1–10) on the criteria that matter most.
- Select Save changes, then Run test again on the same transcript.
- When it grades the sample the way you would, try two or three real transcripts: one good call, one poor one and one borderline. A good agent spreads them apart.
- Set Flag below score to a little above the score of a call you'd want to hear about.
Each save that changes the prompt or criteria creates a new version, so you can see from the version number which one you're testing.
If a test fails
| Message | What to do |
|---|---|
| You already have a test running. Wait for it to finish. | Only one test runs at a time. Wait for the first to finish. |
| You have used your 30 tests this hour. Try again later. | Tests are limited to 30 an hour. Try again later. |
| Testing is paused for today because your account hit its daily safety limit. It resets at midnight UTC. | Your workspace reached its daily spending safety limit. Tests start working again after midnight UTC. |
| The model took too long. Try a shorter transcript or run again. | Run it again, or test a shorter transcript. |
| The model is busy right now. Try again in a few seconds. | Wait a few seconds and run it again. |
| The model returned a response we could not parse. We have logged the details. | Run it again. If it keeps happening, try a different transcript. |
| Transcript exceeds the 10,000 character limit. Trim it down. | Shorten the transcript. A test takes up to 10,000 characters; real calls can be longer. |
| Run test is greyed out | The transcript is shorter than 50 characters or longer than 10,000. |
| A message that an archived agent can't be tested | Set Status to Draft or Active, save, then test. |