What is an execution trace?

Definition

An execution trace connects individual steps to an overall request. For an agent, it may record model calls, tool invocations, returned results and timing. This helps explain how the final answer was produced and where a failure entered the process.

A trace is evidence about execution, not proof that every step was correct. Its usefulness depends on completeness, accurate associations and careful handling of sensitive information. Developers can compare traces with expected behaviour and turn observed failures into evaluation cases.

ELI5

An execution trace is a step-by-step record of what an AI workflow did. It can show which tools were called, what results came back, where an error occurred, and how the system reached its final outcome.

For example, if a research agent produces an incomplete report, the trace may show that one source failed to load and the agent continued anyway. That evidence helps an operator diagnose the real failure instead of guessing.

Does a trace explain whether an answer is correct?

It shows how the system proceeded. Correctness still needs comparison with appropriate evidence and task expectations.

How can traces improve testing?

Specific observed failures can become reproducible test cases, helping check whether a proposed change addresses the cause.

  1. Salman Munaf beside the headline Bound Observe Recover in true white and attention blue
  2. Zachary Blumenfeld beside the words Graph Engineering on black.
  3. Jason Lopatecki against a black background beside the blue and white headline “TRACES TO FIXES”.
  4. Wes Roth beside the words Why OpenAI Calls It AGI
  5. The words See Every AI Trace beside a flat magnifying glass revealing trace nodes and a cost gauge
  6. Nathaniel Whittemore explaining beside the words Rogue Agents Expose the Gap
  7. The words Agent Code Stays Traceable beside two plain interlocking links
  8. Theo Browne in a photographic portrait composition on black beside the blue-and-white headline “FEWER FAILURES LONGER RUNS”.
  9. Portrait of Sam Altman beside the words AI Agents Don't Stop
  10. The words Long-Horizon Safety beside a simple containment boundary
Definition card for execution trace: What is an execution trace?

An execution trace records the sequence of operations and results produced while a system carries out a task.