Glossary

Agent observability

The practice of recording what an AI agent does on each run, from model calls and tool calls to cost and results, so teams can debug and improve it in production.

Agent observability is the practice of recording what an AI agent does on every run: the prompts it received, each model call, each tool call and its arguments, the results that came back, and the cost and latency of every step. With that record, teams can see why an agent behaved the way it did, find where a run went wrong, and tell whether a change to a prompt or model made things better or worse.

What agent observability captures

The core unit is the trace: the full sequence of steps in one run, usually broken into nested spans in the style of distributed tracing. Agent tracing produces that data, and observability adds the metrics, search, alerts and evaluation built on top of it.

Signal

What it records

Why it matters

Steps and spans

Each model call and tool call in order, with timing

Shows the path the agent took

Inputs and outputs

Prompts, retrieved context, tool arguments and results

Explains each decision

Tokens and cost

Input and output tokens per step and per run

Finds runs that grow expensive

Errors and retries

Failed calls, timeouts, repeated actions

Surfaces loops and flaky tools

Quality scores

Evaluation results and user feedback

Connects behaviour to outcomes

How it differs from LLM observability

LLM observability tracks individual model calls: what went in, what came out, how long it took. An agent runs an agent loop whose path changes from one run to the next, so a single call rarely explains a failure. The useful view is the whole run: which tool the agent chose through function calling, what it got back, and how that shaped the next step. In multi-agent systems the trace also has to follow work as it passes between agents during orchestration.

What teams use it for

Debugging is the first use. When an agent gives a wrong answer, the trace shows whether retrieval returned the wrong passage, a tool failed, or the model ignored good context and produced a hallucination. Cost control is the second. Watching tokens per run, and the split of input and output tokens, reveals runs where the context keeps growing until quality suffers from context rot.

Traces also feed agent evaluation. Teams sample real runs, score them with LLM-as-a-judge or human review, and turn failures into a golden dataset for regression tests. For safety and compliance, the same records show which guardrails fired and which actions went through human-in-the-loop approval, and form part of an audit trail. Because traces hold prompts and outputs, they often contain personal data, so retention and redaction rules apply to them too.

Logs record what an agent called. They do not show the state of the data afterwards. For agents with write access, observability works best alongside a way to compare the data before and after a run, which is where snapshots and agent rollback come in. Agents need an audit trail, not just logs develops that point.

Agent observability and Exabase

Exabase is not a general tracing platform, and you will still want one for agents you run yourself. For agents that run on Exabase, inspection is built in. Every Worker run is recorded as a full conversation containing the Worker’s reasoning, every tool call and the final output, and you can read it in the console or through the API: list a Worker’s runs, then fetch a run’s messages endpoint to see each step. The running Workers guide covers the flow.

For the data side, the workspace explorer lets you browse any Base and see every file, note and memory an agent created, and filesystem snapshotting shows what changed between two points in time. Memory records creation and modification timestamps on every memory, so you can follow how what an agent knows has changed. Every API response carries an x-trace-id header to log alongside your own traces. The decision traces use case shows how teams put these records to work.

FAQs

What is agent observability?

Agent observability is recording and analysing every step of an AI agent’s runs, including model calls, tool calls, cost and outcomes, so that teams can debug, evaluate and improve the agent in production.

How is agent observability different from LLM observability?

LLM observability looks at single model calls. Agent observability looks at whole multi-step runs, including tool calls and the decisions that link one step to the next.

What is the difference between agent observability and agent tracing?

Agent tracing records the steps of each run. Agent observability is the wider practice built on those traces, adding metrics, search, alerts and evaluation.

What should you log for an AI agent?

Log each model call with its prompt and response, each tool call with arguments and results, token counts, latency, errors and the final outcome, plus any evaluation score or user feedback attached to the run.

How do you debug a failed agent run?

Open the trace and find the first step where things went wrong: a poor retrieval result, a failed tool, or a model decision that ignored good context. Then add that case to your evaluation set so the fix can be tested.

Is it safe to store agent traces?

Traces often contain user messages and retrieved documents, so treat them as sensitive data. Redact where possible, restrict access and set a retention period.

Can I see what an Exabase Worker did?

Yes. Each Worker run is stored as a conversation with its reasoning, tool calls and output, viewable in the console or through the API.

Related pages: Agent tracing, LLM observability, Agent evaluation, Audit trail, Human-in-the-loop, Guardrails, Background agents, Agent undo solution, A postmortem template for agent incidents, Best AI agent infrastructure, Hierarchical agents, Agent runtime, Browser agents

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.