← All posts
Data & AnalyticsRetailSeptember 2026 · 6 min read· Idea paper

Silent Anomalies: When AI Agents Keep Working — and Keep Getting It Wrong

AI agents depend on tools that change underneath them — renamed fields, switched currencies, new status codes. Nothing crashes, so nothing alerts. Here's an idea for catching these silent failures before customers do.

This is an idea paper: a failure mode I think every team running AI agents in production will eventually hit, a proposed way to detect it, and a sketch of where it could go next. It’s a direction to explore, not a finished result — and I’d welcome feedback from anyone operating agents at scale.

A Busy Saturday

Picture a busy Saturday at a large retailer. Thousands of customers are shopping through an AI assistant that calls a product-search tool for real-time inventory and pricing.

During a routine backend deployment, the tool’s response changes shape: product_id becomes sku, price becomes cost, and qty becomes quantity. The data itself is perfectly correct. But the AI agent is still using the response format it learned when it started up. It goes looking for price, finds nothing, and passes an empty value downstream.

No error is thrown. No alert fires. Every call returns a healthy success response. The problem surfaces only when customers start reporting wrong prices.

Why This Is Becoming a Bigger Problem

Agentic AI systems increasingly reach business-critical tools — inventory, pricing, orders, customer profiles — through standard protocols like the Model Context Protocol (MCP). When an agent starts, it learns each tool’s contract: what to send, what comes back, and what it means. It then assumes that contract stays stable.

But production tools change constantly. Backend teams ship updates, refactor responses, and optimize infrastructure — usually without any way to tell every running agent that something changed.

Our existing safety nets weren’t built for this:

  • API versioning depends on developers recognizing that a change is breaking — and a currency switch in the same field rarely looks like one.
  • Schema validation checks contracts at deployment time, not while the system is running.
  • Application monitoring tracks latency, errors, and throughput — but a silent anomaly returns a successful response, so it looks healthy.

Four Kinds of Silent Anomaly

Looking at the patterns that show up in retail AI deployments, silent anomalies seem to fall into four types:

  • Schema drift — field names, types, or structure change. Example: qty is renamed to quantity, and the agent reads an empty value.
  • Semantic drift — the meaning or unit of a field changes while the structure stays identical. Example: prices switch from US dollars to local currency.
  • Latency drift — a tool gets steadily slower without ever timing out. Example: a cache change makes inventory lookups much slower overnight.
  • Behavioral drift — edge cases and codes change. Example: an order status that used to read “FULFILLED” now comes back as a number, or a missing product returns an error instead of an empty result.

Each one slips past a different blind spot, which is why no single check catches them all.

The Idea: Multi-Dimensional Silent Anomaly Scoring (MSAS)

The proposal is a lightweight monitor that sits transparently between agents and their tools — like a sidecar — observing every call and response without changing either. It never alters the payload; it just watches and compares.

When a tool is registered, the monitor captures a baseline of what “normal” looks like for that tool, across four dimensions that mirror the four anomaly types:

  • Schema stability — which fields appear, their types, and how often they’re empty
  • Semantic consistency — a meaning “fingerprint” built from embeddings of the tool’s description and recent responses
  • Latency stability — the tool’s own normal response-time profile, rather than a one-size-fits-all threshold
  • Behavioral consistency — small “canary” test calls with known expected answers, including edge cases

On a regular cycle, the monitor compares live behavior to the baseline, scores each dimension, and blends them into a single Silent Anomaly Score between 0 and 1, where 1 means the tool is behaving exactly as expected.

Two design details matter a lot:

  • The baseline evolves slowly. Legitimate, gradual change — like a tool getting faster after an optimization — should be absorbed into “normal,” while sudden changes stand out.
  • The baseline freezes during an incident. If a tool is already flagged as drifting, the monitor stops learning from it, so a problem can’t gradually become the new normal.

From Alerts to Action

Detection alone isn’t enough when an agent is making pricing decisions in real time. The idea is to tie the score to graded responses:

  • Stable — keep monitoring.
  • Mild drift — log it for an engineer to review.
  • Moderate drift — notify the agent orchestrator and trigger a revalidation of the tool.
  • Severe drift — automatically quarantine the tool, route traffic to a pre-configured fallback, and page the on-call team.

A fallback might be a cached snapshot of yesterday’s data, a stable alternate endpoint, or a lower-confidence degraded response. In the Saturday example, the assistant would keep serving correctly formatted, slightly stale prices while engineers fix the real problem — instead of confidently serving wrong ones.

Hypotheses Worth Testing

  • Silent anomalies can be caught in minutes, not hours — before they reach customers, rather than after customers report them.
  • Each dimension earns its place. Some anomalies should be visible to only one of the four checks.
  • It can run with zero changes to agents or tools, and with overhead small enough to sit on every call.
  • Automatic fallback beats human-speed response for high-stakes tools like pricing and inventory.

Open Questions

  • Canary coverage. Behavioral checks are only as good as the test calls. Could an LLM generate diverse edge-case probes automatically from each tool’s schema and description?
  • Domain-aware meaning. General-purpose embedding models may not tell “standard price” from “promotional price.” How much would retail-tuned embeddings help?
  • Cross-tool anomalies. Two tools can each look fine alone yet disagree together — say, inventory reported in different units. Monitoring whole agent workflows is the harder, more important next step.
  • Planned change. Maintenance windows and intentional migrations will look like anomalies. How should the monitor know the difference?

Where This Could Go Next: Behavioral Fingerprinting

Anomaly detection answers one question: has this tool changed? There’s a second, security-flavored question: is this still the same tool?

The same four-dimensional baseline could double as an identity signature for each tool. Periodically — or right after a severe alert — the monitor could check that the tool responding today still matches its fingerprint. A mismatch might signal something more serious than drift: a substituted or compromised tool that still returns valid-looking responses, which ordinary monitoring and schema checks would never catch.

Why This Matters

From a product seat, this is the same lesson I keep coming back to: the most dangerous failures are the ones that look like success. As agents take on more real decisions — prices, orders, inventory — “no errors” can no longer be our definition of “working.” We need to monitor whether tools still mean what our agents think they mean.

If you’re running agents in production and have been bitten by a silent tool change, I’d love to hear how you caught it.

Enjoyed this post?

More research and reflections on data, retail, and product.

Browse all posts