Debugging
Replay, fork and compare
Step through what happened, rerun from any step with a change, and see exactly where two runs part ways.
Replay
The Replay tab on a run steps through its events one at a time with the arrow keys and explains each one. Nothing is re-executed.
Fork
Fork from step N creates a new run that reuses the log up to step N and continues live from there. Optionally fork onto a newer agent version, or swap a recorded tool output to see what the model does with different data.
POST /v1/runs/{run_id}/fork
{"from_step": 3, "agent_version": 4, "tool_outputs": {"tc_3f9a...": {"price": 0.41}}}Compare
Compare runs puts two runs side by side, step by step, with the first step where they differ and the change in steps, tokens and cost. A forked run links straight to a comparison with its source.