We’re a small startup focused on agent data. We just released a dataset on the Hub, and we’d like to share the thinking behind it and get feedback from people who train or evaluate coding agents.
SFT data: agentic coding trajectories for supervised fine-tuning
DPO data: preference pairs for preference optimization
Together, these can support offline reinforcement learning workflows
How we build it
We build complex, controllable system environments and generate agentic coding data from them “forward”, meaning the data comes from real interaction with the environment. It is not distilled from proprietary models. We chose this for three reasons:
It scales. Once an environment is built, trajectory generation is reproducible and can be expanded in a controlled way. We think this is an important piece of infrastructure for future model progress.
Distillation has a short shelf life. Many providers’ terms of service restrict training on model outputs. Technically, access to reasoning traces is shrinking. If reasoning is streamed in encrypted form, or newer models don’t decode the thinking token, distillation-based improvement stops working. It can give a short-term ROI, but it is hard to build on.
Provenance matters. Data you generate yourself has a clear origin and can be improved in a principled way.
Benchmark independence
This dataset has no overlap with the original tasks in DeepSWE or Terminal-Bench. You can use it for training without worrying about contaminating those evaluations.
Thanks for sharing the provenance reasoning; generating trajectories from a real environment is a sounder base than distillation. Since you asked for feedback from people who evaluate coding agents: I would be curious how the DPO preference pairs are labelled. If chosen versus rejected is decided only by whether the final tests pass, the model can learn to prefer trajectories that pass through unsafe or wasteful actions, such as editing tests, deleting files, or retrying a failing command dozens of times. Adding trace-level criteria (step count, destructive commands, repeated identical tool calls) to the preference signal tends to matter as much as the outcome. For evaluation, I would also report pass^k over repeated rollouts per task rather than a single pass rate, so improvements from this data show up as consistency and not just one lucky run.
Is the environment state reset deterministically between rollouts?
Thanks, this is a really good question, and it’s at the core of the agent training pipeline.
Selection
Both use two checks:
Format check: samples with unclosed tags or bad markdown are rejected.
Completion check: the environment is controlled, so we can check whether the agent finished a known task as expected.
DPO
You’re right that DPO pairs are hard to build. In our dataset, the preference signal is mainly task completion. Step count and tool use are not considered. The chosen and rejected traces share only the system prompt and user query as a prefix.
So we don’t yet filter out unsafe or wasteful actions, like editing tests, deleting files, or retrying the same command many times. Pass^k over repeated rollouts is also a good suggestion for evaluation.
Environment reset
Yes. Each rollout starts from a fresh environment with a fixed initial state, so differences between rollouts come from the model, not the environment.
Your traces already carry the fix: before pairing, veto any trace that edits tests, deletes files, or loops the same failing command — it can never be the chosen side, even when it finishes — then pair only within the same task and the same completion result, with fewer steps and repeated calls winning, so a clean success beats a wasteful one and a clean failure beats a destructive one. Train on the rebuilt pairs and check held-out tasks: destructive traces should fall while pass^k holds — if both happen, the pairs are teaching how to finish, not just that finishing happened.