Skip to main content
GW
HomeWorkAI appsPapersAboutNotesStackLabPilotPlan↗ (opens in a new tab)INVST↗ (opens in a new tab)
Govind Waghmare

Finance systems and AI. Building in public from NYC.

Resume (PDF)Book 20 minEmail
HomeNotesWorkAboutStackPapersLabFor founders
XLinkedInGitHubllms.txt
© 2026 · New York City

Keyboard shortcuts

?
Open this list
g then h
Go to Home
g then w
Go to Work
g then n
Go to Notes
g then a
Go to About
c
Ask the AI guide
Esc
Close this list
Original paperSection A, The abstract
Open in new tab (opens in a new tab)
All papers
AI agents and tools

Build agent training worlds from how real tools get used

Paper: ToolSpace: Scaling Tool-Centric Environment Synthesis for Long-Horizon Agents

Guanting Dong, Zhichao Sun, Xinyu Yang, Rui Wang, Xin Deng, Jiajie Jin, Zhixiong Yang, Junhao Huang, Han Han, Mingyu Ma, Xiaotao Wang, Yuyang Hu, Xiaoshuai Song, Xiaoxi Li, Jiejun Tan, Zhecan Wang, Shihan Dou, Honglin Guo, Zhiheng Xi, Tao Gui, Tao Ji, Qi Zhang, Yutao Zhu, Ji-Rong Wen, Zhicheng Dou · arXiv preprint (Renmin University of China, Fudan University, Shanghai Jiao Tong University) · Posted 3 Nov 2026 · 14 min read · arXiv 2611.05036

Share this paper

LinkedIn (opens in a new tab)X (opens in a new tab)WhatsApp (opens in a new tab)EmailDownload PDFExplainer (PDF), 908 KB

  • Agents must chain many tools across services to finish long tasks.
  • Old methods first invent a database, then make tools and tasks from it.
  • The tools then differ from real ones.
  • Tool links are not proven by real runs.
  • Tasks rarely cross more than one service.
43.2

average score for ToolSpace-35B-A3B with RL, up from 23.0 for its base model.

  • The authors built ToolSpace from real traces of tool calls.
  • They trained models from 8B to 744B and tested on 7 benchmarks.
  • They also built two harder Pro benchmarks and ran ablations.

  • Seven frontier models dropped up to 38.2 points on the Pro benchmarks.
  • GLM-5.2 rose from 44.6 to 56.6, on par with Claude Opus 5.
  • Edges proven by real runs beat LLM-judged edges.
  • More data and more environments kept helping.

RL-tuned ToolSpace more than doubles the base average scoreFrom Table 1
0204060Average scoreQwen3.6-35B-A3B23.0 scoreToolSpace-35B-A3B + Agent RL43.2 scoreGLM 5.244.6 scoreGPT 5.6 Sol48.9 scoreGLM 5.353.8 scoreClaude Opus 556.6 scoreToolSpace-744B-A40B56.6 score

Hover, tap or focus a bar to read its exact value.

ModelAverage score
Qwen3.6-35B-A3B23.0
ToolSpace-35B-A3B + Agent RL43.2
GLM 5.244.6
GPT 5.6 Sol48.9
GLM 5.353.8
Claude Opus 556.6
ToolSpace-744B-A40B56.6

  • The tasks and checks are model-written. Teacher quality matters.
  • Two benchmarks were rebuilt by the authors, so Pro scores are not independent.
  • Cost savings are measured by file counts, not by tokens or time.

Jump to

  1. A The abstract
  2. 1 Introduction
  3. 2 Related work
  4. 3 Preliminaries and problem formulation
  5. 4 Method: overview
  6. 4.1 Tool space exploration
  7. 4.2 Cross-environment task synthesis
  8. 4.3 Detailed statistics of ToolSpace
  9. 5 AutomationBench Pro and tau3-Bench Banking Pro
  10. 6.1 Experiment setup
  11. 6.2 Main results
  12. 6.3 Results on the Pro benchmarks
  13. 6.4 Quantitative analyses
  14. 7 Conclusion
  15. W Words to know

Every detail from the paper

Cards follow the paper's own order. Dotted words link to Words to know. Numbers match the paper.

Setting

  • LLMs now work as long-horizon agents.
  • They combine many tools across MCP services into runnable workflows.

The problem

  • Current methods to scale MCP environments are data-centric.
  • They first make a database and a scenario, then derive tools and tasks.
  • So tool interfaces may not match real ones.
  • Tool compositions are not grounded in execution.
  • Tasks rarely span more than one environment.

The method, part 1

  • ToolSpace is tool-centric. It reverses the order.
  • It mines data, state and retry links from adjacent calls.
  • The calls come from traces of real MCP services and open agent data.
  • It uses fixed rules, not LLM judgment.
  • It clusters the weighted tool-composition graph into environments.

The method, part 2

  • Databases are made only for state-changing environments.
  • Query tools and stateless tools replay recorded returns.
  • ToolSpace then runs state-aware random walks with rollback.
  • It turns each chain into a natural-language task with assertion-based checks.
  • It keeps only samples that replay from the initial state.

Results

  • On AutomationBench and tau3-Bench Banking, the pipeline gives harder Pro versions.
  • Seven frontier models drop by up to 38.2 points.
  • Across seven benchmarks, ToolSpace lifts Qwen3.6-35B-A3B from 23.0 to 41.0 average score.
  • With RL it reaches 43.2.
  • GLM-5.2 goes from 44.6 to 56.6, on par with Claude Opus 5.
  • Real-run edges beat LLM-judged edges. More data and environments keep helping.

Why this matters

  • LLMs have moved from single-turn chat to agents that finish long tasks in changing environments.
  • Agents must master many tools and chain them into long runs.
  • How tools are organized and composed at scale is now a core question.

Two routes today

  • Two routes exist to scale tool use.
  • Simulators (such as Simia and GenEnv) use an LLM as a text world model.
  • It fakes the tool feedback.
  • They are cheap.
  • The feedback can be hallucinated and state is hard to keep consistent.
  • Executable environments build databases and matching tools, then tasks with checkable outcomes.
  • Later systems evolve whole interaction stacks or repair environments from execution feedback.

The shared order

  • Both still follow data-centric environment synthesis.
  • They build the database and theme first, then derive tools and tasks.
  • This has three limits.

Limit 1

  • Tool-functionality mismatch. Tools are built from the database and theme.
  • Their parameters can differ from real tool definitions.
  • Agents learn a synthetic protocol, not real operations.

Limit 2

  • Inauthentic tool orchestration. Tool-link graphs come from random linking or shallow LLM judgment.
  • The links lack authenticity.
  • Real services are unstable and noisy, and their logic is hard to set by opinion.

Limit 3

  • No cross-environment tasks. Tasks use data and rules of one environment.
  • Real tasks often span several.
  • Tools sit inside their own sandboxes, so no reachability exists between them.
  • Long-horizon difficulty cannot grow naturally.

The root cause

  • All three share one root cause.
  • Data-centric synthesis assumes a built environment and derives tool use from it.
  • That reverses how real agent execution works.
  • The open challenge is data that keeps real tool orchestration across many environments.

The insight

  • The authors' starting point: tools are the atomic units of capability growth, not static data.
  • A tool space always sits between an agent and its databases (Figure 1a, b).
  • Model the real links and state transfer among tools.
  • Build a cross-environment tool-graph layer on top.
  • Task complexity then grows from the tool-composition space, not from one database's size.

The principle

  • ToolSpace follows a Trace-to-ENV principle.
  • It first rebuilds an explorable tool space from execution traces.
  • Then it makes long-horizon tasks across tool and environment clusters.

Stage 1

  • Stage 1: Tool Space Exploration. Extract tool calls from real traces.
  • Mine data, state and retry links with fixed rules to build a tool-composition graph.
  • Cluster tightly linked tools into environments.
  • Make a database on demand only for operation environments.
  • Reuse original tool returns otherwise.
  • This keeps composition links and cuts synthesis cost.

Stage 2

  • Stage 2: Cross-Environment Verifiable Task Synthesis.
  • State-aware random walks with rollback sampling pick state-compatible next tools.
  • They pick by edge weight.
  • Each step runs for real.
  • Only chains that run end to end are kept.
  • Each kept walk becomes a natural-language task with assertion-based checks.
  • Samples can be replayed and audited across environments.

Pro benchmarks

  • The authors anchor the full pipeline to AutomationBench and tau3-Bench Banking.
  • They extend their difficulty into AutomationBench Pro and tau3-Bench Banking Pro.
  • The Pro versions have harder tasks and cross more environments.
  • On AutomationBench Pro, seven frontier models drop by up to 38.2 points (Figure 1).

Contributions

  • 1. The limits of data-centric synthesis, and a proposal for tool-centric environment synthesis.
  • 2. ToolSpace: a tool-composition space from real traces, and long, verifiable, cross-environment tasks.
  • 3. Plug-in to benchmarks, giving harder Pro versions with more tool calls and wider reach.
  • 4. Gains across model sizes (8B to 744B).
  • ToolSpace-744B-A40B beats GPT 5.6 Sol in average score (56.6 vs.
  • 48.9) and matches Claude Opus 5.
  • Analyses show scaling with data, environments and task variety.

Agent environment scaling

  • Simulator methods (Simia, GenEnv) use an LLM as a text world model.
  • They are cheap to scale but can hallucinate and drift in state.
  • Executable methods build databases, tools and verifiable tasks with code.
  • Later variants evolve environments or interaction systems, or repair them from execution feedback.
  • In all of them the unit of scaling is the environment or the harness.
  • So which tools may compose is fixed before any task is drawn.
  • ToolSpace is complementary.
  • It recovers tool-composition structure seen in executions and builds databases on demand.
  • The same machinery can upgrade benchmarks.

Graph-based agentic data synthesis

  • Search and knowledge agents use knowledge graphs or formalized information seeking to make hard questions.
  • For tool use.
  • Function-signature or API-dependency graphs are walked to make multi-turn calls and verified blueprints.
  • Similar recipes reverse-synthesize runs for GUI and web agents.
  • These chains then feed SFT, agentic RL and reflection training.
  • ToolSpace differs in where the graph comes from and what it guarantees.
  • Edges are mined by fixed rules from adjacent real calls, across environments.
  • They are typed as data, state or retry.
  • Weighted by how often they were seen.
  • A walk enters training only after replay from the start passes state.
  • Trace and output checks.

Tool-use tasks
  • Let F be a tool space. Each tool f has input and output schemas.
  • An environment pairs a persistent database D with a subset of tools.
  • It has a state space with snapshots s_t.
  • Given a task q, an agent policy writes a run of actions and observations.
  • Action a_t depends on the task and history.
  • Observation o_t comes from tool f_t with arguments x_t on state s_(t-1).
  • L is the number of tool calls.
  • A verifier V maps the task.
  • Run and final state to 0 or 1, or to a graded assertion score.
Data-centric environment synthesis
  • Prior work samples a theme m.
  • It first makes a database D from m.
  • Then it makes tools from D and m.
  • Then it makes tasks from D and the tools.
  • The tools depend on a fabricated D, so their arguments may match no real interface.
  • Task synthesis is detached from real tool-logic links.
  • Cross-environment reachability is undefined, since tools from different pairs share no typed relation.
Tool-centric environment synthesis (the problem)
  • Given real traces M of (tool, input, output) calls, the goal has four parts.
  • (i) A typed tool graph from M, with tool nodes and links filtered against M.
  • (ii) Environment clusters by tool-edge density and real tool definitions.
  • (iii) Data made on demand for operation environments.
  • (iv) A data set of (task, verifier, tool chain, initial snapshot).
  • Each chain must be a walk on the graph.
  • It must meet dependency reachability, state preconditions and parameter provenance.
  • Every argument must trace to the task, the initial state or an earlier observation.
  • It must also be replay-verified: re-running from the initial state passes all assertions.
  • The goal is long-horizon, cross-environment coverage under replay checks.
  • Not the fidelity of any one database.

ToolSpace in two stagesFrom Figure 2 and Algorithm 1
  1. Collect real tool-call traces
  2. RulesMine data, state, retry edges
  3. Cluster into environments
  4. Walk graph with rollback
  5. LLMWrite task and checks
  6. Replay from start, keep passes

Stage 1 builds the tool space. Stage 2 builds tasks. Failed replays are dropped.

  • ToolSpace has two tightly joined parts.
  • Tool Space Exploration (Section 4.1) extracts tool calls from real traces.
  • It mines links by rules, builds the tool graph, clusters tools into environments.
  • Makes a database only for operation clusters.
  • Cross-Environment Task Synthesis (Section 4.2) explores long chains by state-aware random walks.
  • It turns them into tasks with checks.
  • It keeps only samples that replay from the initial state and pass all checks.
  • The same method raises the difficulty of existing benchmarks (Section 5).

4.1.1 Agent trajectory collection
  • The authors build one corpus M of real execution evidence from two families.

MCP-ecosystem trajectories

  • Tasks over real MCP servers come from registries such as Smithery.
  • The authors collect the real tool catalog.
  • They keep only tasks whose tool definitions exactly match the real servers.
  • They run them with diverse agents on real MCP services.
  • They record the full call chains as M_MCP.

Web-sourced agent trajectories

  • A deep-search agent collects general tool-use runs from the web.
  • They are grouped by how real their execution was.
  • Lower-authenticity data gets stricter filters.
LevelSourceWhat is kept
HighReal-server runs: Toucan-1.5M (495 MCP servers, 2,000+ tools, 1.5M trajectories); ToolBench (16,464 RapidAPI interfaces, about 469K calls)Unavailable interfaces are removed
MediumSWE-agent and OpenHands runs in real containers and repositoriesExplicit tool calls only. Shell wrappers such as execute_bash are excluded
LowRuns from synthetic environmentsOnly calls whose tool names and schemas match real tools

The three source groups.

The corpus

  • The three groups merge into M_open.
  • All tool calls form M = M_MCP joined with M_open.
  • Calls within a run keep their order.
4.1.2 Tool-space graph modeling
  • The authors organize M into a typed tool-composition graph.
  • It can chain different services into one tool world (Figure 2).

Nodes

  • Each tool call gets a node.
  • A node holds the tool name, input schema, output schema and the normalized argument setup.
  • The same tool with different argument setups forms different nodes.
  • They may give different outputs and downstream links.

Relations

  • For adjacent calls in a run, three edge types come from fixed rules.
  • No LLM judgment is used.
EdgeRule
Data dependencyThe next input uses a value from the last output, and field types match
State dependencyThe first call changes an object. The second reads or changes the same object
Retry dependencyThe first call errors. The run switches tools. The next call succeeds

The three edge types.

Retry errors are kept as recoverable observations together with the successful retry. The edge set is the union of the three types.

Weights

  • Edge weight w(i, j) = N_ij / N_i.
  • N_i counts how often node i occurs.
  • N_ij counts how often node j follows node i.
  • Low-frequency edges are removed.
  • For data edges, the next arguments must trace to the earlier output.
  • That blocks false links from common constants such as limit=10.
  • So the graph captures transitions that happen in execution, not just a list of tools.
4.1.3 Agent environment data synthesis
  • Data is made only when an environment depends on persistent state.
  • The weighted undirected graph is clustered by connection density.
  • Clusters follow real MCP service tool setups.
  • This gives K = 804 clusters, each an environment with tools and a database.
TypeExampleWhat ToolSpace does
OperationTools that create, change or delete objectsNeeds a database. A research agent collects and aligns web data, then expands it. Kept after unit tests and state-transition checks
State-querygoogle_drive.files.list, gmail.users.messages.getUses the outputs as anchors for the initial snapshot s_0. No database from scratch
StatelessWeb search, fixed-index lookupReplays cached results from M. No live calls, no database

Three environment cases.

Result

  • Operation and state-query types enter the executable environment system.
  • Stateless environments use cached results.
  • This lowers synthesis and API cost and speeds up later trajectory synthesis.
Algorithm 1: ToolSpace
  • Build the graph from adjacent calls. Prune untraceable or low-weight edges.
  • Cluster into environments.
  • Make data on demand for operation environments. Restore s_0 for state-query. Cache returns for stateless.
  • For each walk attempt: start at a node bound to a database and s_0.
  • Sample an admissible neighbor with Eq. 3. Run it. Update the state.
  • If execution fails or breaks the edge relation, restore the earlier state and resample (rollback).
  • If length L and K environments are reached, record the walk with its snapshots.
  • For each walk.
  • Write a task with no tool names or order, and assertions from three sets.
  • Replay from s_0. If all assertions pass, add the sample.
  • Deduplicate. Make teacher trajectories for kept tasks and keep those passing V.

A state-aware walk with rollbackFrom Section 4.2.1 and Figure 3
  1. Start at node with state s0
  2. Keep only admissible neighbors
  3. Pick next tool by weight
  4. Run it for real, update state
  5. Failure: restore and resample
  6. Length L and K services reached

A demo walk made 28 tool calls across 6 environments after 2 rollbacks.

4.2.1 State-aware random walks
  • A walk starts at a tool node tied to a database and snapshot s_0.
  • The inputs are the number of environments K and the chain length L.

Graph walk

  • A neighbor is kept only if its next inputs can be filled.
  • They come from earlier returns or the current snapshot.
  • That means dependency reachability, state preconditions and parameter provenance.
  • Among kept neighbors, sampling follows edge weight.
  • P(next = v) is w(current.
  • V) divided by the sum of w(current, u) over admissible u.
  • Links seen more often in real traces are more likely to be extended.
  • The walk ends when it reaches length L and tools cover K environments.

Rollback sampling

  • If a chosen tool fails.
  • Or the new state does not match the data or state relation of the edge.
  • The step is dropped.
  • The environment goes back to the earlier state, and another neighbor is sampled.
  • Chains that still cannot proceed after repeated rollbacks are discarded.
  • Each kept walk carries s_0 and snapshots s_1 to s_L.
  • Each kept chain is replayed from s_0 against the recorded snapshots.
  • This checks state continuity and that every tool still runs.
4.2.2 Reverse verifiable task synthesis
  • A language model writes a task from each chain and its state changes.
  • The task has no tool names and no call order.
  • There is no reference answer.
  • Instead, each chain gets a verification set V with three parts.
  • V_state checks the final state.
  • V_trace checks key intermediate snapshots.
  • V_out checks fields that must appear in returned results.
  • A sample stays only if re-running from s_0 passes all checks.
  • Difficulty is raised through L, the target K and the share of cross-environment edges.
  • The data set holds (task, verification script, tool chain, snapshot).

  • Figures 4 and 5 show static statistics of the graph, environments and tasks.
(A) Graph scale and dependency structure
  • The graph has 77,760 tool-call-pattern nodes from 2,042 canonical tools.
  • Mean and maximum out-degree are 2.3 and 56.
  • The word cloud of environments includes Gmail, Google Sheets, Slack, Google Drive, Salesforce and Airtable.
Edge typeShare
Data69%
State25%
Retry6%

Figure 4d: shares of edge types.

Data edges dominate, so composition is driven mostly by passing intermediate results. State and retry edges capture state prerequisites and failure recovery. Every edge is seen in adjacent calls in real runs.

(B) Environment diversity and selective grounding
  • The reference inventory covers 804 real MCP environments.
  • The largest domains.
  • Communication & General Utilities (27.4%), Finance & Markets (11.2%), Document & Design (10.1%).
  • Mean matched tools per environment is 10.86. The maximum is 436.
  • Tools such as web search, file reading and email sending exist in many environments.
  • 453 tools (22.2%) are operational and 1,589 (77.8%) are not.
  • The largest operational category is structured record mutation, with 95 tools.
  • Of 804 environments, 181 (22.5%) are operational and 623 (77.5%) are not.
  • The largest operational environment category is document persistence, with 42.
  • An environment is operational if it has a tool that can change its state.
  • So stateless environments dominate the real world.
  • ToolSpace makes databases only for operational workspaces.
  • Restores snapshots for state-query tools and reuses cached returns for stateless ones.
(C) Task scale and complexity
  • ToolSpace makes 34,376 trajectories in total.
  • Figure 5 covers the 21,385 with at least five tool calls.
  • Mean and maximum length are 30,466 and 855,386 tokens.
  • Mean tool calls per trajectory are 18.86. The maximum is 209.
  • Mean environments per trajectory are 2.29. The maximum is 22.
  • At least 66.2% of trajectories involve two or more environments.
  • Chains are sampled by walks, run step by step and kept only after replay checks.
  • So tasks need long tool orchestration and consistent state.

  • The authors anchor the pipeline to AutomationBench and tau3-Bench Banking.
  • The goal is more cross-environment and long-horizon difficulty.
Benchmark construction
  • For a benchmark b with its own environment, collect its real tool calls.
  • Build a tool graph by the rules of Section 4.1.2.
  • Link in tools outside the benchmark that share data or state relations with benchmark tools.
  • This expands one environment into a cross-environment cluster.
  • Restore or make the needed databases and snapshots.
  • Walk with larger L and K than the original, and reverse-generate tasks and checks.
  • After replay and deduplication: AutomationBench Pro (300 tasks) and tau3-Bench Banking Pro (98 tasks).
  • Three doctoral-level experts reviewed all candidate tasks and checks over two days.
  • Only tasks approved by at least two experts stayed.
  • Agreement was strong: Fleiss' kappa 0.82, observed agreement 93.1%.
Data statistics (Figure 6)
  • Pro tasks need far more tool calls than the standard splits.
  • On AutomationBench, average calls rise for every model.
  • From 26.8 to 43.6 under Standard to 56.3 to 60.6 under Pro.
  • On tau3-Bench Banking, calls rise from 23.1 to 32.2 up to 27.3 to 36.3.
  • So the added difficulty comes from longer, more frequent tool orchestration.

Benchmarks
  • Seven long-horizon tool-use benchmarks.
  • AutomationBench: workflow automation.
  • SkillsBench: skill composition.
  • JobBench: job-style professional tasks.
  • tau3-Bench Banking: banking tool and dialogue.
  • BFCL V4: function calling.
  • Harvey LAB: legal agent workflows.
  • OfficeQA Pro: office document question answering.
Baselines
  • Four groups of models.
  • (i) Proprietary: Claude Opus 5 and GPT 5.6 Sol.
  • (ii) Open-weight above 200B: GLM 5.3, GLM 5.2, DeepSeek-V4-Pro-0813, Kimi K3, Qwen 3.8 Max.
  • (iii) 7 to 8B environment-scaling models: EnvScaler-8B, AWM-8B, Simulator-8B, Agent-World-8B, Agent-Reflex-8B and the Qwen3-8B backbone.
  • (iv) 27 to 35B open-weight: Qwen3.6-27B, Qwen3.6-35B-A3B, Nex-N2 Mini, Muse-Glimmer-30B, WorkRover-35B-A3B.
  • For the Pro benchmarks, also Claude Opus 5.5, GPT 6.1 Sol and DeepSeek-V4.1-Flash.
Implementation: data and training
  • Training uses three backbones: Qwen3-8B, Qwen3.6-35B-A3B and GLM-5.2-744B-A40B.
  • The 744B result is called ToolSpace-744B-A40B.
  • The authors collect over 200,000 agent-tool trajectories as raw material.
  • Any trajectory overlapping an evaluation test set is removed.
  • By task, tool-call sequence or initial state.
  • All data sources and MCP services use open-source licenses.
  • Environments follow the exploration settings of Agent-World.
  • Kimi K3 writes teacher trajectories and reverse-synthesizes tasks.
  • All samples are checked against V.
  • The result: 34,376 SFT samples and 653 RL samples.
  • RL candidates get extra Pass@16 screening with the 35B model.
  • Only candidates with one or two correct rollouts are kept, so RL is informative.

Training and evaluation

  • All data-synthesis baselines use the same SFT setup.
  • The 8B and 35B models train one epoch on 16 NVIDIA GPUs.
  • The 744B model trains one epoch on 256 GPUs.
  • Agent RL uses GRPO with clip bounds 0.8 and 1.28.
  • The reward is 1 only when execution-based verification of the full run passes, else 0.
  • The advantage is the reward minus the group mean.
  • Divided by the group standard deviation plus 10^-6.
  • Training runs 48 steps with learning rate 2 x 10^-6.
  • Batch size is 256 and group size is 16.
  • It is fully asynchronous, with maximum policy staleness 4.
  • Inference uses official recommended settings.
  • Each benchmark follows its standard protocol.
  • All ToolSpace results average three independent runs.
Evaluation settings and result provenance
  • Official leaderboard results come first.
  • Next come provider-reported scores under the official protocol.
  • For open-weight models without them, results are local reproductions with the official harness.
  • Split, metric, tool-call protocol and settings.
  • Local results average three independent runs.
  • External scores are used as published.

ToolSpace-35B-A3B gains over 35 points on AutomationBenchFrom Table 1
03060AutomationBench scoreQwen3.6-35B-A3B8.2 scoreToolSpace-35B-A3B45.8 scoreGLM 5.229.3 scoreGPT 5.6 Sol47.1 scoreClaude Opus 545.6 scoreToolSpace-744B-A40B54.7 score

Hover, tap or focus a bar to read its exact value.

ModelAutomation (score)OfficeQA (score)BFCL V4 (score)
Qwen3.6-35B-A3B8.245.960.0
ToolSpace-35B-A3B45.848.974.3
GLM 5.229.356.975.6
GPT 5.6 Sol47.166.468.8
Claude Opus 545.667.280.6
ToolSpace-744B-A40B54.767.178.4

Overview

  • Table 1 reports seven benchmarks.
  • ToolSpace is strong across model scales.
  • Three observations follow.

Observation 1

  • (1) Environment scaling learns the form of calls, not orchestration.
  • All 7 to 8B environment-scaling baselines stay weak (below 10) on the long, cross-environment suites.
  • These are AutomationBench, tau3-Bench Banking, JobBench and Harvey LAB.
  • Single-environment data fixes call form but does not teach cross-environment composition.

Observation 2

  • (2) ToolSpace shows cross-environment long-horizon execution across scales.
  • ToolSpace-8B leads same-size baselines on AutomationBench, JobBench and OfficeQA Pro.
  • ToolSpace-35B-A3B beats its Qwen backbone on all seven benchmarks.
  • AutomationBench rises by more than 35 points (8.2 to 45.8).
  • At 744B, ToolSpace-744B-A40B beats GLM 5.3, GPT 5.6 Sol and its teacher K3 on average.
  • Matches Claude Opus 5.
  • Gains beyond the teacher argue against plain distillation.
  • They suggest ToolSpace teaches transferable tool-composition structure.

Observation 3

  • (3) On-policy agent RL unlocks more.
  • SFT alone lifts ToolSpace by 18.0 points over the 35B backbone (23.0 to 41.0).
  • RL on ToolSpace data adds 2.2 more at 35B (41.0 to 43.2).
  • The largest RL gain is on tau3-Bench Banking (34.0 to 42.3).
  • So environment RL, through exploration, further unlocks multi-tool orchestration.
Table 1: all numbers (part 1)
ModelAutomationBenchSkillsBenchJobBench
Claude Opus 545.663.768.0
GPT 5.6 Sol47.162.545.4
GLM 5.352.563.358.2
GLM 5.229.356.743.4
DeepSeek-V4-Pro-081341.765.054.1
Kimi K344.851.954.3
Qwen 3.8 Max49.766.752.7
Qwen3-8B0.00.10.1
EnvScaler-8B0.01.61.1
AWM-8B0.01.40.5
Simulator-8B0.00.40.1
Agent-World-8B0.32.50.7
Agent-Reflex-8B0.53.30.8
Qwen3.6-27B10.722.15.6
Qwen3.6-35B-A3B8.230.76.4
Nex-N2 Mini13.216.811.5
Muse-Glimmer-30B14.232.93.5
WorkRover-35B-A3B28.7none36.9
ToolSpace-8B32.33.913.1
ToolSpace-8B + Agent RL34.34.115.5
ToolSpace-35B-A3B45.842.440.0
ToolSpace-35B-A3B + Agent RL45.845.340.0
ToolSpace-744B-A40B54.767.857.5

Table 1a: AutomationBench, SkillsBench, JobBench.

none means not officially reported. Groups in order: proprietary, open-weight above 200B, 7 to 8B baselines, 27 to 35B models, then ToolSpace.

Modeltau3-Bench BankingBFCL V4Harvey LAB
Claude Opus 548.780.622.7
GPT 5.6 Sol46.968.85.0
GLM 5.340.274.122.5
GLM 5.237.175.613.3
DeepSeek-V4-Pro-081344.371.46.7
Kimi K337.169.125.4
Qwen 3.8 Max55.266.824.2
Qwen3-8B4.142.80.0
EnvScaler-8B7.247.50.0
AWM-8B5.242.00.0
Simulator-8B1.020.50.0
Agent-World-8B6.249.00.0
Agent-Reflex-8B3.151.30.0
Qwen3.6-27B15.858.50.8
Qwen3.6-35B-A3B9.360.00.8
Nex-N2 Mini18.663.30.0
Muse-Glimmer-30B11.355.50.0
WorkRover-35B-A3Bnonenonenone
ToolSpace-8B10.365.30.0
ToolSpace-8B + Agent RL11.367.50.0
ToolSpace-35B-A3B34.074.31.7
ToolSpace-35B-A3B + Agent RL42.374.82.5
ToolSpace-744B-A40B43.378.427.5

Table 1b: tau3-Bench Banking, BFCL V4, Harvey LAB.

ModelOfficeQA ProAverage
Claude Opus 567.256.6
GPT 5.6 Sol66.448.9
GLM 5.365.853.8
GLM 5.256.944.6
DeepSeek-V4-Pro-081366.249.9
Kimi K365.449.7
Qwen 3.8 Max66.254.5
Qwen3-8B3.07.2
EnvScaler-8B1.58.4
AWM-8B5.37.8
Simulator-8B6.04.0
Agent-World-8B3.88.9
Agent-Reflex-8B5.39.2
Qwen3.6-27B38.421.7
Qwen3.6-35B-A3B45.923.0
Nex-N2 Mini38.423.1
Muse-Glimmer-30B13.518.7
WorkRover-35B-A3B48.9none
ToolSpace-8B12.019.6
ToolSpace-8B + Agent RL12.020.7
ToolSpace-35B-A3B48.941.0
ToolSpace-35B-A3B + Agent RL51.943.2
ToolSpace-744B-A40B67.156.6

Table 1c: OfficeQA Pro and average.

Sizes in the paper: GLM 744B, DeepSeek-V4-Pro 1.7T, Kimi K3 2.8T, Qwen 3.8 Max 2.4T.

Every frontier model drops sharply on AutomationBench ProFrom Table 2
StandardPro
03570AutomationBench scoreClaude Opus 5.559.2 score26.3 scoreGPT 6.1 Sol50.8 score24.7 scoreDeepSeek-V4.1-Flash-101760.5 score22.3 scoreDeepSeek-V4.1-Flash54.8 score20.0 scoreGLM 5.352.5 score22.7 scoreQwen 3.8 Max49.7 score24.0 scoreGLM 5.229.3 score18.0 score

Hover, tap or focus a bar to read its exact value.

ModelStandard (score)Pro (score)
Claude Opus 5.559.226.3
GPT 6.1 Sol50.824.7
DeepSeek-V4.1-Flash-101760.522.3
DeepSeek-V4.1-Flash54.820.0
GLM 5.352.522.7
Qwen 3.8 Max49.724.0
GLM 5.229.318.0
ModelAutomationBench Std. / Pro / DeltaBanking Std. / Pro / Delta
Claude Opus 5.559.2 / 26.3 / -32.951.5 / 35.7 / -15.8
GPT 6.1 Sol50.8 / 24.7 / -26.146.4 / 29.6 / -16.8
DeepSeek-V4.1-Flash-101760.5 / 22.3 / -38.251.3 / 36.9 / -14.4
DeepSeek-V4.1-Flash54.8 / 20.0 / -34.850.3 / 35.7 / -14.6
GLM 5.352.5 / 22.7 / -29.840.2 / 20.4 / -19.8
Qwen 3.8 Max49.7 / 24.0 / -25.755.2 / 29.6 / -25.6
GLM 5.229.3 / 18.0 / -11.337.1 / 12.2 / -24.9

Table 2: AutomationBench and tau3-Bench Banking, Standard vs. Pro.

Std. scores come from the Atria Dawn public leaderboard. DeepSeek-V4.1-Flash scores follow its release notes. Delta is Pro minus Standard.

  • All seven frontier models drop a lot from Standard to Pro.
  • Claude Opus 5.5 and GPT 6.1 Sol fall by 32.9 and 26.1 points on AutomationBench.
  • They fall by 15.8 and 16.8 points on tau3-Bench Banking.
  • The largest AutomationBench drop is 38.2 points.
  • With Figure 6, this shows that as cross-environment and tool-execution difficulty rises.
  • Even frontier models struggle.
  • This shows ToolSpace's flexible difficulty control.

More data keeps raising AutomationBench scoreFrom Figure 7
03060AutomationBench scoreUntuned8.2 score1/1625.2 score1/833.8 score1/437.7 score1/241.2 scoreFull45.8 score

Hover, tap or focus a bar to read its exact value.

Training fractionData scaling (score)Environment scaling (score)
Untuned8.28.2
1/1625.29.2
1/833.833.8
1/437.738.7
1/241.239.5
Full45.845.8
Environment scaling analysis
  • The authors tune Qwen3.6-35B-A3B on data from growing fractions of ToolSpace environments.
  • From 1/16 to all.
  • Backbone, setup and evaluation stay fixed. Zero is the untuned backbone.
  • Despite dips at middle fractions, performance rises overall and peaks at the full set.
  • AutomationBench jumps from 9.2 to 33.8 between 1/16 and 1/8.
  • New clusters add new cross-environment edges, so breadth limits results at low coverage.
  • tau3-Bench Banking improves more slowly. It relies on a narrower set of stateful banking tools.
  • So performance scales with the breadth of environments that seen chains connect.
  • AutomationBench gains about +4 points per doubling beyond 1/8.
  • There is a plateau from 1/4 to 1/2.
  • Banking has its largest jump only at the full set (19.6 to 34.0).
Data scaling analysis
  • The authors tune on 1/16, 1/8, 1/4, 1/2 and the full SFT set.
  • Performance rises overall, and the full set is best on all five benchmarks.
  • SkillsBench dips from 32.4 at 1/16 to 32.0 at 1/8.
  • AutomationBench rises from 25.2 to 45.8 with the full set.
  • tau3-Bench Banking rises from 20.6 to 34.0.
  • So gains do not come from a few high-quality examples.
  • Each added fraction adds new seen tool chains and dependency structure.
  • Small dips below the backbone at 1/16 on BFCL V4 and OfficeQA Pro occur.
  • They suggest interference when the SFT mix is too small.
  • The trend then turns stable.
  • From 1/2 to the full set, all five benchmarks improve (AutomationBench +4.6), with no plateau.
Environment relevance analysis
  • Do gains come from overfitting to benchmark-like environments?
  • The authors rank environment clusters by relevance to each benchmark with BGE embeddings.
  • They compare SFT on full data, the top 50% most relevant environments.
  • A random 50%.
  • If benchmark fitting drove gains, Top 50% would clearly beat Random 50%.
  • The two differ by at most 1.7 points on AutomationBench.
  • SkillsBench, BFCL V4 and OfficeQA Pro.
  • Both come close to full-data performance with half the environments.
  • So gains reflect transferable tool-composition structure.
Task-synthesis diversity
  • The authors sample 2k questions from four SFT corpora: EnvScaler, Agent-World, Agent-Reflex and ToolSpace.
  • They embed with BGE-M3, reduce with t-SNE and cluster with DBSCAN.
  • ToolSpace forms the most question clusters: 42.
  • The others form 25, 31 and 34.
  • It keeps compact local groups and wider coverage.
  • The authors credit edge-weighted sampling over seen tool compositions.
Environment synthesis cost
  • The cost proxy is the number of synthesized files.
  • The sample is 500 environments from Agent-World's public library.
  • Agent-World synthesizes all 2,724 files.
  • ToolSpace synthesizes only 1,218 files, from operation-bearing environments.
  • That is 1,506 fewer files, a 55.3% reduction.
  • JSON files fall from 2,643 to 1,205. CSV files fall from 42 to 7.
  • This is not a direct measure of tokens, time, API calls or compute.
  • Exact savings in those are not measured.
Component ablation (Table 3)
Using LLM-judged edges costs about as much as dropping state edgesFrom Table 3
02550SkillsBench score (ToolSpace 35B)Full ToolSpace42.4 scorew/o retry edges41.2 scorew/o rollback39.8 scoreUniform walk38.9 scorew/o state edges38.0 scorew/o data edges37.5 scoreLLM-judged edges36.4 score

Hover, tap or focus a bar to read its exact value.

VariantScore
Full ToolSpace42.4
w/o retry edges41.2
w/o rollback39.8
Uniform walk38.9
w/o state edges38.0
w/o data edges37.5
LLM-judged edges36.4
VariantAutomationBenchSkillsBenchBFCL V4
Full ToolSpace45.842.474.3
w/o state edges36.538.070.1
w/o data edges38.237.562.4
w/o retry edges43.941.272.8
w/o rollback41.039.871.5
Uniform walk (no w)39.638.969.8
LLM-judged edges37.836.466.9

Table 3 (part 1): AutomationBench, SkillsBench, BFCL V4.

Varianttau3-Bench BankingOfficeQA Pro
Full ToolSpace34.048.9
w/o state edges21.544.0
w/o data edges29.840.6
w/o retry edges32.647.9
w/o rollback30.146.3
Uniform walk (no w)28.445.1
LLM-judged edges26.743.5

Table 3 (part 2): tau3-Bench Banking, OfficeQA Pro.

What the ablation shows

  • Removing any component hurts all five benchmarks, so they are complementary.
  • The two structural edge types split the work.
  • State edges matter most for tau3-Bench Banking and AutomationBench.
  • Where state preconditions decide if a chain can run.
  • Data edges matter most for BFCL V4 and OfficeQA Pro.
  • Where argument provenance carries the task.
  • Their average drops are close (7.1 vs. 7.4 points) but fall on different benchmarks.
  • So state dependencies, not data flow alone, enable cross-environment execution.
  • How edges are found and walked matters as much as which edges exist.
  • LLM-judged edges hurt every benchmark almost as much as removing state edges.
  • Edges must be witnessed by execution, not just plausible.
  • Rollback and edge-weighted sampling help in between.
  • Retry edges help least, in line with their role in robustness to noisy tools.

  • ToolSpace is a tool-centric framework for cross-environment agent data synthesis.
  • It mines data, state and retry links between adjacent calls.
  • The calls come from traces of real MCP services and open agent corpora.
  • It uses fixed rules, not LLM judgment.
  • It clusters the weighted graph into environments.
  • Databases are made only for state-changing environments.
  • Query and stateless tools replay recorded returns.
  • State-aware random walks with rollback become tasks with assertion-based checks.
  • Only samples that replay from the initial state are kept.
  • On the Pro versions, seven frontier models drop by up to 38.2 points.
  • Across seven benchmarks, Qwen3.6-35B-A3B goes from 23.0 to 41.0 (43.2 with RL).
  • GLM-5.2 goes from 44.6 to 56.6, on par with Claude Opus 5.
  • Execution-seen edges clearly beat LLM-judged ones.
  • Performance keeps improving with data and environment scale.

Words to know

  • Assertion check: A code test on final state, middle state or output fields.
  • Distillation: Training a small model to copy a stronger teacher.
  • Execution trace: A record of the tool calls an agent made in a real run.
  • GRPO: An RL method that compares a group of attempts at one task.
  • Long-horizon task: A task that needs many steps to finish.
  • MCP: Model Context Protocol: a standard way for agents to call tools.
  • Replay: Run the saved chain again from the start to check it.
  • Rollback: Undo a failed step and try another option.
  • SFT: Training a model on example runs.
  • Snapshot: A saved copy of an environment's state at one step.
  • Stateless tool: A tool whose result needs no stored state, like web search.
  • t-SNE and DBSCAN: Tools that plot and group texts by how alike they are.
  • Tool space: The layer of tools and their links between an agent and its data.

Share this paper

LinkedIn (opens in a new tab)X (opens in a new tab)WhatsApp (opens in a new tab)EmailDownload PDFExplainer (PDF), 908 KB

Ask AI about this paper

Stuck on a word or an idea? Ask in plain words. The answer comes from the write-up on this page.

Read the original paper on arXiv: ToolSpace: Scaling Tool-Centric Environment Synthesis for Long-Horizon Agents (opens in a new tab)

Jump to

One paper a week, in plain English

Every Monday: the new AI papers worth your time. Short lines, the key number, and what to do with it.

One email a week. Unsubscribe with one click. No spam.