ScaleEnv: Scaling Environment Synthesis from Scratch for Generalist Interactive Tool-Use Agent Training
Abstract
Lay Summary
Training AI assistants that can use real-world tools—like booking flights, managing orders, or querying databases—requires practice environments where they can learn through trial and error. However, such environments are scarce and expensive to build by hand. We introduce ScaleEnv, a system that automatically generates diverse, realistic practice environments from scratch. ScaleEnv works by first designing virtual tools and databases, then rigorously testing that they actually work, and finally assembling them into complete, solvable tasks—much like building a flight simulator for AI agents. Agents trained in these environments show significantly better performance on entirely new, unseen tasks they have never encountered before. We also find that exposing agents to a wider variety of environments matters more than simply giving them more practice tasks within the same environments—akin to how a well-rounded education outperforms repetitive drilling. Our work provides a scalable recipe for building the practice grounds that AI agents need to become truly capable general-purpose assistants.