Latest / Daily Paper Cast / ToolSpace: Scaling Tool-Centric Environment Synthesis for Long-Horizon Agents
Transcript
- 0:03Evan: Welcome back to Daily Paper Cast!
- 0:05Ashley: Today's paper is from the Hugging Face daily paper list of November 4, 2026, and it has received 30 upvotes.
- 0:13Evan: The title of the paper is 'ToolSpace: Scaling Tool-Centric Environment Synthesis for Long-Horizon Agents.'
- 0:21Ashley: It is authored by Guanting Dong, Zhichao Sun, et al., with corresponding authors Tao Gui and Zhicheng Dou from Renmin University of China and Fudan University, respectively.
- 0:33Evan: Let's dive into the Introduction.
- 0:34Recent advances have pushed large language models from single-turn chatbots to collaborative agents capable of completing long-horizon tasks in dynamic environments.
- 0:44Ashley: These agents need to master a scalable set of tools and orchestrate diverse tools into executable long-horizon chains.
- 0:52Because tools are the atomic units of agent execution, the organization and composition of tools at scale is foundational for expanding agent capabilities.
- 1:03Evan: Indeed, to scale tool use, existing methods generally follow two main approaches.
- 1:09First, some treat the large language model itself as an implicit textual world model, generating simulated feedback from tool specifications and interaction histories.
- 1:19Ashley: However, this simulated feedback can be prone to hallucination, and maintaining state consistency is challenging.
- 1:26Evan: So the second approach reproduces interaction logic explicitly by synthesizing executable tools alongside environment databases.
- 1:34For example, constructing a database from a real service theme, generating matching tools, and creating tasks with verifiable outcomes.
- 1:42Ashley: But this data-centric environment synthesis often starts by synthesizing an environment database and thematic scenario first, then deriving tools and tasks, leading to three key limitations.
- 1:54Evan: What are these limitations?
- 1:56Ashley: First, there is often a mismatch between synthesized tool functionality and actual tool interface definitions, making it hard for agents to learn transferable operations.
- 2:08Second, the orchestration of tools is often inauthentic because the synthesized links lack the foundation of real execution evidence.
- 2:16Third, task synthesis is typically confined to single environments, while real-world tasks often span multiple environments.
- 2:24Evan: The authors propose ToolSpace to tackle these challenges.
- 2:28Ashley: ToolSpace reverses this data-centric approach by starting with tools as the atomic units of agent capability growth.
- 2:35It models the real connectivity and state transfer among tools to build a cross-environment tool-graph layer, and then the complexity of synthesized tasks emerges from this expanded tool-composition space.
- 2:47Evan: The ToolSpace framework consists of two main stages.
- 2:51Ashley: First, Tool Space Exploration extracts tool calls from real-world execution traces and mines data, state, and retry links using deterministic rules.
- 3:01The resulting tool-composition graph clusters tightly coupled tools into environment clusters, synthesizing databases on demand only for operation environments, while reusing original tool returns for others.
- 3:13Evan: Second, Cross-Environment Verifiable Task Synthesis samples tool chains through state-aware random walks and decompiles these chains into natural language tasks with assertion-based verification scripts, retaining only samples that execute successfully end-to-end.
- 3:31Ashley: To validate ToolSpace's effectiveness, the authors anchor the full pipeline to AutomationBench and Tau3-Bench Banking, extending their difficulty by producing 'Pro' versions with harder tasks where multiple frontier models dropped significantly in performance.
- 3:46Evan: Ultimately, ToolSpace raises long-horizon tool-use benchmarks significantly across seven different domains, demonstrating clear advantages in model performance scaling.
- 3:57Ashley: Indeed.
- 3:58The authors identify the crucial limits of data-centric synthesis and show that ToolSpace's tool-centric approach effectively reconstructs a scalable, explorable tool-composition space from real execution traces, synthesizing verifiable agent tasks.
- 4:14Evan: That concludes the Introduction section.
- 4:16Up next, we'll dive into the methods used in ToolSpace to achieve these results.
- 4:23Evan: Let's dive into the methods used in ToolSpace to achieve these ambitious results.
- 4:27Ashley: ToolSpace comprises two tightly coupled components: Tool Space Exploration and Cross-Environment Task Synthesis.
- 4:35Evan: Starting with Tool Space Exploration, the goal is to build a scalable tool-composition graph from real execution traces.
- 4:43How does this work?
- 4:44Ashley: First, ToolSpace collects agent trajectories from different sources.
- 4:48It uses MCP-ecosystem trajectories from existing MCP environment scaling work, and web-sourced agent trajectories collected using deep-search agents.
- 4:58Evan: MCP-ecosystem trajectories come from real MCP servers, while web-sourced trajectories include interactions with diverse tools on the web.
- 5:08What happens next?
- 5:09Ashley: ToolSpace then organizes these trajectories into a typed tool-composition graph, GTS, using three edge types: data dependency, state dependency, and retry dependency.
- 5:21Data dependency captures input values derived from previous tool outputs.
- 5:26State dependency tracks changes to persistent environment objects, and retry dependency handles recoverable errors by linking failed calls with successful retries.
- 5:36Evan: So, essentially, these edge types map the logical relationships between tool calls.
- 5:43How are these edges weighted?
- 5:45Ashley: Edges are weighted based on their observed transition frequency.
- 5:49For instance, if a tool ‘A’ frequently calls tool ‘B’ afterward, the edge between them is weighted by the number of times ‘B’ follows ‘A,’ divided by the total occurrences of tool ‘A.’ This ensures that recurring tool dependencies are retained while filtering out less significant transitions.
- 6:06Evan: That's quite methodical.
- 6:07What’s next after constructing this graph?
- 6:10Ashley: Next, ToolSpace clusters tightly coupled tools into environment clusters, based on connection density.
- 6:17It synthesizes a database only for operation environments, which contain tools that create, modify, or delete objects.
- 6:25For state-query environments, initial environment states are anchored in tool returns like file lists or message queries.
- 6:33Stateless environments reuse cached tool results, minimizing the need for database synthesis.
- 6:38Evan: So ToolSpace is quite efficient in its approach by avoiding unnecessary database synthesis.
- 6:44Moving to Cross-Environment Task Synthesis, how does ToolSpace generate these long-horizon tasks?
- 6:50Ashley: ToolSpace performs state-aware random walks on the tool-composition graph.
- 6:55Starting at a tool node bound to a database and initial snapshot, neighbors are sampled proportionally to edge weight.
- 7:01Each step fills input parameters from previous outputs or current snapshot, ensuring parameter provenance and dependency reachability.
- 7:10Evan: What happens if a tool fails during these random walks?
- 7:14Ashley: ToolSpace employs rollback sampling.
- 7:16If a tool fails or state consistency is violated, the environment is restored to the previous state, and another neighbor is resampled.
- 7:24This process continues until valid chains of the target length and environment coverage are produced.
- 7:29Only chains passing replay verification are retained.
- 7:32Evan: That seems quite robust.
- 7:34And how are these chains transformed into natural-language tasks?
- 7:38Ashley: ToolSpace reverse-synthesizes each verified chain into a natural-language task, devoid of tool names and call order.
- 7:45A verification set is generated to audit the chain through state, trace, and output checks.
- 7:50Samples are retained if they pass replay from initial state successfully.
- 7:54This yields a dataset of complex, verifiable tasks spanning multiple environments.
- 8:00Evan: Essentially, ToolSpace ensures that each task and tool chain is not only executable but can be audited for correctness.
- 8:09How well does this method perform?
- 8:11Ashley: ToolSpace flexibly extends the difficulty of benchmarks like AutomationBench and Tau3-Bench Banking by producing more challenging Pro versions.
- 8:25For example, seven frontier models showed significant performance drops on these Pro versions, demonstrating the increased complexity and scope of tool orchestration required.
- 8:40Evan: That clearly shows ToolSpace's effectiveness in creating harder tasks and pushing model capabilities.
- 8:47Any specific metrics or results from the experiments?
- 8:51Ashley: Across seven benchmarks, ToolSpace demonstrates substantial model performance improvements.
- 8:56For instance, Qwen3.6-35B-A3B improved from an average score of 23.0 to 41.0 with ToolSpace data, and further to 43.2 with reinforcement learning.
- 9:10GLM-5.2 saw its score rise from 44.6 to 56.6, competitive with some of the best proprietary models like Claude Opus 5.
- 9:20Evan: The results speak volumes about the scalability and effectiveness of ToolSpace’s methods in real-world applications.
- 9:30We can see the impact of a well-designed tool-centric framework in advancing agent capabilities.
- 9:38Ashley: Indeed.
- 9:38And with detailed ablation studies, the authors demonstrated that execution-witnessed edges and data/environment scale significantly improve performance, reinforcing the principles behind ToolSpace’s design.
- 9:51Evan: This brings us to the end of the Method section, showing how ToolSpace meticulously constructs and validates complex cross-environment tasks for agents.
- 10:01Evan: Now, let's move on to the Experiments and Results section, where the authors validate ToolSpace's effectiveness.
- 10:09Ashley: The authors evaluate ToolSpace across seven long-horizon tool-use benchmarks: AutomationBench, SkillsBench, JobBench, Tau3-Bench Banking, the Berkeley Function Calling Leaderboard V4, Harvey LAB, and OfficeQA Pro.
- 10:25Evan: They use a variety of models for these evaluations, including proprietary frontier models like Claude Opus 5 and GPT 5.6 Sol, as well as different scales of open-weight models.
- 10:41Ashley: For the proprietary models, Claude Opus 5 scored an average of 56.6 across the benchmarks, while GPT 5.6 Sol achieved an average score of 48.9.
- 10:55Among the open-weight models, GLM 5.3 led with a score of 53.8, and Qwen 3.8 Max followed closely with 54.5.
- 11:07Evan: What was ToolSpace's performance in comparison?
- 11:12Ashley: ToolSpace significantly improved model performance.
- 11:15The ToolSpace-35B-A3B variant achieved an average score of 41.0 across the benchmarks, which increased to 43.2 with on-policy reinforcement learning.
- 11:28The ToolSpace-744B-A40B model reached an impressive score of 56.6, matching the top proprietary model Claude Opus 5.
- 11:39Evan: That's a substantial improvement.
- 11:41What do these results indicate about ToolSpace's impact?
- 11:45Ashley: It shows that ToolSpace not only facilitates the construction of complex, cross-environment tasks but also scales well across different model sizes, significantly enhancing performance.
- 12:00The synthesis of verifiable tasks from real execution traces appears to be a key differentiator.
- 12:08Evan: How were the Pro versions of the benchmarks used to test frontier models?
- 12:14Ashley: The Pro versions extended the difficulty of AutomationBench and Tau3-Bench Banking by increasing task complexity and the number of environments involved.
- 12:23Seven frontier models showed significant performance drops on these Pro versions, underscoring the higher complexity and scope of tool orchestration required.
- 12:33Evan: Right, the results from these harder benchmarks are quite telling.
- 12:37Ashley: On AutomationBench Pro, average tool calls rose sharply from 26.8 to 43.6 in the standard version, to between 56.3 and 60.6 in the Pro version.
- 12:52For Tau3-Bench Banking Pro, tool calls increased from 23.1 to 32.2 in the standard version, to between 29.6 and 36.3 in the Pro version.
- 13:06This clearly demonstrates the added difficulty and need for better tool orchestration.
- 13:11Evan: Were there any specific fine-tuning analyses conducted?
- 13:15Ashley: Yes.
- 13:16The authors analyzed performance with increasing fractions of synthesized environments and training data.
- 13:22In environment scaling, Qwen3.6-35B-A3B showed sharp performance improvements, particularly from 1/16 to 1/8 of the environment set on AutomationBench, rising from 9.2 to 33.8.
- 13:41Similar gains were observed in data scaling, solidifying the importance of breadth and volume in training data.
- 13:48Evan: It seems the breadth and depth of the data significantly impact the model's capabilities.
- 13:54Were there any additional analyses or ablations?
- 13:57Ashley: Indeed.
- 13:58Ablation studies revealed that every component of ToolSpace contributes uniquely to the overall performance.
- 14:05Removing state or data edges notably degraded benchmark scores.
- 14:09For instance, state edges had the most impact on Tau3-Bench Banking and AutomationBench, while data edges were crucial for BFCL V4 and OfficeQA Pro.
- 14:20This indicates that execution evidence and dependency structure are vital for complex cross-environment tasks.
- 14:27Evan: So both the structural composition and real-execution evidence play critical roles.
- 14:33What do these findings mean for future research?
- 14:35Ashley: These results suggest that leveraging real tool-execution data and focusing on cross-environment orchestration can greatly enhance agent capabilities.
- 14:45ToolSpace provides a clear path forward for integrating scalable, verifiable tasks into agent training pipelines, which could push the boundaries of what agents can achieve in dynamic environments.
- 14:56Evan: This section really highlights the practical impacts of ToolSpace on advancing agent performance.
- 15:02That wraps up our discussion on the Experiment section.
- 15:06Evan: Next, we’ll discuss the Related Work section where the authors place ToolSpace within the broader landscape of agent environment scaling and graph-based data synthesis.
- 15:18Ashley: Research in agent environment scaling is foundational for enhancing agent capabilities.
- 15:23This involves evolving the environments in which agents operate.
- 15:27Two primary routes are taken: simulator-style methods and executable-environment methods.
- 15:33Evan: Simulator-style methods, like Simia and GenEnv, use large language models as textual world models to emulate tool feedback.
- 15:43These methods scale inexpensively but are prone to hallucination and inconsistent states.
- 15:49Ashley: Executable-environment methods, on the other hand, programmatically synthesize databases, matching tools, and verifiable tasks.
- 15:57This approach ensures accurate logic reproduction by explicitly constructing task environments that agents can interact with.
- 16:04Evan: So, ToolSpace fits into the executable-environment category.
- 16:10But how does it differ fundamentally from these existing methods?
- 16:14Ashley: Existing paradigms usually follow a data-centric approach where the database and environment are synthesized first, and then tools and tasks are derived from them.
- 16:29ToolSpace, however, flips this order by making tools the core focus, reconstructing real tool-composition from execution traces before synthesizing environments on demand.
- 16:43Evan: This tool-centric approach seems like it would address the limitations around tool functionality mismatch and inauthentic tool orchestration.
- 16:51Ashley: Exactly.
- 16:52By basing the synthesis on real tool calls and their dependencies, ToolSpace guarantees that the resulting tool interfaces are authentic and align with real-world protocols, unlike synthetic tool sets derived from fabricated environments.
- 17:08Evan: What about the cross-environment task synthesis?
- 17:11How does ToolSpace compare to previous methods in this aspect?
- 17:16Ashley: Previous methods typically confine tasks within single environments, limiting the complexity and interactivity agents can learn.
- 17:24ToolSpace leverages execution traces to build a tool-composition graph that spans multiple environments, enabling the synthesis of complex tasks that naturally involve cross-environment interactions.
- 17:37Evan: It sounds like ToolSpace enables a more holistic approach to task synthesis by connecting multiple environments coherently.
- 17:44Ashley: This approach is validated by the pipeline’s application to existing benchmarks, where it produced more challenging versions that required agents to navigate and use tools across diverse environments effectively.
- 17:58Evan: Now, let's touch upon graph-based agentic data synthesis, another crucial area of related work addressed by the authors.
- 18:08Ashley: Graph-based data synthesis has been explored for generating agent tasks with intrinsic dependencies.
- 18:14For example, knowledge graphs are used for information-seeking tasks, API-dependency graphs for multi-turn tool use, and formalized search tasks for generating complex trajectories.
- 18:26Evan: ToolSpace contributes here by introducing execution-witnessed edges derived from real calls.
- 18:32How is this different from the previous work that used LLM judgment to establish dependencies?
- 18:38Ashley: ToolSpace relies on deterministic rules to extract dependencies directly from adjacent tool calls, ensuring that edges in the tool graph are grounded in actual execution evidence rather than hypothetical judgments.
- 18:58This makes the tool-composition graph more reliable and representative of real-world interactions.
- 19:06Evan: What are the implications of this grounded approach for agent training?
- 19:10Ashley: It means that the synthesized tasks are not just executable but verifiable, allowing accurate auditing and replay from initial states.
- 19:19This builds stronger training datasets, ensuring agents learn from high-quality, real-world data, ultimately improving their performance in dynamic environments.
- 19:30Evan: This integration of deterministic rules for dependency extraction is a critical advancement compared to LLM judgment.
- 19:38It builds a more trustworthy graph for task synthesis.
- 19:41Ashley: Indeed.
- 19:42The broader scope of ToolSpace’s graph enables it to capture the intricate web of tool interactions across environments, providing a comprehensive foundation for agent training and evaluation.
- 19:55Evan: In summary, ToolSpace’s tool-centric approach combined with execution-witnessed graph synthesis ensures authentic and complex task creation, pushing the boundaries beyond previous data-centric and graph-based methodologies.
- 20:10Ashley: That concludes the Related Work section.
- 20:14Evan: Now, let’s wrap up this episode with a summary of the key contributions and takeaways from the paper ‘ToolSpace: Scaling Tool-Centric Environment Synthesis for Long-Horizon Agents.’
- 20:27Ashley: First and foremost, ToolSpace introduces a tool-centric framework that reverses the conventional data-centric approach to agent environment synthesis.
- 20:37By starting with tool calls extracted from real execution traces, ToolSpace builds a more authentic tool-composition graph, ensuring realistic and transferable tool interactions.
- 20:48Evan: Exactly.
- 20:49This graph is constructed using deterministic rules for data, state, and retry dependencies, making it fundamentally grounded in actual tool usage rather than hypothetical LLM judgments.
- 21:02Ashley: Moreover, ToolSpace effectively clusters these tools into environment clusters, synthesizing databases only as needed for operation environments, thereby optimizing resource use and efficiency in task generation.
- 21:20Evan: When it comes to task synthesis, the state-aware random walks ensure that long-horizon tasks are not only executable but verifiable, as each chain is meticulously checked against state, trace, and output assertions.
- 21:35Ashley: This leads to training datasets that greatly improve agent performance.
- 21:40As evidenced by the significant performance gains across various benchmarks, ToolSpace enables models to achieve higher scores and tackle more complex, cross-environment tasks.
- 21:52Evan: In effect, ToolSpace pushes the boundaries of long-horizon agent capabilities, demonstrating that real tool-execution data and cross-environment orchestration are vital for advancing agent development.
- 22:05Ashley: We hope you found today's deep dive into ToolSpace insightful.
- 22:09Evan: If you’re interested in more discussions on cutting-edge research in AI, NLP, CV, and related fields, be sure to tune in to future episodes.
- 22:20Ashley: Thank you for listening to Daily Paper Cast.
- 22:23We look forward to having you with us next time.
- 22:26Until then, stay curious and keep exploring!