What a trace contains
A trace captures the full context of a trial run. Each step in the trace is one of the following:Instructions and responses
The original task instruction and the agent’s initial response before it starts working.
Tool calls and results
Every tool invoked — bash, fs.read, fs.edit, browser.click, search, and others — along with success (✓) or failure (✗) markers and the returned output.
Errors and stack traces
Full error messages and stack traces at the exact step they occurred.
Reasoning hook entries
The agent’s stated reasoning at each decision point — the “why” behind each action, not just the “what.”
Files read and written
Every file the agent accessed or modified, including the content before and after changes.
Recovery and stopping point
The exact step where the agent recovered from an error — or stopped trying.
Trace format
Traces are stored astraces.jsonl in the trial workspace. Each line is a JSON object representing one step in the trajectory.
traces.jsonl directly from the trial workspace or access it via the API for custom analysis.
Viewing traces in the UI
Open the Traces tab for any trial to see the full numbered step list. Each step is expandable to reveal the complete content — tool inputs, outputs, error messages, and reasoning entries.The reasoning hook
The reasoning hook captures the agent’s thinking at each decision point throughout the run. Where a standard trace tells you what the agent did, the reasoning hook tells you why it chose that action. This is especially useful for understanding:- Why the agent picked one tool over another
- What the agent believed about the environment before a failing step
- Whether the agent recognized an error and adapted, or continued on a broken path
Exporting traces
Every trial’straces.jsonl is available for download from the trial workspace. You can also access traces programmatically via the Oqoqo API.
Use exported traces to:
- Run custom analysis or scoring pipelines
- Feed results back into your agent loop
- Build dashboards over token use, error patterns, or tool call distributions
- Archive experiment results outside of Oqoqo
Traces are stored in the trial workspace alongside
answer.md (the agent’s final answer) and the file diff for that trial.Asking questions about a trace
Use the built-in Chat feature to ask questions about any trace. Chat is grounded in the trace content, so answers are specific to that trial’s actual steps and outputs. Example questions you can ask:- “Why did the agent retry at step 8?”
- “What caused the failure at step 12?”
- “Which tool did the agent call most often?”
- “Did the agent read the config file before editing it?”
- “At what point did the agent stop making progress?”