glossary

Observability

Trace

A trace is the record of one agent run, joining each timed step from the opening request to the last model or tool result so a reviewer can follow that single attempt and see where it stopped.

Abracadabra Team Glossary

How it works

A run opens one trace and closes it when the attempt ends, on a reply, an error, a handoff, or a stop. Model calls, tool calls, and retrieval sit inside as spans, ordered by start time. A retry is another span on that same trace. A new trace starts only when a fresh run begins. Store the conversation id on it so this attempt can be found later among the others from that day.

A reader asks a library agent to hold a reserved title for pickup at Didsbury. The catalogue check, the hold, and the confirmation are one trace. When that reader later asks what time the branch shuts on Sunday, that is a new run and a new trace, even in the same chat. The first trace shows the hold path. It does not show the later question, and it does not say the book was collected.

A worked example

A hold, then a question about Sunday hours

Reader: hold the reserved title for pickup at Didsbury.

The trace has four steps. A model call chooses the catalogue tool. The tool returns the title and shows that Didsbury can take a hold. A second model call accepts that branch. The hold tool writes a pickup code. The reply names the code and the branch, then the trace closes.

The same reader later asks what time Didsbury shuts on Sunday. That question starts a second trace. The hold trace does not gain the Sunday question, and it does not record whether the book was collected.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • A closed trace is read as a finished task. The hold run can end on a fluent reply when the hold tool wrote nothing. The run ended. The reservation may not exist.
  • Tries that share a chat are folded into one trace. The Sunday hours question then looks like a step of the hold, and the path of the reservation is mixed with a later request.
  • Quiet runs are sampled away. The hold that threw is kept, and the polite miss is dropped, so the record overstates how often the path breaks.

How to measure it

Count traces per run, not per chat message. Agree the start, such as the turn that began the attempt, and the end, such as the reply or the error that closed it. A chat with two jobs should show two traces.

When you review a sample, check that dropped traces are not only the quiet ones. Join each trace to the task outcome for that attempt. A closed trace with no outcome is a log of the path, not a result.

Further reading

How Abracadabra helps

Keep the task outcome beside the trace, so a closed run and a finished hold are different facts. When the book was not reserved, leave that miss on the conversation at the turn where the attempt stopped.

A trace says the run finished. Abracadabra says whether the person got the job they came to do, and keeps that outcome on the conversation. It complements tracing and OpenTelemetry. It does not ingest spans or replace a trace tool.

Request access to read this on your own agent.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.