EnvFactory: Scaling Tool-Use Agents via Executable Environments Synthesis and Robust RL
Summary
EnvFactory automates the creation of executable tool environments and natural multi-turn trajectories for training LLMs with agentic reinforcement learning, achieving superior performance on benchmarks like BFCLv3 and MCP-Atlas with fewer environments than prior work.
View Cached Full Text
Cached at: 05/20/26, 06:36 AM
Paper page - EnvFactory: Scaling Tool-Use Agents via Executable Environments Synthesis and Robust RL
Source: https://huggingface.co/papers/2605.18703 Authors:
,
,
,
,
,
,
,
,
,
,
,
,
,
Abstract
EnvFactory automates the creation of executable tool environments and natural multi-turn trajectories for training LLMs with agentic reinforcement learning, achieving superior performance with fewer resources.
Equipping LLMs withtool-use capabilitiesviaAgentic Reinforcement Learning(Agentic RL) is bottlenecked by two challenges: the lack of scalable, robustexecution environmentsand the scarcity of realistic training data that captures implicit human reasoning. Existing approaches depend on costly real-world APIs, hallucination-prone LLM simulators, or synthetic environments that are often single-turn or depend on pre-collected documents. Moreover,synthetic trajectoriesare frequently over-specified, resembling instruction sequences rather than natural human intents, reducing their effectiveness for RL training. We introduce EnvFactory, a fully automated framework that addresses both challenges. EnvFactory autonomously explores and verifies stateful, executable tool environments from authentic resources, and synthesizes natural multi-turn trajectories throughtopology-aware samplingandcalibrated refinement, producinggrounded querieswith implicit intents. Using only 85 verified environments across 7 domains, EnvFactory generates 2,575 SFT andRL trajectories. Despite using significantly fewer environments than prior work, which are often 5 times more, EnvFactory achieves superior training efficiency and downstream performance, improvingQwen3-series modelsby up to +15% onBFCLv3, +8.6% onMCP-Atlas, and +6% on conversational benchmarks including τ^2-Bench andVitaBench. By fully automating both environment construction and trajectory synthesis, EnvFactory provides a scalable, extensible, and robust foundation for Agentic RL.
View arXiv pageView PDFGitHub16Add to collection
Get this paper in your agent:
hf papers read 2605\.18703
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper3
#### LARK-Lab/EnvFactory-1.7B Text Generation• 2B• Updatedabout 19 hours ago • 11
#### LARK-Lab/EnvFactory-4B Text Generation• 4B• Updatedabout 19 hours ago
#### LARK-Lab/EnvFactory-8B Text Generation• 8B• Updatedabout 2 hours ago
Datasets citing this paper3
#### LARK-Lab/EnvFactory-RL Viewer• Updatedabout 3 hours ago • 3.09k #### LARK-Lab/EnvFactory-SFT-FILTERED Viewer• Updatedabout 3 hours ago • 26.5k #### LARK-Lab/EnvFactory-SFT-ALL Viewer• Updatedabout 3 hours ago • 53.4k
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2605.18703 in a Space README.md to link it from this page.
Collections including this paper1
Similar Articles
EnvScaler: Scaling Tool-Interactive Environments for LLM Agent via Programmatic Synthesis
EnvScaler is an automated framework for scaling tool-interactive environments for LLM agents through programmatic synthesis, creating 191 diverse environments and 7K scenarios to improve agent performance on multi-turn, multi-tool interactions.
EnvCraft: Synthesizing Executable Environments in Agentic RL for Claw-like Agent
EnvCraft is an automated framework for synthesizing executable environments to address the scarcity in Agentic RL training, showing significant performance gains on claw-like and general tool-use benchmarks using Qwen models.
AutoEnvScaling: Automating the Data Flywheel with Terminal Agents
AutoEnvScaling treats RL environment design as a terminal task, letting a proposer agent automatically build training environments from solver rollouts to automate the data flywheel. The method raises the valid-environment rate up to 25x at 75% lower cost, improves Qwen terminal-agent scores by up to 12.2 points, and enables a single model to co-evolve as both solver and generator, a step toward recursive self-improvement.
Envs-FORGE: Frontier-Optimized Reward-Grounded Environment Synthesis for Agent RL
Envs-FORGE is a prompting policy for synthesizing training environments for reinforcement learning agents, converting verifier rewards into per-seed actions to improve performance on benchmarks like SWE-bench and Terminal-Bench.
From Trainee to Trainer: LLM-Designed Training Environment for RL with Multi-Agent Reasoning
This paper introduces LLM-as-Environment-Engineer, a framework where LLMs design their own training environments for reinforcement learning in multi-agent reasoning tasks, enabling self-improving training that surpasses larger proprietary models.