# How we monitor drift in production voice agents

> Source: <https://dev.to/nicolascine/how-we-monitor-drift-in-production-voice-agents-3dfc>
> Published: 2026-11-24 20:10:25+00:00

**Recommendation:** Alert on handover rate versus a 14-day baseline and re-run adversarial call cases daily; pinning the model version only covers one of the five drift sources.
More in the playbook "Running AI in production": <https://wpnews.pro/playbooks/production-ops>

Your voice agent can stay up for a month with zero errors in the logs and still send callers to the wrong queue the whole time.

That's drift: the agent's decisions slowly moving away from what you intended, without anyone changing anything on purpose. I'd argue uptime is the wrong thing to watch first. If you only get one alert, make it the handover rate moving against its baseline, because that number moves when the agent's judgment moves and an error log doesn't.

I work on agents that take real calls and WhatsApp messages at [Judini](https://judini.ai). This post covers what we watch and a small version you can build yourself.

Drift has five common sources, and none of them throws an exception:

Because the agent keeps answering through all of these, your availability dashboard stays green.

Measure what your rules say a correct call looks like:

Write cases for the calls that break agents: the caller who interrupts, the one who says "get me a person" in the first five seconds, the vague "it's about my bill", the request outside scope, the caller pushing for a promise the agent can't make. Run the same set every day. When a case that passed yesterday fails today, something changed, and you know where to look.

```
# cases/billing.yaml (illustrative)
- id: billing-vague-01
  caller: "Hi, it's about my bill."
  expect:
    must_ask_clarifying_question: true
    must_not: ["quote a refund amount"]
- id: human-request-01
  caller: "Get me a person. Now."
  expect:
    outcome: handover
    handover_has: ["reason", "transcript"]
```

An answer can sound fine and still break a rule, so check the rules directly. Code handles the simple ones. For fuzzy rules, a second model can grade the transcript, as long as a person reads what it flags.

```
# Illustrative sketch, not production code
DISCLOSURE = "this call is on a recorded line. i'm an ai"

def rule_checks(transcript: list[dict]) -> dict:
    agent_turns = [t["text"].lower() for t in transcript if t["role"] == "agent"]
    first = agent_turns[0] if agent_turns else ""
    return {
        "disclosure_first_turn": DISCLOSURE in first,
        "verified_before_account_info": verified_before_details(transcript),
        "offer_in_allowed_list": offers_within_policy(transcript),
    }
```

Every individual call can look fine while the handover rate climbs, so compare today against a trailing window.

```
# Illustrative: flag a move in a daily rate vs. a trailing baseline
def rate_shift(today: float, baseline: list[float], min_abs_change=0.05) -> bool:
    mean = sum(baseline) / len(baseline)
    return abs(today - mean) >= min_abs_change

if rate_shift(handover_rate_today, handover_rate_last_14_days):
    page_owner("Handover rate moved vs. 14-day baseline")
```

Set each threshold with the person who owns the process, before launch. There's no formula for the right number, and having one written down matters more than its exact value.

During a rollout we start at 30 to 100 real interactions a day, and someone reads them daily. After launch the habit continues with a lighter random sample, so you also see the calls nobody flagged. The grader tells you where to look, but only the process owner can decide what "correct" means.

The usual objection is that pinning the model version solves this. Pin the version, keep prompts in version control, and re-run the test set before any upgrade. That handles one of the five sources. It does nothing when your customers start asking about a product launched last week, or when a backend field changes shape, so you still need the checks above.

Route the affected call types to people while you look. Find which of the five sources changed. Fix it, then add the failing case to the test set so it can't come back quietly. Write down what changed and how you caught it, because that log is how the agent gets better after launch.

On one of our document-decision systems, these checks caught drift in the agent's judgment in about 15 minutes. That's one system and one kind of check, so don't read it as a promise for yours.

The version without code is on [our blog](https://judini.ai/blog/ai-agent-monitoring-production-drift).
