Skip to main content

What are you looking for?

Explore our services and discover how we can help you achieve your goals

AI Agent Drift Detection: Catching Silent Behaviour Degradation Between Releases

Agent drift is a live agent's behaviour changing even though nobody deliberately edited its prompt, model, tools or permissions; catch it by replaying a fixed golden set on a schedule, alerting when the score crosses a threshold you set, and diffing output against the frozen baseline from launch, instead of waiting for a complaint.

Book a solution review See the related solution

By Huy Nguyen (David), Founder & CEO · Updated · 10 min read

star

This guide is for the engineering lead or AI product owner who already shipped an agent and needs a standing way to know whether it has quietly changed, and for the operations owner accountable once it is live. Our AI automation guide decides which process an agent needs, and the agentic AI automation service covers delivery; this page is the ongoing check that nothing moved after the agent already passed its launch gate.

In this guide

What is AI agent drift, and how is it different from a change you made?

Drift is a behaviour change with no matching entry in a release log. Our change management and versioning guide covers the release process for a change someone deliberately makes: a new prompt, a model upgrade, a wider permission, each given a version identifier and gated before it reaches live traffic. Drift is the opposite case: the agent's prompt, code and declared model version are exactly what they were last week, and its real-world output is still worse. Nothing in your repository changed, so a search through recent pull requests finds nothing, and that is precisely why drift stays silent until someone notices the output is wrong.

Three things move without a deliberate edit. A model provider updates the model sitting behind a fixed API endpoint, so the same prompt and the same declared version now return different output. The live input mix shifts: users start asking different questions, in different proportions, than the set the agent was tuned and tested against. And a knowledge source the agent retrieves from goes stale or a connector to a source system quietly changes shape, so the same retrieval query returns weaker or wrong context. None of the three throws an exception, breaks a schema or shows up as elevated latency; the agent keeps running, and a dashboard built for uptime and error rate has nothing to alert on.

Three ways a live agent drifts: a comparison

Drift cause What actually moved How to detect it False-alarm risk
Silent provider-side model update The model version behind a fixed API endpoint, with no code or prompt change on your side Shadow-diff the agent's current output against a frozen baseline on the same inputs; a gap that was not there at launch points here first Low once a baseline exists; the comparison is against the agent's own past output, not an external benchmark
Input-mix shift The distribution of real user questions, no longer matching the set the agent was tuned and tested against Track intent clusters and resolution or escalation rates over time, not single interactions, and compare the current distribution to the launch distribution Medium; a genuine seasonal or product change in what users ask can look like drift and needs a human read before any fix
Knowledge-source staleness A retrieval index, document source or connector the agent depends on, now out of date or reshaped Re-run retrieval quality checks on a fixed query set, and watch for a drop in recall or an increase in contradicted answers Medium; a one-off data refresh can look like a step-change and needs the same confirmation window as a real regression

How to build a drift-detection cadence

  1. Freeze a baseline at launch

    Reuse the go/no-go baseline from the agent's evaluation harness as the fixed point every later comparison runs against; a baseline created after the fact is not a baseline, it is an opinion.

  2. Keep the golden set fixed

    The test cases and their correct answers do not change between runs; only a stable, unmoving golden set makes a score drop an unambiguous signal rather than noise from a shifting test.

  3. Schedule the replay

    Re-run the golden set on a fixed cadence (daily for a customer-facing agent, weekly for a lower-stakes internal one) instead of only at the next deliberate release, so degradation is caught between releases, not at the next one.

  4. Set a threshold, not a dashboard

    Alert when the score crosses a line you set in advance, so the signal is "act now," not one more chart nobody checks; a system that only reports does not detect anything on its own.

  5. Watch the input distribution, not just the score

    Track intent clusters, resolution and escalation rates over rolling windows so a quiet shift in what users ask is visible before it drags the golden-set score down.

  6. Shadow-diff when a provider update is suspected

    Compare the agent's current output against the frozen baseline on identical inputs; this isolates a provider-side model change from an input-mix shift or a stale knowledge source, because the input in this check never changes.

  7. Route a confirmed drift the same way a deliberate change is routed

    Once drift is confirmed, it needs the same gate our change management guide requires for a model-version change (full regression rerun, compared against the frozen baseline), and if the agent has already acted on wrong output, the incident response and rollback runbook takes over from there.

Where AI fits

Netbase works with the major commercial and open-source AI tools and models, chosen per project, and treats a continuous evaluation cadence as part of what keeps an agent trustworthy after launch, not only how it is built and shipped once.

What delivery record exists, and what does not

What exists. Netbase works with models from multiple commercial and open-source providers, chosen per project (F070), and has delivered anonymised AI projects including retrieval-augmented knowledge assistants, document AI and MLOps pipelines for clients that are not named (F072). Netbase's own practice includes secure code review, version control and role-based access control (F021), and Netbase holds ISO 27001 certification and a SOC 2 Type II attestation for its own operations (F022, F051, F052). The anonymised classifieds-platform (F113) and WhatsApp chatbot (F115) engagements each included a dedicated testing and optimisation phase before the build reached a review dashboard or went live. Netbase is investing in AI transformation and agentic automation woven into every service (F131).

What does not exist. No published Netbase record names a drift-detection threshold, a golden-set score, a replay cadence or a false-alarm rate for any agent. No record describes a live agent going through this exact freeze-replay-threshold-shadow sequence in production. The ISO 27001 certification and the SOC 2 Type II attestation cover Netbase's own operations; they are not extended to a client's agent or its evaluation pipeline.

Alternatives: who watches for drift

Approach Strength Weakness Choose it when
Nobody watches; the team waits for a complaint No setup cost Drift is found by a customer or a downstream failure, after the damage is done Never, for any agent writing to a live system or facing a customer; acceptable only for a disposable, internal-only experiment
An internal golden-set replay, built once and scheduled Reuses the launch evaluation set, no new tool to buy Needs upfront work to fix the golden set and wire a scheduled job and an alert threshold A team that already built an evaluation harness at launch and can extend it
A vendor continuous-evaluation or drift-monitoring platform Scheduling, thresholding and dashboards come built in Adds a vendor dependency and a recurring cost on top of the agent itself The team has no spare engineering capacity to build and maintain the replay job itself
A delivery partner designs and runs the cadence One team across the agent, its evaluation set and its drift checks Needs the same ownership and escalation questions as any delivery engagement No internal owner exists yet, or several agents need one consistent detection discipline

In Netbase custom development the client owns the IP created for it, and most projects run on fixed-price contracts agreed after discovery (F067).

Limits of this guide

  • This is an engineering and operations practice, not a certified methodology; no accuracy threshold, replay frequency or false-alarm rate in this guide is a benchmark, because none is registered as a Netbase fact.
  • A golden set only catches drift the set itself can measure; a genuinely new failure mode outside every existing test case needs a human reading live traffic, not just a replay score.
  • Model providers do not always announce a backend update on a fixed schedule; a shadow-diff against a frozen baseline narrows the search, it does not replace checking the provider's own release notes.

Plan the next step with a Netbase consultant

Frequently asked questions

Only if it is replayed on a schedule. A test suite that ran once at launch proves quality on day one and says nothing about day ninety; it has to be re-run against live-shaped input on a fixed cadence to catch a later regression.

No, and that is why detection matters more than prevention here. What is controllable is checking which model version is actually in use, and shadow-diffing current output against a frozen baseline so a provider-side change becomes visible before it reaches every user.

Match the cadence to how customer-facing and reversible the agent's actions are: daily for an agent that answers customers or writes to a live system, weekly is often enough for a lower-stakes internal tool; the right frequency is a risk decision, not a fixed industry number.

Next step

Tell us which agent is live and what, if anything, has started looking off, and we will book a solution review to design its baseline, its golden set and its replay cadence. You can also see the enterprise AI agent platform solution or browse more Netbase insights.

AI automation and agents that keep people in charge AI automation and agents that keep people in charge

Netbase provides AI automation and agent development for operations teams that want repetitive, multi-step work done by software while people keep approval over the decisions that matter. We combine rule-based automation with AI where it adds value, build in human approval, and measure return against a baseline.

Learn More
line
Enterprise AI agent platform: run AI agents with approvals, audit logs and cost limits Enterprise AI agent platform: run AI agents with approvals, audit logs and cost limits

An enterprise AI agent platform is a governed runtime where AI agents plan and carry out multi-step work through approved tools, while approvals, audit logs, access rules and cost limits keep every action accountable. Netbase offers it as a forward-looking solution, built inside your own environment rather than licensed as a product.

Learn More
line

Work with Netbase remotely

Every Netbase engagement is delivered remotely, so clients in any country and any industry can work with us; Netbase has worked with clients in 80 countries. Contracts and invoices are issued by Netbase JSC, and payment is made by bank transfer to Netbase JSC's company account or PayPal Business. Talk to the CEO, Huy Nguyen (David), on WhatsApp or by email.

Contact Netbase

Discuss a project

Netbase JSC helps organizations design, build, modernize, and operate digital products and AI-enabled business systems.
Project enquiries

project@netbasejsc.com

WhatsApp

+84 937 869 689

Office address

91 Nguyen Chi Thanh, Dong Da, Hanoi, Vietnam

Get in touch

Tell us what you want to build, modernize, or operate.

Tell us what you want to build, modernize, or operate.

Contact Netbase