Voice agent evaluation in production: grading live calls after the tests pass
Short answer
Voice agent evaluation in production grades finished live calls, not test scripts. Collect each call's transcript and tool log by webhook, API or OpenTelemetry trace. Grade it against numbered, versioned rules, read tool results from the log and quote the evidence. Send calls a transcript can't settle to review, and pin the grader version so release comparisons are fair. Latency monitoring is a separate job.
On this page
- Is evaluation the same as voice agent observability?
- How do you get finished calls out of Retell, Vapi, Bland and ElevenLabs?
- How do you evaluate a LiveKit or Pipecat agent from OpenTelemetry traces?
- What should a graded call record hold?
- How do you check that a required tool call fired and succeeded?
- What happens when the transcript can't settle a rule?
- How do you compare releases without the grader moving underneath?
- What should the pipeline do before you trust it?
- Questions
- Sources
Pre-release evals check the scenarios someone wrote down. Production is every call nobody scripted. In this blog's shared example, release v14 passed its suite, its latency dashboard stayed green, and it still read the balance before the debt collector disclosure on 190 calls (Illustrative). Nothing was slow, so nothing alerted. Pipecat's own docs say strong evaluation programs "keep both layers active": tests beside the code, and a platform that monitors conversations and tracks quality over time (Pipecat).
Is evaluation the same as voice agent observability?
No. Voice agent observability is monitoring how a call ran: latency at each stage, interruptions, errors and cost. Production evaluation is grading what a finished call did against rules you wrote down.
| Observability | Evaluation | |
|---|---|---|
| Asks | How long until the agent replied? Did the caller interrupt? Which stage was slow? | Did the disclosure come before the balance? Did log_promise fire and return success? Which rule did this release break, on which calls? |
| When | Alerts within seconds | Verdicts after the call ends |
| Owner | On-call engineering acts on it | QA and compliance own it; engineering fixes it |
Retell's call record already carries a latency object with p50 to p99 for end-to-end, speech recognition, large language model (LLM) and text-to-speech (Retell). LiveKit puts e2e_latency and end_of_turn_delay on each turn (LiveKit). None of those fields says whether the agent followed your standard operating procedure (SOP). A release that swaps the order of two sentences moves no latency number.
How do you get finished calls out of Retell, Vapi, Bland and ElevenLabs?
Take the webhook for speed and reconcile against the list API for completeness.
| Platform | Finished call arrives as | Tool results live in |
|---|---|---|
| Retell | call_ended webhook; Get Call and List Calls APIs | transcript_with_tool_calls: tool_call_result entries with a successful flag |
| Vapi | end-of-call-report server message; List calls API | artifact.messages, which include tool calls and results |
| Bland | The call's webhook URL when the call ends; GET /v1/calls/{call_id} | No dedicated tool-result field documented; custom tool outputs land in variables |
| ElevenLabs | post_call_transcription webhook; Get conversation API | tool_results on each transcript turn, with is_error |
What breaks in practice:
- Missed deliveries. Vapi sends the report once unless you set
server.backoffPlan, and a call that fails before it starts may get none. ElevenLabs retries are disabled by default. Retell retries up to three times. List each day's calls and fetch any you missed. - Duplicates. Retries resend the same record. Dedupe on the call ID (Retell suggests
eventpluscall_id). - The only copy. Under Vapi's Zero Data Retention, the report carries transcripts and messages that Vapi doesn't keep on the call. Save it on arrival; there's nothing to backfill from.
Stamp the release on every record: agent_version on Retell, pathway_version on Bland, version_id on ElevenLabs, your own ID elsewhere (tagging calls by agent version).
How do you evaluate a LiveKit or Pipecat agent from OpenTelemetry traces?
OpenTelemetry (OTel) is an open standard for traces: each call becomes a trace, and each step in it (a turn, an LLM request, a tool call) becomes a timed span. LiveKit and Pipecat both emit them; check three things before grading from them.
- Tool results are on the span. LiveKit records each tool call's arguments and return value as
lk.pii.function_tool.argumentsandlk.pii.function_tool.output(LiveKit). Pipecat documents per-callllm_tool_callspans withgen_ai.tool.call.resultonly for realtime speech-to-speech services; a standard pipeline's LLM span lists the configured tools and the reply text. If your spans lack results, wrap your tool handlers in your ownexecute_toolspan, as the OTel GenAI conventions define it:gen_ai.tool.call.id, an opt-ingen_ai.tool.call.result, anderror.typewhen the call failed. - Content survives export. LiveKit's
allow_pii=Falsestrips transcripts, tool payloads andgen_ai.tool.call.resultbefore any exporter on that tracer provider sees them, which suits a general monitoring backend and starves a grader. Project redaction goes further: if personally identifiable information (PII) redaction is on for your LiveKit Cloud project or session, the SDK strips the same fields from every exporter, andallow_pii=Truedoesn't override it (LiveKit). Check that setting before a grader depends on your traces, and send call content only to systems covered by the same data agreement as your recordings. - The trace says which release ran. LiveKit's
set_tracer_provider(..., metadata=...)puts your attributes on every span, so stamp the release ID there. Pipecat takes aconversation_id; map it to your call ID and release.
Pin your LiveKit, Pipecat and convention versions. The GenAI conventions are still marked Development, and LiveKit's span changes in Agents 1.7.0 and 1.8.0 broke old dashboards without raising an error, so alert when a rule's applicable-call count drops to zero.
Simpler still, LiveKit's ctx.make_session_report() inside on_session_end builds one JSON record per session in your own agent process (LiveKit). Project redaction strips exported traces but not data your agent collects itself, so this record keeps its content (LiveKit). Post it to the grader under the same data agreement as your recordings, because nothing has been redacted from it.
Loops (useloops.ai) takes calls the same three ways: an API key for Retell, Vapi, Bland and ElevenLabs (read-only where the platform allows), OpenTelemetry for LiveKit, Pipecat and in-house agents, or a webhook from anything else (how it works). Whichever way, the three checks above decide what it can grade.
What should a graded call record hold?
One row per rule per call, written once; a reviewer's override is a new row pointing at the old one. Here's an illustrative call on v14 and the record behind one verdict.
Agent: Hi, this is Maya, an automated assistant calling for Quillfeather Services on a recorded line. Am I speaking with Luis Ortega?
1.1 met Opening: business named and recording announced in the first turn
Customer: Yes. Make it quick, I'm [inaudible] at work.
5.3 needs review Inconvenient time: "I'm [inaudible] at work" at 00:09 may say now is inconvenient; a person must hear the audio
Agent: Can you confirm your date of birth?
Customer: July 19, 1990.
1.2 met Right party: verify_identity returned a match at 00:17
Agent: Thank you. Quillfeather Services is a debt collector. This is an attempt to collect a debt, and any information obtained will be used for that purpose. Your balance with Alder Card is $2,316.40.
2.3 met Disclosure: quoted at 00:21, before the balance at 00:29
2.4 met Balance: $2,316.40 matches what get_balance returned at 00:19
Customer: I can do $150 on October 3.
Agent: Done. That's logged for $150 on October 3.
4.1 missed Promise logged: the agent said "That's logged" at 00:44; the tool log has no log_promise call
5.1 not checked Calling hours: needs the call time, the account's address and every number's area code
The record for the 4.1 verdict. Field names and values are illustrative, a shape you could copy, not any product's API schema:
| Field | Example value (Illustrative) | Why it's there |
|---|---|---|
call_id | call_7qd2e9 | Platform ID; the dedupe key |
release | v14 | Platform version field or your own stamp |
rule | 4.1 | The numbered SOP rule |
sop_rev | 7 | The approved revision the grader used |
verdict | missed | One of met, missed, needs_review, not_checked |
evidence_quote | "Done. That's logged for $150 on October 3." at 00:44 | The line the verdict relied on |
quote_found | true | Code found the quote in the stored transcript |
tool_evidence | No log_promise invocation | Tool rules read the tool log |
grader_version | Model, settings, prompt hash, parser hash | So two periods can be graded alike |
override | Empty | A reviewer's change, who made it and why |
How do you check that a required tool call fired and succeeded?
Read tool-call rules from the tool log, matched by ID. In the call above, the agent said "That's logged" and nothing was, so a transcript-only grader passes it: one of the hallucinations that sound like a good call. Rule 4.1 can miss three ways; the verdict names which:
- Never fired: no invocation in the log.
- Fired and failed: Retell's
successfulis false, ElevenLabs'is_erroris true, or the OTel span carrieserror.type. - Fired and reported success with an error inside: a payments API that answers 200 with
"status": "error"in the body passes a flag check. Parse the result, and write what success means for each tool into the rule.
Match invocations to results by tool_call_id on Retell, request_id on ElevenLabs and gen_ai.tool.call.id on OTel spans. A result with no matching invocation is a pipeline bug, not a verdict.
Where the record has no tool-result field, as on Bland's call details page, write an explicit success or error into variables, or store Bland's tool events from webhook_events (Bland). Until then, rule 4.1 is not checked, never passed on the agent's word.
What happens when the transcript can't settle a rule?
The grader says so. Two verdicts handle it, and neither counts as a pass or a fail:
- Needs review: the answer depends on audio the transcript lost, like rule 5.3 above; a reviewer gets the timestamp.
- Not checked: the rule needs records the pipeline didn't receive, like the call time and area codes rule 5.1 needs.
Interrupted turns need the same care. When a caller talks over the agent, some records keep the whole generated reply rather than the part that played, so a disclosure the caller cut off reads as said. Pipecat's context keeps only what played (Pipecat), but its LLM span's output holds the complete response, and the turn span's turn.was_interrupted marks the turns to check (Pipecat). Check how your platform records an interrupted turn; until the record shows what played, send required wording on those turns to review.
Every met or missed verdict quotes a line or tool record, and a quote missing from the stored transcript is a grader failure to rerun.
How do you compare releases without the grader moving underneath?
Pin the grader. A grader version is the exact dated model ID, its sampling settings, and a hash of the prompt, the SOP revision and the code that reads the transcript and tool log. If a comparison spans a grader change, a rule's change in miss rate mixes the agent's change with the grader's. Pinning makes a grader stable, not right: one that gives the same verdict on every rerun can be wrong the same way every time, and one built on the agent's own model and prompt can share the agent's blind spots. Only agreement with your own reviewers, rule by rule, says it's right; grading calls with your own LLM judge covers how to measure it.
- Stamp
Release ID on every call; grader version and SOP revision on every verdict.
- Pin
One grader version for both releases. If it changed, regrade the older side.
- Compare
Each rule's miss rate, release against release, with a 95% interval.
- List
The calls behind every rule that moved, with the quoted line.
In the shared example, that comparison flagged rule 2.3 on v14 (up 1.6 points, 95% interval 1.3 to 1.9) and listed its 190 calls (Illustrative); why a release that passes its tests can still break a rule covers call counts and intervals.
What should the pipeline do before you trust it?
- Every finished call arrives, reconciled daily against the list API Ingest
- Duplicates dropped by call ID; webhook signatures verified Ingest
- Tool results on the record, matched to invocations by ID Ingest
- Call content reaches the grader, wherever monitoring redacts it Ingest
- Each rule numbered, in an approved SOP revision Rules
- Every verdict quotes a line or a tool record, checked in code Grader
- A grader version on every verdict Grader
This is general information, not legal advice.
Start with ingestion this week: one platform, its webhook, a daily reconcile and a check that tool results arrive. Then grade your five most important rules with a pinned grader and compare your next release. Loops grades after the call, returns verdicts by API and never writes to your agent; its free 30-day audit runs on your own calls.
Questions
Should production evals run in real time, during the call?
Not for rule grading. Most rules need the whole call: whether the disclosure came before the balance, or whether a promise was logged by the end. A mid-call verdict also can't change anything without writing to the agent. Keep real-time alerts for latency, interruptions and errors in your observability stack, and grade within minutes of hangup so a regression shows up the same day.
Do we need to grade every production call, or is a sample enough?
A sample shows trends. A release comparison on rare misses needs volume: detecting a rise in a rule's miss rate from 0.5% to 1.0% takes roughly 4,700 calls per release at 80% power and 5% significance. Grading every call also gives you the list of calls behind a change, which is the part someone actually fixes. A sample can only estimate how many there were.
Can our platform's built-in post-call analysis serve as the eval?
Use it as a signal and check what it records. Retell's call_successful flag says whether the agent completed the task without the call being cut off, which is a task outcome, not a rule verdict. Before you rely on any built-in analysis, check whether it stores the version of its criteria, quotes the line it relied on, reads tool results from the log, and lets you regrade old calls with a new version.
How do we evaluate an in-house agent that isn't on any platform?
Emit the same record the hosted platforms do. Either export OpenTelemetry spans that follow the GenAI conventions, with an execute_tool span per tool call carrying its call ID, result and any error type, or post one JSON record per call at hangup: the transcript with timestamps, every tool invocation and result matched by ID, and the release ID. The grader then sees one shape whatever built the agent.
Where should production eval data live, given that it holds personal data?
Only in systems covered by the same data agreement as your call recordings, because transcripts and tool payloads carry names, balances and account details. Redacting traces for a general monitoring backend is sensible, but don't redact the copy the grader reads: it can't grade text it never receives. Keep verdicts, with their quoted evidence, for as long as the call records they evidence.
Sources
- Semantic conventions for generative AI tool execution (execute_tool span), OpenTelemetry
- OpenTelemetry traces, LiveKit
- Data hooks: session reports and per-turn metrics, LiveKit
- OpenTelemetry Tracing, Pipecat
- Webhook overview, Retell AI
- Get Call, Retell AI
- End-of-call report, Vapi
- Post-call webhooks, ElevenLabs
- Get conversation details, ElevenLabs
- Call Details, Bland AI