Agent traces
What AI labs want from coding-agent traces
Why AI labs are interested in real coding-agent sessions, which parts of a trace carry the most signal, and what makes a session useful or useless for training.

Coding agents have improved fast, but anyone who uses one daily knows where they still struggle: understanding a messy codebase, recovering after a wrong guess, knowing when to stop and ask, and doing what the developer actually meant rather than what they literally typed. AI labs know it too. One of the most direct ways to close those gaps is to learn from real sessions where people and agents worked through real problems.
This guide explains what labs look for in agent traces, which parts of a session carry the most signal, and what makes a contribution more or less useful. It's general background. For the practical steps, see how to sell your Claude Code, Cursor and Codex sessions.
Why real sessions matter
Much of the data used to train coding models comes from public code and from curated problems with known answers. Both are valuable, and both have limits.
- Public code shows the result, not the process. A finished repository doesn't show the five approaches that didn't work, or the conversation that clarified what was needed.
- Curated problems are tidy. Benchmark tasks are self-contained, well specified and come with tests. Real tasks are underspecified, depend on context spread across many files and often have no tests at all.
- Synthetic sessions miss human behavior. A model can generate plausible conversations, but it can't easily invent how real developers redirect, correct and give up on an agent.
A real agent session captures all of that: the request in the developer's own words, the agent's exploration, the tool calls, the failures, the corrections and the outcome.
The parts of a trace that carry signal
The request
How developers actually phrase what they want is useful in itself. Requests are often short, ambiguous and dependent on context the agent has to discover. Training on real requests helps models interpret intent.
Exploration
Before changing anything, a good agent reads files, searches the codebase and runs commands to understand the situation. Traces show which exploration was useful and which was wasted effort.
Tool calls and their results
This is the heart of an agentic trace. Each step records what the agent decided to do, with what arguments, and what happened. That sequence of action and observation is what agent training is built on. Traces without tool calls, just chat, are much less useful for this.
Errors and recovery
When a command fails or a test breaks, what does the agent do next? Sessions where an agent hits an error, diagnoses it and recovers are especially valuable, because recovering from mistakes is one of the hardest things for current models.
Human corrections
When you say "no, not like that" or "you broke the other test", you're providing a judgment about what good behavior looks like. That kind of preference signal is hard to get any other way. We go deeper on this in agent traces for RL training data.
Outcome
Did it work? A passing test run, a successful build or a developer saying "perfect, thanks" marks the end of a successful trajectory. Clear outcomes make traces much easier to use.
What makes a session more useful
| Quality | Why it helps |
|---|---|
| Complete, unedited | Shows the full path, including dead ends |
| Includes tool calls and outputs | Provides the action-observation sequence agents learn from |
| Real project, real stakes | Reflects actual working conditions, not toy problems |
| Non-trivial task | Multi-step work teaches more than one-line fixes |
| Clear outcome | Makes success and failure identifiable |
| Human feedback present | Adds preference signal |
| Less common domain | Fills gaps in what labs already have |
| Readable after scrubbing | Consistent placeholders preserve meaning |
What makes a session less useful
- Fragments. A trace with the middle cut out loses most of its value.
- Very short exchanges. "What does this regex do?" is fine, but it carries little agentic signal.
- Heavy redaction. If half the text is placeholders, there's little to learn from.
- Duplicates. The same session twice, or many near-identical runs, add little.
- Unclear rights. Labs that take data provenance seriously avoid data whose ownership is doubtful, such as employer or client work shared without permission.
Why privacy is part of quality
It may seem that removing names, keys and paths would make data less useful. In practice, responsible buyers want it removed. Training data that contains secrets or personal information is a liability: models can memorize and repeat it, and it creates legal exposure. Scrubbed data with consistent placeholders keeps the structure of the conversation, so <EMAIL_1> still reads as "the same email address" throughout, without carrying the real value.
This is why the dataoffer tool scrubs on your machine before anything leaves it, verifies the result, and can't be told to skip scrubbing. It's also why our server scans every upload again on its own.
What labs generally don't want
- your secrets or anyone's personal data;
- proprietary code you don't have the right to share;
- sessions that have been edited to look better than they were;
- content gathered without the owner's consent.
The last point matters for agent-run contributions. If your coding agent prepares an upload, the upload is held until you, the owner, approve it by email. Consent from the person whose work it is should be part of every trace's provenance.
How this connects to value
All of this feeds into how traces are valued. Labs care about signal, not size, so the qualities above matter more than token counts. Our guide on how coding-agent trace data is priced explains how estimates are calculated and why they're only a starting point.
Breadth across tools matters too
Different agents structure work differently. Some lean on long planning phases, others on quick edit-and-test loops. Some record full tool output, others only summaries. A collection that spans several harnesses, such as Claude Code, Cursor, Codex, Cline and Aider, shows how people work with agents in general rather than how one product behaves. That's one reason the dataoffer tool normalizes sixteen different harnesses into a single format: a buyer can compare like with like, and contributors don't have to convert anything themselves.
Frequently asked questions
Do labs want sessions where the agent failed?
Often, yes. Failures, especially followed by recovery or a human correction, show models what not to do and how to fix it. Don't trim them out.
Is chat-only history useful?
It's useful for some purposes, but sessions with tool calls and their results are generally more valuable for training agents, because they show actions and consequences.
Does the programming language matter?
It can. Sessions in less common languages, frameworks or domains may fill gaps that popular web stacks don't. Value depends on what buyers already have.
Will scrubbing ruin the usefulness of my traces?
Not usually. Consistent placeholders keep the conversation readable. Code without secrets or personal data passes through unchanged.
Do labs see who contributed the data?
Scrubbing removes names, emails, usernames and paths from traces. Contributors' account details are kept separately from the trace content for payment and consent records.
Should I clean up my prompts before contributing?
No. Real phrasing, typos included, is part of what makes the data valuable. Remove sensitive information with the scrubber and blocklist, but don't rewrite the conversation.
Contribute yours
If you have months of agent history, it may well be the kind of data labs are looking for. Start with a no-network preview on the traces page.
Contribute your agent sessions
The dataoffer tool scrubs every session on your machine before anything leaves it. Start with a preview: it makes no network calls and writes nothing.
This guide is general information, not legal, tax or financial advice. Figures and ranges are illustrative; talk to qualified advisors about your situation.


