Agent observability
Capturing structured traces of every step inside an agent run — prompts, retrieved context, tool inputs and outputs, token counts, latency and stop reasons — so failures can be reproduced and debugged.

Also called: Agent tracing, LLM tracing.
For: Builders · Leaders
Why it matters
Unlike deterministic APIs, agents fail silently in multi-step chains. Without step-level traces, teams guess at prompt edits instead of seeing which tool call or stale retrieval caused the bad outcome.
In practice
A support agent refunds the wrong order. Its OpenTelemetry trace shows turn 2 called lookup_order with a stale email from turn 1 and turn 3 ignored a 404 fallback; the team adds a regression eval for that exact trace in ten minutes.
Watch for
Raw traces often capture customer PII, API keys or sensitive prompts. Scrub secrets before shipping spans to third-party observability vendors and set short retention windows.
How it compares
- Evaluation: Observability records what happened during live or test runs; evaluation scores whether those outputs met your quality bar.
- LLMOps: LLMOps covers the full deployment lifecycle (routing, versioning, budgets, monitoring); agent observability is the step-by-step tracing slice that shows how multi-turn runs behaved.
Related terms
LLMOps · Evaluation · Agent harness · Agent checkpointing
Try it here
How AI agents fail in production · Debugging with AI
Sources
Use in an AI agent: connect MCP at https://www.theglitch.ai/mcp and call get_glossary_term with agent-observability, or read the Markdown edition.
Definition updated 2026-11-28.