The bottom line
AI agents fail silently — wrong tool, misread result, bad reasoning step, confident wrong answer, 200 status — so traditional uptime-and-error monitoring misses most of what goes wrong. Production agents need four things watched. Tracing: the full step-by-step record of each run — the reasoning, every tool call, inputs and outputs — so a bad answer can be diagnosed rather than guessed at. Tool-call reliability: which tools the agent calls, whether the call succeeded, and whether it called the right one, because tool-call failures are a top cause of silent wrongness. Latency: per-step, because a multi-step agent that is slow is usually slow at one identifiable step. Cost: token and call cost per run, which scales alarmingly and invisibly without tracking. On top sit quality signals — groundedness, task success — because an agent can be fast, cheap and reliably wrong. Where it breaks: you cannot monitor what you did not instrument, and alert thresholds for probabilistic systems need care.
In This Article
The failures that never show up as errors
Conventional application monitoring assumes failures announce themselves — an exception, a non-200 status, a latency spike. AI agents break that assumption. An agent can call the wrong tool, misinterpret a correct result, wander down a reasoning path that costs tokens and time, and still return a confident, well-written, wrong answer with a clean 200. The uptime dashboard stays green while the agent quietly makes poor decisions, and nobody knows until a user or an outcome reveals it.
So monitoring an agent is not the same as monitoring a service. You have to see inside the run — the reasoning, the tool calls, the costs — not just whether it responded. Observability for agents is about understanding behaviour and quality, not only availability, because availability was never the thing most likely to be wrong.
Tracing: the full step-by-step record
The foundation of agent observability is tracing: capturing the complete trajectory of each run — the prompt, the model's reasoning steps, every tool the agent decided to call with its inputs and outputs, and the final response. When an agent gives a bad answer, a trace lets you see exactly where it went wrong: it retrieved the wrong document, it called the wrong tool, it misread a correct result. Without the trace you are guessing at a probabilistic system, which is close to hopeless.
Treat the trace as the agent's equivalent of a stack trace plus the data it touched. It is what turns 'the agent sometimes gives wrong answers' into 'the agent calls the inventory tool when it should call the orders tool for this phrasing', which is a fixable, specific defect. On the Microsoft stack, Azure AI Foundry provides tracing and evaluation hooks for exactly this; whatever the platform, if runs are not traced, nothing downstream can diagnose them.
Tool-call reliability: a top source of silent failure
Agents act through tools — APIs, retrieval, functions — and tool calls are one of the commonest places they go wrong. Three distinct failures hide here: the tool call errored and the agent carried on regardless; the call succeeded but the agent called the wrong tool for the task; or it called the right tool with wrong arguments. Each produces a confident answer built on a bad action, and none shows up as an application error.
So monitor tool calls specifically: which tools are called and how often, the success and error rate per tool, and — harder but most valuable — whether the right tool was chosen for the request. A rising error rate on one tool, or a pattern of the agent selecting the wrong tool for a class of question, is an early, actionable signal. Tool-call telemetry is where a lot of agent quality problems are first visible, well before a user complains.
An agent can return a 200, respond in a second, cost little, and be reliably wrong because it called the wrong tool. Uptime, latency and cost all look fine. Only tool-call and quality telemetry catches it.
Latency and cost — per step, not just per run
Agents are multi-step, so aggregate latency hides the cause. A run that takes eight seconds is usually not uniformly slow; it is slow at one identifiable step — a slow tool, a long retrieval, an over-large context. Measuring latency per step, not just end to end, is what makes a slow agent diagnosable rather than mysterious. The same granularity that tracing provides pays off again here.
Cost needs the same discipline and is the one that surprises finance. Every model call and every token costs, a multi-step agent can make several model calls per run, and a reasoning loop that wanders racks up cost invisibly. Track token and call cost per run and per step, watch for runs that cost far more than the median, and alert on cost drift — because an agent that quietly doubled its tokens-per-run after a prompt change will not tell you; the bill will, a month later.
Quality signals on top of the operational ones
Tracing, tool-call health, latency and cost tell you the agent ran well operationally. They do not tell you it answered well — an agent can be fast, cheap, reliable in its tool calls and still wrong. So the top layer of agent observability is quality: groundedness (was the answer supported by what was retrieved), task success (did it actually accomplish what was asked), and, where it acts, whether the action taken was correct.
These are harder to measure automatically and usually combine automated scoring — a stronger model judging groundedness and success on a sample — with human review and real-world outcome signals. The point is that operational health and answer quality are two different dashboards, and watching only the first is how an agent that is green on every ops metric is nonetheless making poor decisions. Both have to be watched, and the quality one is the one tied to business outcomes.
Where this breaks
You cannot monitor what you did not instrument. Agent observability has to be designed in — tracing, tool telemetry and cost capture built from the start — because retrofitting it onto a live, opaque agent is painful and partial. The commonest failure is shipping an agent with ordinary application monitoring and discovering, after a bad outcome, that there is no trace to explain it.
Alerting on probabilistic systems also needs care. An agent will occasionally be wrong by nature, so thresholds tuned like deterministic software either cry wolf or stay silent through a real degradation; the signals that matter are trends and drift — rising tool-call errors, climbing cost per run, falling groundedness — more than single events. And none of this fixes quality on its own; monitoring reveals where the agent fails, but acting on it — fixing the prompt, the tool routing, the grounding — is the separate work that actually improves the agent.
What to do first
Instrument before you scale, and watch behaviour as well as uptime.
- Build tracing from day one: capture each run's reasoning, every tool call with inputs and outputs, and the final response
- Monitor tool calls specifically — call volume, success/error rate per tool, and whether the right tool was chosen
- Measure latency and token/call cost per step, not just per run, and alert on cost and latency drift
- Add quality signals on top — groundedness and task success, scored on a sample and reviewed by a human
- Alert on trends and drift rather than single events, and treat monitoring as the input to fixing the agent, not the fix itself
If your AI agent is in production with nothing but an uptime dashboard, you cannot see the failures that matter — and they are silent. Book 30 minutes with Amit on agent observability: tracing, tool-call telemetry, cost and quality. No slides, no pitch deck, no obligation to proceed.
Free Assessment
Where does your operation sit on the data maturity curve?
8 questions. 3 minutes. You get a scored breakdown across data infrastructure, analytics readiness, and automation potential — with a specific next step for your industry.