TL;DR
AgentSkiller is an automated framework designed to synthesize high-quality, long-horizon, multi-turn training data for Large Language Model (LLM) agents across semantically linked domains. By leveraging a state-machine-driven architecture orchestrated by Directed Acyclic Graphs (DAGs), it ensures deterministic state transitions and rigorous environment validation. Models trained on AgentSkiller's synthesized dataset achieve massive performance gains, allowing a 14B parameter model to outperform proprietary giants and much larger open-source baselines on complex tool-use benchmarks.
What Problem Does This Paper Address?
While LLM agents excel at simple single-turn tasks, scaling them into generalist intelligent agents capable of handling complex, long-horizon, real-world problems remains heavily bottlenecked by a lack of high-quality training data.
Currently, data collection relies on two main paradigms, both of which have severe limitations:
- Collecting real-world API logs: This approach is heavily restricted by user privacy concerns and suffers from narrow domain coverage.
- Scripted forward simulation: While safer, these methods require extensive manual validation, lack conversational diversity, and struggle to generate realistic multi-turn, cross-domain workflows (e.g., booking a flight and subsequently filing an insurance claim).
Without a scalable way to generate complex, multi-turn interaction trajectories with verifiable environment states, training next-generation generalist agents remains an uphill battle.
Methods
AgentSkiller introduces a fully automated, scalable data synthesis pipeline built on three core architectural principles:
- Dual-Model Architecture: It decouples high-level semantic reasoning (handled by a Textual LLM like GPT-5.2) from precise syntactic code generation (handled by a Coding LLM like Claude Opus).
- State-Machine Orchestration: The pipeline uses LangGraph to manage 18 atomic generation steps, incorporating automated checkpointing to allow pause, resume, and recovery capabilities.
- Test-Driven Self-Correction: To handle LLM stochasticity, any syntax or logical error encountered during environment execution triggers a "Block Editor" that iteratively patches code based on error traces.
The synthesis pipeline operates in five sequential phases:
- Ontology & Topology: Abstract seed topics are expanded into a Person-Centric Entity Graph, anchoring the simulation around human actors interacting with system resources.
- Service Specification: Abstract entities are converted into Service Blueprints that standardize tool interfaces for Model Context Protocol (MCP) servers.
- Implementation & Grounding: The system populates databases with constraint-satisfying data and generates strict Domain Policies to govern tool behavior under a closed-world assumption.
- Cross-Domain Fusion: Distinct services are linked via shared core entities (e.g., combining Airline and Hotel booking), fusing their databases and policies into a unified execution context.
- Task Synthesis & Instantiation: A constraint-solving planner enumerates valid tool execution trajectories. A Persona-Based Simulator then generates natural language queries using an Information Hiding Principle—deliberately omitting key parameters in the initial turn to force the agent to actively gather information.
Datasets
The authors introduced the AgentSkiller-11K dataset, which contains approximately 11,522 high-fidelity interaction samples. It is split into:
- Single-Domain Subset (5,941 samples): Atomic tasks within isolated boundaries.
- Cross-Domain Subset (5,581 samples): Complex workflows spanning multiple services.
The framework and dataset were rigorously evaluated against three major function-calling benchmarks: $\tau$-bench, $\tau^2$-bench, and ACEBench-Agent.
Key Insights and Ideas
- Data Quality Beats Model Scale: One of the most striking findings is that an AgentSkiller-4B model outperforms massive models like xLAM-2-70B-fc-r and Qwen3-Thinking-235B on complex benchmarks. This challenges the assumption that complex tool reasoning requires massive parameter counts.
- Fusing Domains Unlocks Robustness: Comparing models trained purely on single-domain data versus the full dataset revealed that cross-domain data synthesis doesn't just help with multi-hop tasks—it fundamentally reinforces the agent's robustness on simpler, single-domain tool-use scenarios.
- Pruning Trajectories Saves Compute: The framework introduces Single Domain Feasibility Filtering. If a single-domain segment fails validation early on, any cross-domain trajectory containing it is pruned ex ante, preventing massive computational waste during large-scale synthesis.
Key Results
Models fine-tuned on the AgentSkiller dataset achieved state-of-the-art performance among open-source models:
- $\tau^2$-bench: AgentSkiller-14B achieved an overall score of 79.1%, significantly outperforming proprietary models like GPT-o3 (68.4%) and Claude-Sonnet-4 (56.8%).
- ACEBench-Agent: AgentSkiller-14B recorded a score of 78.0%, outperforming Gemini-2.5-pro by 14.6%.
- Domain Resilience: In the Telecom domain of $\tau^2$-bench, AgentSkiller-14B maintained a success rate near 90% even as interaction depth scaled, whereas larger 30B baselines suffered sharp performance degradation.
Limitations and Future Work
Not explicitly discussed in a dedicated section within the paper, but the framework's reliance on proprietary frontier models (like GPT-5.2 and Claude Opus) for the data generation pipeline implies a high initial API cost for synthesis. Future work could explore using smaller, fine-tuned open-source models to drive the AgentSkiller synthesis pipeline itself, or extending the framework to support reinforcement learning (RLHF/RLAIF) setups.
Summary updated