1. Glossary
  2. AI Agent Observability
Glossary

AI Agent Observability

AI agent observability is the practice of recording every step an AI agent takes in production, such as each model call, tool call and retrieval, with its inputs, outputs, tokens, duration and errors, so teams can see why a run was slow, costly or wrong.

An AI agent doesn't follow a fixed code path. The model decides which tools to call and in what order, so two runs with the same input can take different routes. When a run fails, the final answer rarely shows why. Agent observability records the whole run as one trace, with a span for each step, so you can open a failed run and see the step that went wrong.

What to capture

  • The run. Agent name and version, the input, the final output, the outcome, the number of steps, total tokens and end-to-end duration.
  • Model calls. Provider and model, input and output tokens, finish reason, duration and errors.
  • Tool calls. Tool name, arguments, the result or error, and duration.
  • Retrieval. The query and the documents it returned.
  • Step type. Whether each span is an agent, workflow, task, tool or model call, so the trace reads as a sequence of steps.

Evals and regression checks

Latency and error rate can't show whether an answer was right. Evals run the agent on a fixed set of cases and score each result with code checks, reference answers or a model acting as a judge. Teams run them before each release and fail the release when a case that passed before now fails, then score a sample of production runs the same way to catch drift.

Agent observability vs. LLM observability

LLM observability tracks individual model calls: latency, tokens, cost and errors. Agent observability ties every model call, tool call and retrieval in one task into a single trace, so you can see where a multi-step run went wrong, for example a tool that returned nothing, a loop that repeated the same call, or a retrieval that found the wrong documents.

AI agent observability in Atatus

Atatus LLM observability records agent runs in Python apps, from Python agent 2.1.0. It instruments LangChain and LangGraph, LlamaIndex, CrewAI and the MCP Python SDK, and records each step as a span with its kind (agent, workflow, task, tool, chat or completion) and duration. Model calls also show tokens and the input and output messages. See how to monitor AI agents in production and how to monitor LLM calls in Python, and the AIOps definition.

← All glossary terms

Get started

See the root cause first.

Start free and send your first trace with OpenTelemetry or the Atatus agents. APM, logs, RUM, infrastructure and SIEM, all on one timeline.

  • SaaS
  • On-premises
  • Hybrid
  • BYOC
  • Unlimited team members