Production Monitoring and Issue Discovery for AI Agents

Ben Hylak, Jason Liu16 Dec 2025

Problem

Teams running LLM agents in production find that quality problems rarely throw an error. The agent forgets what the user said, refuses wrongly, uses a past year as "current" or promises a refund it cannot give, and nothing in the logs flags it. Offline evals cover little: long conversations, memory and custom tools create too many states. A model can pass its evals and still fail users,.

Example from the article: clustering the "user frustration" bucket of an app surfaced wrong dates, wrong "can't access contacts" replies and forgetting. Two clusters were new to the team.

Solution in brief

Run a discover, track, fix loop. Define signals (explicit feedback plus implicit ones detected in text), cluster the flagged events to find unknown issues, then track each issue by the share of users it hits. Fix by splitting the agent into separately improvable, intent-specific tools.

Questions this case answers
  • How to detect and prioritize silent quality failures of a conversational system in production when no error is raised and fixed test sets cannot cover the state space
  • How to find quality problems in a production LLM agent that offline evals never covered?
  • How to decide which agent issues deserve a fix first?
  • How to monitor agent failures that raise no error or exception?

Tools and methods

  • Explicit and implicit signals — thumbs, regenerate, copy, plus detected refusals, failures, forgetting, frustration, wins
  • Text clustering of flagged events — turns a broad signal into specific issues
  • Binary issue detection by an LLM or small model — asks "does this event have issue X" instead of scoring quality
  • Sentry-style issue tracking — events and affected users per issue
  • Sub-agents as tools — one specialist model per intent behind the main agent
  • OpenTelemetry logs — tool-call failures
Continue reading — it's free

Google or a one-time email code. No password.