ByteDance shows that a good agent doesn't need a complicated training pipeline. Two short rounds of learning from examples and one round of reward-based learning (RL) are enough. They've released everything: the data, the filtering method, the prompts and the training code.
A full recipe, data included, is rarely published. It's a good starting point if you want to understand how a small model learns to use tools, or to fine-tune one for your own task.
What multi-step reinforcement learning actually fixes in code agents
The authors show that agents trained with reward-based learning aren't much better at individual decisions. They're better at recovering from a mistake and sticking with a long task. That advantage mostly disappears when the agent has few steps available. They propose BudgetMix RL, which varies the allowed number of steps during training so the agent works reliably with both small and large budgets.
A practical lesson for your apps: if you cap an agent's steps or tool calls too tightly, results can drop sharply. It's worth testing with different limits.
ToolSpace: realistic tests for agents that use many tools
ToolSpace builds test environments from real records of how tools were used. It clusters tool combinations that often appear together and checks that each task can be reproduced end to end. The result is long, multi-tool tasks that resemble real work.
If you build MCP servers or agents with many tools, this is a good source of ideas for testing for yourself whether an agent reliably chains tools together across a long task.