Abstract
Training API-calling large language model (LLM) agents demands massive amounts of high-quality trajectories. However, collecting such data at scale typically requires fully implemented environments with executable APIs and realistic, pre-populated backend databases, creating a major bottleneck for scalability. To overcome this, we propose an environment-free synthetic data generation approach that leverages LLMs as on-the-fly digital world models. Given only API specifications, our method generates trajectories mimicking interactions between an agent and a stateful environment. Specifically, an LLM first generates diverse tasks solvable with the provided APIs. A teacher agent then iteratively solves each task while an LLM simulator generates coherent synthetic API responses conditioned on the task context and simulation history. Finally, an LLM judge filters the trajectories to ensure the quality of the resulting dataset. We evaluate our approach on the challenging AppWorld and OfficeBench benchmarks, which include both information-retrieval and state-changing tasks. Fine-tuning models on our synthetic data yields significant performance gains, demonstrating that effective supervision for API-calling agents can be generated without any executable environment. Our results establish LLM-based API simulation as a practical, scalable solution for training agents across diverse API ecosystems.
Community
synthetic data generation with LLM-based API simulation
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- LiteCoder-Terminal: Scaling Long-Horizon Terminal Environments for Learning Language Agents (2026)
- Claw-Anything: Benchmarking Always-On Personal Assistants with Broader Access to User's Digital World (2026)
- Scaling Agentic Capabilities via Grounded Interaction Synthesis (2026)
- CLI-Universe: Towards Verifiable Task Synthesis Engine for Terminal Agents (2026)
- ScaleWoB: Guiding GUI Agents with Coding Agents via Large-Scale Environmental Synthesis (2026)
- Exploring Autonomous Agentic Data Engineering for Model Specialization (2026)
- ANDES: Agent Native Data Evolving Synthesis Tool for Autonomous Instruction Alignment (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper