Agentic RL training for tool-use capabilities faces two bottlenecks: scalable execution environments and realistic training data. EnvFactory, built by Xu, Wang, and their team (from Huawei and MBZUAI), tackles both automatically.
How It Works
- Environment synthesis: EnvFactory autonomously explores and validates stateful, executable tool environments from real resources.
- Trajectory synthesis: It produces natural multi-turn trajectories through topology-aware sampling and calibrated refinement — generating queries with *implicit intent*, not "step 1, click here" instruction sequences.
- BFCLv3: up to +15% improvement
- MCP-Atlas: +8.6%
- Conversational benchmarks: +6%
Results
From just 85 validated environments across 7 domains, the pipeline generated 2,575 training trajectories, yielding:
Open Questions
The author flags several unclear points:
1. Environment validation coverage — are 85 environments sufficient to generalize across all domains? 2. Trajectory diversity — if topology-aware sampling converges to a few typical paths, could the RL policy overfit? 3. Safety with real APIs — how does EnvFactory avoid invoking real tools with side effects during testing?
References
1. Xu, M., Wang, Z., Deng, M., et al. (2026). *EnvFactory: Scaling Tool-Use Agents via Executable Environments Synthesis and Robust RL*. arXiv:2605.18703 [cs.CL]. 2. Mialon, G., et al. (2023). *OpenFunctions: A Large-Scale Evaluation of Tool-Augmented LLMs*. arXiv. 3. Yao, S., et al. (2023). *ToolLLM: Facilitating Large Language Models to Master 16000+ Real-World APIs*. ICLR.