Topic 5 of 5 · 4 min read
Monitoring live voice and vision sessions
Goal: Choose the production metrics and alert thresholds that would catch a voice agent getting worse after a model update.
Monitor live sessions with a few outcome and behaviour rates, compare them to a baseline, and alert on a change after any model or prompt update. Offline tests cover what you thought of; production shows the rest.
Check yourself · 1 of 3
A speech provider updates its model. Which signal would most likely reveal a quality drop with no errors in the logs?
Why it matters
Providers update models, prompts get edited, and callers change their habits. A voice agent can get worse without a single error in the logs. Nobody reports "the agent is 10 per cent more likely to give up", but a transfer rate that moves from 12 to 22 per cent shows it.
How to do it
- Pick outcome rates. Task completion where you can check it, transfer to a human, hang-up before the task is done, repeat-call within 24 hours.
- Pick behaviour signals. Interruptions per call (the caller talking over the agent usually means the agent is slow or wrong), long silences, "sorry, I did not catch that" counts, retries of the same question.
- Pick vision signals. Share of extractions below a confidence threshold, share of fields empty, share sent to human review.
- Keep latency percentiles. p50 and p95 time to first audio, per stage, as in the latency topic.
- Set a baseline and a threshold. Use two or three normal weeks. Alert when a rate leaves its normal band for a set number of calls, not on one bad hour. A common rule is a comparison of the last 500 calls to the baseline.
- Tag every call with versions. Model name, prompt version, speech provider. After an update, you compare before and after on the same tags.
- Sample recordings with consent. Review a small random sample of recordings and transcripts for rubric scoring, but only where callers consented, and follow your retention and privacy rules. Redact personal data in stored transcripts.
Before and after
Before: an alert on "any error", and a dashboard of total calls.
After:
| Metric | Baseline | Alert when |
|---|---|---|
| Transfer rate | 12% | above 18% over 500 calls |
| Interruptions per call | 1.1 | above 1.8 |
| p95 time to first audio | 2.4 s | above 3.5 s |
| Low-confidence extractions | 6% | above 10% |
What goes wrong
- Alerting on tiny samples. Ten calls in an hour will swing wildly. Wait for enough volume.
- Recording without consent. It is a legal and trust problem, and some regions require explicit notice.
- No version tags. You see the drift but cannot connect it to the update.
Examples
Catching a silent regression
After a speech provider update, the transfer rate climbs from 12% to 21% over three days, and interruptions per call rise from 1.1 to 1.9. No errors appear in the logs. The version tags show the change began with the update, so the team rolls back and reruns its test scenarios against the new version.
Consent for sampling
The agent says at the start: "This call may be recorded to improve our service." Calls where the caller objects are not stored. A reviewer reads 20 random consented transcripts each week and scores them with the same rubric used in testing.
Key points
- Monitor a few rates, such as transfer, hang-up, interruptions and low-confidence extractions, not just errors and call counts.
- Compare the same metrics before and after any model or prompt update, using version tags on each call.
- Alert when a rate leaves its baseline band over enough calls, not on one bad hour.
- Latency percentiles stay on the dashboard in production, per stage.
- Review recordings only for callers who consented, and redact personal data in stored transcripts.
Common mistakes
- Alerting only on exceptions and missing silent quality drops.
- Setting alert thresholds without a baseline period.
- Not recording model and prompt versions on each call.
- Storing recordings with no consent and no retention limit.
Check yourself · 2 of 3
Why tag each live call with model and prompt version?
Check yourself · 3 of 3
Before storing live call recordings for review, what must you have?
Practice items, not counted towards your mastery.
Start here
- Debugging and testing overview (LiveKit docs) (opens in a new tab)DocsFree
How to write automated tests and evals for a voice agent, with scripted turns and tool-call checks.
- JiWER: word error rate and related metrics in Python (opens in a new tab)ToolFree
A small library for scoring transcripts with word error rate, to measure the transcription stage.
- Open ASR Leaderboard (Hugging Face) (opens in a new tab)ToolFree
Public word-error-rate comparisons of speech recognition models, and a model for reporting them.