Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

Trajectory2Gym: building better training data for tool-use agents

The authors argue that successful tool-use trajectories are not automatically good supervision: they may miss multi-step dependencies or include actions not justified by what the agent could see. Trajectory2Gym constructs interactions that cover those…

Published Read the original

Ranked #14 of 24 on Tuesday, October 27

Why it matters

If you fine-tune tool-use agents, it shows that the structure of trajectories matters more than their count.

What happened

1 min read

The authors argue that successful tool-use trajectories are not automatically good supervision: they may miss multi-step dependencies or include actions not justified by what the agent could see. Trajectory2Gym constructs interactions that cover those dependencies and trains only on grounded decisions. Across five Qwen3 sizes, the mean of Tau1, Tau2 and BFCL rises by 16.9 to 29.8 percentage points.

inscraper analysis

Our analysis

The gains are large and consistent across every model size, which makes the result more credible. They are strongest in stateful, multi-turn interactions, exactly where real agents tend to fail. All experiments use Qwen3, so transfer to other model families is untested. It fits the wider "RL environments" trend: the value is in constructing learnable experience, not just collecting data.

More in Research