Tapnod.All articles

Monitoring · 2026-11-26

AI Agent Observability: What to Capture and Why

AI agent observability explained: traces, metrics, logs and evaluations for agents, plus the operational signals most setups miss, like silence and wait time.

The short answer

AI agent observability is the ability to understand what an agent did and why, from the data it emits. It rests on four kinds of data:

  1. Traces: the tree of steps in a run, from the top-level task to each model call and tool call.
  2. Metrics: counts and rates over time, such as runs, errors, cost, tokens and latency.
  3. Logs and events: discrete records, like a permission denial or a retry.
  4. Evaluations: scores for output quality, from automated checks or people.

Most tools cover those four well. What they often miss are the operational signals that matter once agents run unattended: which agents are alive, which have gone silent, and which are blocked waiting on a person.

Four layers of agent observability, traces, metrics, logs and evals, with an operational layer on top

"ai agent observability" gets about 590 US searches a month at a keyword difficulty of 50, and the broader "llm observability" about 1,300 (Semrush, November 2026). The agent-specific term is growing as teams move from chat features to agents that act.

US monthly search volume for agent observability terms

Why agents need more than LLM observability

LLM observability grew up around single requests: a prompt goes in, a completion comes out, you log tokens, latency and cost. Agents break that model:

LLM request Agent run
One call Dozens of calls in a loop
Seconds Minutes to hours
Output is text Output is actions in other systems
Failure is a bad answer Failure can be a wrong action, a loop or silence
No humans mid-run Questions and approvals mid-run

So agent observability has to show the whole run as a structure, follow actions into other systems, and account for time spent waiting on people.

Traces

A trace for an agent run looks like a tree:

invoke_agent "release-agent"                 4m 12s
├── chat claude-sonnet (plan)                  6.1s
├── execute_tool "git_diff"                    0.4s
├── chat claude-sonnet (decide)                3.8s
├── execute_tool "run_tests"                 2m 40s
├── human_request "approve production deploy"  58s   <- waiting on a person
├── execute_tool "deploy"                       22s
└── chat claude-sonnet (summarize)             2.9s

OpenTelemetry's GenAI semantic conventions give names for these spans, such as invoke_agent, chat and execute_tool, so different frameworks can produce comparable traces. They're still marked as in development, so expect changes. More in AI agent tracing.

Metrics

Metric Why
Runs started, finished, failed Throughput and reliability
Cost per run and per day Budget control
Tokens per run Efficiency and context bloat
Tool error rate by tool Which integrations break
Steps per run Loops and wandering
Time to complete User experience and capacity
Human wait time How long work is blocked on people

Logs and events

Some things are best recorded as events: permission denials, retries, rate-limit hits, handoffs between agents, configuration changes. They explain why a metric moved.

Evaluations

Observability tells you what happened; evaluations tell you whether it was good. Common approaches: rule checks (schema valid, tests pass), model-graded scores against a scoring guide, and human review of samples. Run evaluations on production traces, not only test sets, because real inputs drift.

The operational layer most setups miss

Signal Question it answers
Last contact per agent Is it still alive?
Status: working, waiting, idle, error Where is attention needed?
Waiting decisions What's blocked on a person, and for how long?
Results delivered Did the work actually reach someone?

Trace platforms show runs that emitted data. A crashed agent emits nothing, so it doesn't appear as an error; it disappears. Tracking last contact, and alerting when it's older than expected, catches that. Likewise, an agent waiting four hours for an approval looks like a slow run in a trace; operationally it's a person who didn't see a notification.

Observability stack options

Approach Examples Good for
LLM and agent platforms Langfuse, LangSmith, Arize Phoenix, Braintrust, AgentOps Traces, evals, prompt work
General observability with LLM features Datadog, Grafana with OpenTelemetry Teams with existing monitoring
Product telemetry Claude Code and Codex OpenTelemetry exports Coding agent usage and cost
Agent inbox with monitoring Tapnod and similar Last contact, waiting decisions, results

Many teams use two: a trace platform for engineering depth and an operational view for day-to-day supervision. Compare options in AI agent observability tools.

Questions observability should answer

A useful test of any setup is whether it answers these questions in under a minute:

Question Data needed
Why did this run fail? Trace with statuses and tool errors
Which agent costs the most this week? Cost metrics by agent
Did last Tuesday's prompt change help? Agent version on traces, plus evaluation scores
Which agents are down right now? Last contact per agent
What's blocked on me? Pending human requests
What did the agent change in production? Tool calls linked to the systems they touched

If several take an hour of digging, that's where to invest next.

Ownership

Observability data without owners becomes a museum. Give each agent an owner who receives its alerts and reviews its dashboards weekly. Give the platform an owner who maintains instrumentation, sampling and retention. Review alert noise monthly: alerts nobody acts on should be tuned or removed.

Retention

Keep detailed traces for weeks, aggregated metrics for months, and records of actions and human decisions for as long as your audit needs require.

Getting started

  1. Instrument one agent with a trace platform or OpenTelemetry.
  2. Add cost and error metrics, with a dashboard.
  3. Record human requests as spans or events, with wait time.
  4. Track last contact for every agent and alert on silence.
  5. Add evaluations for the outputs that matter most.

Privacy and cost of telemetry

Traces can contain prompts, documents and customer data. Decide what to capture: many teams record full content in development and redact or sample in production. Telemetry also costs money: high-volume agents can produce millions of spans a month. Sample routine successful runs, keep all errors, and set retention by need.

A worked example

Picture a team running a support agent and two coding agents. The support agent sends traces to Langfuse, with evaluations on a 5% sample of replies. Coding agents export OpenTelemetry metrics to Grafana for cost and usage. All three report to an inbox that tracks last contact and pending approvals. One night a coding agent's machine sleeps; no error appears anywhere in the trace tools, but the inbox flags it as silent for 40 minutes, and its owner restarts it in the morning with the session intact.

Key takeaways

  • Agent observability combines traces, metrics, logs and evaluations.
  • Agents need run-level structure, action tracking and human wait time.
  • OpenTelemetry's GenAI conventions name agent and tool spans, but are still evolving.
  • Add operational signals: last contact, status and waiting decisions.

FAQ

What is AI agent observability?

The ability to understand an agent's behaviour and outcomes from its telemetry: traces of each run, metrics over time, logs of events and evaluations of quality.

How is it different from LLM observability?

LLM observability focuses on single model calls. Agent observability follows multi-step runs, tool actions in other systems, and time spent waiting on people.

Do I need OpenTelemetry for agent observability?

Not strictly, but it helps. Many platforms accept OpenTelemetry data, which keeps you portable between tools.

What do most agent observability setups miss?

Silence and waiting: agents that stopped reporting, and runs blocked on human decisions.

Where Tapnod fits

Tapnod adds the operational layer: last contact, active agents and waiting decisions, plus questions and results from every agent in one inbox. Start free.

One inbox for every agent's questions

Approve plans and answer agents from web or phone. Start free.

Start free

Related articles