Clustering production voice agent failures means grouping failed calls by the mechanism that broke them, so one fix and one regression test retire an entire family of failures instead of one ticket.
This runbook is for teams already running a voice agent in production with call records, transcripts, and tool traces to work from. If you are pre-launch, start with the monitoring platform guide instead; triage only works once production evidence exists.
The trap is triaging by symptom. "Caller hung up angry" is a symptom shared by a timed-out booking tool, a misheard account number, and a fabricated store hour. Teams that bucket by symptom fix the same root cause five times under five ticket titles and never see the recurrence.
TL;DR: Pull failed calls daily, assign each to a root-cause family using the signal in the call record: tool traces for tool errors, ASR confidence for mishears, time-to-first-audio gaps for TTS stalls, transcript-versus-source checks for hallucinations, policy flags for compliance. Replay the worst call in each cluster, isolate the failing turn, and convert it into a deterministic regression test before the fix ships. Then track failure rate, time to resolution, and repeat failures per family, not blended.
Methodology Note: This runbook is based on Hamming's analysis of production failure triage workflows and the signals that drive them across 10K+ voice agents (2025-2026). We've tested agents built on Sierra, Decagon, ElevenLabs, LiveKit, and custom-built solutions.Clustering thresholds such as ASR confidence cutoffs need calibration against your own stack and audio conditions before they gate anything.
Last Updated: November 2026
Related Guides:
- Voice Agent Monitoring Platform Guide - the platform overview this triage loop runs on
- Post-Call Analytics Metrics and Monitoring - the pipeline that produces the call records this runbook reads
- Failed Production Call Regression Test Runbook - single-call mechanics for converting one failure into one test
- Root-Cause Clustering Method Guide - the clustering method itself, with failure signatures and validation
- Call Review Triage Runbook - ranking which calls humans review first
- Failure Rate Metric Dictionary - numerator and denominator rules for the rates used here
- Daily Failure Report Template - the report this loop feeds every morning
What Is Production Failure Clustering?
Definition: Production failure clustering assigns every failed voice agent call to a root-cause family based on evidence in the call record (tool trace, ASR output, audio timing, transcript, policy flags), so fixes, tests, and metrics operate on families instead of individual calls.
The unit of work changes. A ticket queue asks "what happened on this call?" A cluster queue asks "how many calls broke this same way, is that number rising, and what single test proves the fix?"
This runbook is the operational loop: it connects the clustering method and the single-call regression mechanics, both in the Related Guides list above, into a daily practice.
Cluster Failures Into Root-Cause Families, Not Symptom Buckets
Start with five families. Each is identified by a different signal in a different part of the call record, which is what makes the clustering mechanical instead of judgmental.
| Cluster | Signal that identifies it | Where it shows in the call record |
|---|---|---|
| Tool call errors | Tool span ends in an error, returns a timeout, or the expected tool never fires | Tool trace: request, response, status, and error.type on the tool span |
| ASR confidence drops | Low word-level confidence on the entity the agent acted on; caller repeats or corrects | ASR output: per-word confidence, plus correction turns in the transcript |
| TTS timeouts | Long silence between the agent's text being ready and audio reaching the caller; caller says "hello?" | Turn timing: gap between the first text chunk sent to TTS and the first audio frame back, since streaming agents can start audio before generation finishes |
| Hallucinations | Agent states a fact, price, or policy with no supporting tool response or knowledge source in the trace | Transcript claim with no matching tool or retrieval span behind it |
| Compliance violations | Required disclosure missing, or restricted data spoken aloud | Post-call policy evaluation flags on the transcript |
Assignment runs as automated checks over these five signals, which assumes the instrumentation already exists: tool traces, ASR confidence scores, latency spans, and post-call evaluation. Manual review covers the calls no rule can place, plus an independent random sample of eligible calls, so the loop also catches failures the rules confidently misclassify or omit instead of calibrating only on unassignables. The hallucination and compliance families depend on a post-call evaluator rather than a raw trace lookup, and the manual-sampling leg of this loop is what checks that evaluator's calibration.
Two of these signals have public, checkable definitions worth anchoring on. For ASR, Deepgram documents word-level confidence as a floating point between 0 and 1 representing the model's estimated probability that the word was transcribed correctly, describes the scores as calibrated, and notes that a threshold around 0.65 works well as an error detector, while recommending you evaluate precision and recall at multiple thresholds on your own data. For tool spans, the OpenTelemetry GenAI conventions define an execute_tool span named execute_tool {gen_ai.tool.name}, with error.type set when the operation ends in an error; the conventions are in Development status, so pin the version you instrument against.
A call can land in two families. A mishear that feeds a wrong argument into a tool is an ASR failure, not a tool failure: cluster by the first broken link in the chain, because that is where the fix goes. The deeper ASR taxonomy is in 7 voice agent ASR failure modes.
Turn Each Cluster Into a Regression Test Before the Fix Ships
A cluster without a regression test is a cluster you will triage again next quarter. Convert the clearest call in each cluster into a deterministic test, using this procedure:
- Pick the cleanest exemplar call, not the worst one: full tool trace, clear failing turn, minimal unrelated noise.
- Replay the call against a non-production agent with the same prompt version, with every tool dependency mocked or fixture-isolated; never point the replay at production credentials or live integrations, because a replayed tool call against the production configuration can still write to production systems. Before any call evidence leaves production, redact or re-synthesize the caller audio, scrub fixture payloads, and run a leakage and re-identification assessment on the result, because redaction and re-synthesis do not by themselves make a recording unlinkable, and the consent and PII scope attached to it travel with it. Then confirm the failure reproduces; if it does not, the cluster signal is wrong, so go back one step.
- Isolate the failing turn: the specific caller utterance, tool response, or timing condition after which the call diverged from the expected path.
- Freeze the inputs for that turn: scripted caller utterance (or the audio itself for ASR clusters), mocked or sandboxed tool responses, pinned fixture data.
- Write the assertion against the mechanism, not the transcript: the tool span succeeds with the right arguments, the confirmed entity matches the fixture, the disclosure line is present, first audio arrives within the budget.
- Run the test 3 to 5 times before the fix to confirm it fails deterministically, then ship the fix and confirm it passes the same way.
- Promote it into the suite gate that matches its blast radius, per the regression testing guide, and tag it with the cluster ID so recurrence links back.
Step 7 is the one teams skip. An untagged test still protects you; a cluster-tagged test also tells you, when a new failure matches an old cluster, that a supposedly fixed family came back.
Track Failure Rate, Time to Resolution, and Repeat Failures Per Family
A blended failure rate tells you the agent got worse. Per-cluster metrics tell you what to do about it. Three are enough:
| Metric | How it is computed | What it tells you |
|---|---|---|
| Failure rate per family | Calls in the family divided by eligible calls in the window, using the denominator rules in the failure rate dictionary | Which family is growing and whether a deploy moved it |
| Time to resolution (MTTR) | Average of (fix verified in production minus the failure first detected) across families resolved in the window | How long a known failure family stays live for callers |
| Repeat failures after a fix | Failure families that come back after being marked fixed, as a share of the families fixed in the window | Whether fixes are root-cause fixes or symptom patches |
For MTTR, use Atlassian's incident-metrics definitions as the anchor: mean time to resolve is the average time it takes to fully resolve a failure, distinct from mean time to recovery, and Atlassian notes the acronym covers several variants, so state which clock you run and whether it counts business hours. Stop the clock at verified in production, not at pull request merged; the gap between those two is where recurrence hides.
Fixes that address exemplar calls rather than mechanisms keep recurring. Sustained recurrence is the loudest signal in this whole loop: it means the clustering step needs tightening before the testing step can help.
Monitor Tool-Call Failures and Latency Spikes Continuously, Not in Weekly Review
Tool errors and latency regressions are the two families most exposed to a deploy or a vendor-side change, so they need standing monitors rather than batch review:
- Tool-call error monitor: alert on tool error rate per tool name, not aggregate, because one broken integration drowns in a healthy average across ten tools.
- Expected-tool-missing monitor: flag calls in tool-dependent flows where the required tool span never appears; the silent no-op is worse than the visible error.
- Latency spike monitor: track time to first audio per turn and alert on the tail (p95), since the median stays flat while the slowest turns are what callers abandon.
- Change correlation: annotate each monitor with deploys and prompt version changes, so a spike maps to a change within minutes instead of a day of bisecting.
Wire these into the alerting layer described in the monitoring platform guide; the pipeline fields they read from are covered in post-call analytics. Monitoring flags and alerts on these conditions; the fix still ships through the regression loop above.
Pick the Right Detection Method for Each Job
Sampling, clustering, and replay answer different questions; none replaces the others:
| Method | What it catches | Cost | Latency to detection |
|---|---|---|---|
| Manual sampling | Failure modes no one has defined yet; calibration drift in automated checks | High per call reviewed, so coverage stays a small sample | Days: bounded by review cadence and sample luck |
| Automated clustering | Volume and trend of every known failure family across all eligible calls | Low per call once signals are instrumented; setup cost up front | Minutes to hours after the call completes |
| Replay-based verification | Whether a specific fix actually removed the mechanism, and whether it held after later changes | Moderate per scenario; runs only on the scenarios you promoted | Immediate at deploy time, before callers see the change |
The loop uses all three: sampling finds the family you have not named yet, clustering measures it, replay retires it. Dropping any leg shows up predictably: no sampling means new failure modes go unnamed, no clustering means you fix anecdotes, no replay means the same failures keep coming back after their fixes.
Daily Triage Checklist
Run this loop daily while failure volume is above a handful of calls, weekly after it stabilizes:
- Pull yesterday's failed calls and assign each to a cluster by its identifying signal
- Route unassignable calls to human review triage as candidate new clusters
- Review an independent random sample of all eligible calls, flagged or not, to catch confident misclassifications and the failures the evaluator never flagged, and keep it calibrated
- Check cluster failure rates against the prior 7 days; investigate any family that doubled
- Confirm every active cluster has an owner and a regression test in progress
- Verify fixes shipped yesterday against their cluster-tagged tests and close clusters that pass
- Log recurrences: any closed cluster with new matching calls reopens with a note on why the fix missed
- Publish the summary in the daily failure report
The test of a working loop is boring: a cluster closed after a verified root-cause fix should not reappear in a later review. An open cluster showing up in consecutive reviews is not recurrence, it is unfinished work; track unresolved families by age instead, and check recurrence only after verified closure. If closed clusters keep reopening, the problem is upstream of monitoring, in how the fix was scoped or how the cluster was defined.