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:2611.05036 · 2026-11-04 공개 · arXiv · PDF

benchmarking long-horizon-agents automationbench environment-synthesis execution-traces tau3-bench tool-space mcp-services

Abstract

Large language models are deployed as long-horizon agents that compose diverse tools across MCP services into executable workflows. Existing MCP environment-scaling methods are data-centric: they first synthesize a database and scenario, then derive tools and tasks from them. As a result, tool interfaces may not match real ones, tool compositions are not grounded in execution, and tasks rarely span more than one environment. We propose ToolSpace, a tool-centric framework that reverses this order. ToolSpace mines data, state, and retry dependencies from adjacent calls in execution traces of real MCP services and open agent corpora, using deterministic rules rather than LLM judgment, and clusters the resulting weighted tool-composition graph into environments. Databases are synthesized only for state-mutating environments, while query and stateless tools replay recorded returns. ToolSpace then performs state-aware random walks with rollback and decompiles each chain into a natural-language task with assertion-based checks, keeping only samples that replay successfully from the initial state. Applied to AutomationBench and tau3-Bench Banking, the pipeline produces harder Pro versions on which 7 frontier models drop by up to 38.2 points. Across seven long-horizon tool-use benchmarks, ToolSpace raises Qwen3.6-35B-A3B from 23.0 to 41.0 average score (43.2 with RL) and GLM-5.2 from 44.6 to 56.6, on par with Claude Opus 5. Ablations show that execution-witnessed edges clearly outperform LLM-judged ones, and performance keeps improving with data and environment scale.

한국어 요약

한 줄 요약

ToolSpace는 실행 추적 기반의 도구 중심 환경 합성 프레임워크로, Qwen3.6-35B-A3B의 평균 점수를 23.0에서 41.0로 끌어올림.

핵심 기여도

핵심 아이디어

기존 환경 합성은 데이터 중심으로, 데이터베이스를 먼저 생성한 후 도구와 태스크를 유도하므로 도구 인터페이스가 실제와 일치하지 않으며, 실행 기반의 도구 조합이 부족하다. ToolSpace는 실행 추적에서 도구 간 데이터, 상태, 재시도 의존성을 확정적 규칙으로 추출하고, 이를 기반으로 도구 합성 그래프를 생성한다. 이 그래프는 가중치를 기반으로 환경 클러스터링을 수행하며, 상태 변경 환경에만 데이터베이스를 합성한다. 도구는 실행 기록을 재생하거나, 상태 인식 랜덤 워크를 통해 태스크를 생성하며, 재실행 가능성을 확인한 후 자연어 태스크로 변환한다. 이는 실제 도구 실행 로직을 반영한, 실행 가능한 장기적 태스크 생성을 가능하게 한다.

기술적 접근법

주요 결과

의의 및 한계

ToolSpace는 실제 도구 실행 로직을 반영한, 실행 가능한 장기적 태스크 생성을 가능하게 하며, 도구 인터페이스 일치도와 실행 증거 기반 도구 연결을 보장한다. 이는 기존 데이터 중심 접근법의 한계를 극복하고, 실제 도구 생태계와의 호환성을 높인다. 그러나 실행 추적 데이터의 질과 양에 따라 성능이 크게 영향을 받을 수 있으며, 모든 도구와 환경을 포괄적으로 모델링하는 것은 여전히 어려운 문제이다. 또한, 도구 간 의존성 추출 알고리즘의 확정적 규칙은 유연성 측면에서 한계가 있을 수 있다.

실용적 활용

ToolSpace는 자동화 시스템, 은행 서비스, 클라우드 관리 플랫폼 등 다양한 산업에서 장기적 도구 사용을 요구하는 에이전트 학습에 적용 가능하다. 특히, 실제 도구 인터페이스와 실행 로직을 반영한 합성 환경을 필요로 하는 연구 및 개발 상황에서 유용하게 활용될 수 있다.