Skip to main content
Start freeBook a walkthrough

1,000 credits to start. No credit card.

Back to Glossary

Observability
AI Agents
AgentOps

What Is AI Agent Observability?

AI agent observability is seeing what an agent did on every run and why: each model call, tool call and wait as a traced step, with cost and timing.

By Hagai Cohen and Maksim Markov

November 28, 2026

5 min read


Definition

AI agent observability is the ability to see what an agent did on every run and why. Each model call, tool call and wait for a person is recorded as a step in a trace, with its inputs, outputs, timing and cost, and those traces roll up into metrics across runs. Good observability lets you answer "why did the agent do that?" from the record alone, without re-running anything.

Why it matters

When an agent does real work, the questions that come back to you are specific:

  • The agent approved an invoice that didn't match its purchase order. Which tool result did it base that on, and what did the model actually read?
  • A customer says they never got a reply, but the run shows as completed. Was the reply generated and then not delivered?
  • Model spend doubled last Tuesday. Was it more runs, or more expensive runs?
  • Cases are taking two days instead of two hours. Is the agent slow, or is it waiting for a person who hasn't answered?

Without a step-level record, each of these turns into guesswork and a re-run that may not reproduce the problem.

How it works

A trace lays one run out as a tree. A simplified example, for an agent checking a supplier invoice:

Run · completed · 6h 12m · $0.0841
├─ Entry: email from a supplier's accounts address
├─ LLM: read the request (1,920 tokens)
├─ Tool: erp.get_purchase_order (PO-4471)
├─ Tool: erp.get_invoice (INV-9902)
├─ LLM: compare lines, quantity mismatch on line 3
├─ Ask: procurement owner (waited 5h 58m, answered "hold it")
├─ LLM: draft the decision
└─ Tool: erp.hold_invoice

Three things make this more useful than a log. Every step keeps its full inputs and outputs, so you can see the exact prompt and the exact tool response. The wait for a person is a step like any other, so six hours of waiting doesn't look like six hours of slow software. And the run holds together as one record even though it paused and resumed.

Across runs, the same data becomes metrics:

MetricWhat it tells you
Cost per runWhether a change made the agent more expensive, and which model or tool the money goes to
Error rateHow often runs fail, per agent, per tool or per customer
p95 latencyHow slow the slowest runs are; averages hide the tail
Tool errorsWhich integration is failing or slow
Waiting timeHow long work sits with people, and with whom

Observability vs evaluation

Observability tells you what happened. Evaluation tells you whether it was right. A run can complete, cost four cents, finish in two seconds and still give the customer a wrong answer; nothing in the trace's status flags that. So the two work together: traces are the raw material, and evaluation scores them, either on test datasets before a change ships or on real conversations afterwards.

Dedicated tools such as Langfuse and LangSmith trace agents built in many frameworks and run elsewhere, which suits teams that build agents in their own code.

How Fruxon does it

Every run of an agent built in Fruxon is traced automatically, as a step tree. The trace opens with the channel the run came in through, then shows each model call with its provider, model, tokens and cost, each tool call with its input and output, nested agent runs inline, inline judge scores, and human-in-the-loop steps with the decision, how long the run waited, who responded and where the request was sent. Delivery is tracked separately from execution, so a completed run whose reply never reached the customer is called out.

Cost is shown per run and broken down by model, by tool and by customer. Each agent's overview reports error rate and p95 latency, per customer when runs are tagged with one, and spend against daily, weekly and monthly limits. Spend alerts go out by email. Fruxon's traces cover agents built and run in Fruxon; for agents built elsewhere, a dedicated tracing tool is the better fit.

Frequently asked questions

What is a trace in AI agent observability?

A trace is the full record of one agent run, laid out as a tree of steps. Each model call, tool call, nested agent run and wait for a person is a step with its inputs, outputs, duration and cost. Reading the tree shows what the agent saw at each point and why it did what it did.

Why aren't application logs enough for AI agents?

Logs are flat lines of text, written where a developer remembered to write them. They rarely capture the full prompt, the token cost or the parent and child relationship between steps, and they don't hold together a run that pauses for hours while it waits for a person. A trace keeps the whole run as one structured record.

What is the difference between observability and evaluation?

Observability records what happened on real runs: steps, timing, cost and errors. Evaluation judges whether what happened was right, by scoring outputs against expectations. You need observability to investigate a run and evaluation to know whether a change made the agent better or worse.

Which metrics matter most for AI agents in production?

Cost per run, error rate, p95 latency, tool error rates and time spent waiting for people. Watch p95 rather than the average, because the slowest runs are the ones people notice. A run that completed is not the same as a run that did the right thing, so pair these numbers with reviews of real conversations.

Related


Back to Glossary