WEFT: Scaling Tool-Use Post-Training for General-Purpose Agents
Summary
WEFT (Whole-system Evolution For Tool-use Post-Training) presents a framework that scales agentic tool-use post-training by co-evolving environments, tasks, agent harnesses and evaluators, reporting notable benchmark gains from interaction-mode mixing, harness diversity, and self-evolution rounds.
View Cached Full Text
Cached at: 10/05/26, 04:49 PM
Paper page - WEFT: Scaling Tool-Use Post-Training for General-Purpose Agents
Source: https://huggingface.co/papers/2609.36887 We’re sharingWEFT: Scaling Tool-Use Post-Training for General-Purpose Agents.
Scaling tool-use post-training requires more than synthesizing executable environments. Agents also need feasible tasks, suitable interaction setups, and reliable evaluation.**WEFT (Whole-system Evolution For Tool-use Post-training)**scales the complete agentic interaction system: environment, task, agent harness, and evaluator. It connects three stages: constructing richer training interactions, improving the system through execution, and supporting stable post-training.
https://huggingface.co/papers/2609.36887#1-construct-richer-training-interactions1. Construct richer training interactions
WEFT jointly expandsenvironment breadth, task complexity, and interaction diversity. We construct8,172 executable MCPs, 64,755 tools, and 41,695 certified atomic tasks, then compose them into11,884 taskswith a median length of20 atomic-task turns. Most tasks span multiple MCPs, and more than half involve multiple domains.
The same grounded task can be presented as a complete brief for autonomous execution (Agentic), or introduced progressively by a simulated user (SimUser). WEFT then routes tasks to different native harnesses, including ReAct, OpenClaw, and Hermes, to collect diverse training trajectories while preserving task goals, dependencies, initial states, and completion conditions.
With the task set fixed, mixing Agentic and SimUser data improves WEFT-35B-A3B by3.18 percentage points on averageover Agentic alone. Adding OpenClaw and Hermes with the interaction-mode mixture fixed yields a further9.71-point mean gainacross Toolathlon-Verified, AutomationBench, and Claw-Eval. This offers a way to expand useful training data when new executable, verifiable tasks are difficult to obtain.
https://huggingface.co/papers/2609.36887#2-improve-the-system-through-execution2. Improve the system through execution
A failed rollout is not necessarily a model failure. WEFT uses tool-call traces, checkpoint outcomes, and database and workspace changes to distinguish policy failures from environment, task, or verifier problems. Component problems trigger targeted revisions, dependency revalidation, and fresh rollouts that assess the changes and inform the next round.
With the task set and rollout budget fixed,three self-evolution roundsreduce tool-call errors in selected teacher trajectories from1.76% to 0.96%. Toolathlon-Verified, AutomationBench, and Claw-Eval improve by5.25, 4.33, and 3.65 percentage points, respectively. Execution therefore provides both policy-training data and evidence for improving the system that produces it.
https://huggingface.co/papers/2609.36887#3-support-stable-post-training-on-long-workflows3. Support stable post-training on long workflows
- **Prefix-preserving sampling:**retain verified progress and retry a failed atomic task from its pre-turn history, database, and workspace, rather than discarding the entire trajectory.
- **Task-verifier consistency filtering:**overly strict verifiers can reject valid solutions, while overly permissive ones can reward incorrect or incomplete execution. Before RL, a rubric-guided LLM independently scores pilot rollouts. Tasks are retained only when both Pearson and Spearman correlations with executable verifier scores meet the selection criteria. The LLM is used for offline filtering; RL still uses executable rewards.
- **Atomic-turn credit assignment:**compare candidate segments sampled from the same history and state, and assign credit using the current atomic task’s binary completion outcome.
MegaMCPsupports these procedures at rollout scale. It hosts reusable tool services outside agent sandboxes while keeping each rollout’s database and workspace private and recoverable. Snapshots support retries and branching without replaying completed interactions. In the 1,000-task experiment, sandbox upload volume falls from773.5 to 34.8 MiB (95.5% less).
https://huggingface.co/papers/2609.36887#resultsResults
WEFT-8B and WEFT-14B outperform all evaluated matched-size environment-scaling baselineson BFCL V4, τ²-Bench, and Claw-Eval. WEFT-14B improves over Agent-World-14B by6.41, 2.23, and 12.27 percentage points, respectively. WEFT-35B-A3B reaches45.99% on Toolathlon-Verifiedand26.50% on AutomationBench.
The central idea is to scale the system that produces and uses training interactions: broaden the tasks and trajectories, improve their feedback through execution, and make long-horizon post-training efficient and stable.
Similar Articles
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.
EnvFactory: Scaling Tool-Use Agents via Executable Environments Synthesis and Robust RL
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.
Towards Robust Tool Use in Agents via Experience-Driven Adaptive Guidance
This paper introduces ExpG, a mechanism for building and refining adaptive guidance that captures each tool's capability boundaries and best practices, enabling agents to use tools more robustly across diverse runtime conditions. Experiments show consistent improvements in tool selection, tool calling, and response generation, allowing smaller agents to outperform larger ones without ExpG.
Agent-World: Scaling Real-World Environment Synthesis for Evolving General Agent Intelligence
Agent-World introduces a self-evolving training framework for general agent intelligence that autonomously discovers real-world environments and tasks via the Model Context Protocol, enabling continuous learning. Agent-World-8B and 14B models outperform strong proprietary models across 23 challenging agent benchmarks.
Evoflux: Inference-Time Evolution of Executable Tool Workflows for Compact Agents
Evoflux uses evolutionary search at inference time to repair failed tool workflows for compact language models, boosting execution feasibility significantly over fine-tuning methods.