ScaleEnv: Scaling Environment Synthesis from Scratch for Generalist Interactive Tool-Use Agent Training
Dunwei Tu, Hongyan Hao, Hansi Yang, Yihao Chen, Yi-Kai Zhang, Zhikang Xia, Yu Yang, Yueqing Sun, Xingchen Liu, Furao Shen, Qi Gu, Hui Su, Xunliang Cai
TL;DR
ScaleEnv delivers a fully automated framework to synthesize high-fidelity, interactive environments from scratch, addressing the scarcity and unreliability of existing training sandboxes. Its two-phase pipeline—Executable Graph Construction (tool and database schema definition, procedural testing, and a Tool Dependency Graph) and Task Instantiation via Graph Expansion (seed chains, distractors, and controlled expansion guided by LLMs)—produces verifiable tasks and rich environment states for agent training. Empirical results show strong zero-shot generalization to unseen domains on $\tau^2$-Bench and VitaBench, with performance scaling as environmental diversity increases, supporting a domain scaling curve as a data-centric prerequisite for robust generalist tool-use agents. The work emphasizes safety and efficiency via rule-based rewards and execution-based verification, offering a scalable sandbox for RL research and practical deployment while highlighting the importance of environmental diversity for robust reasoning and planning.
Abstract
Training generalist agents capable of adapting to diverse scenarios requires interactive environments for self-exploration. However, interactive environments remain critically scarce, and existing synthesis methods suffer from significant limitations regarding environmental diversity and scalability. To address these challenges, we introduce ScaleEnv, a framework that constructs fully interactive environments and verifiable tasks entirely from scratch. Specifically, ScaleEnv ensures environment reliability through procedural testing, and guarantees task completeness and solvability via tool dependency graph expansion and executable action verification. By enabling agents to learn through exploration within ScaleEnv, we demonstrate significant performance improvements on unseen, multi-turn tool-use benchmarks such as $τ^2$-Bench and VitaBench, highlighting strong generalization capabilities. Furthermore, we investigate the relationship between increasing number of domains and model generalization performance, providing empirical evidence that scaling environmental diversity is critical for robust agent learning.
