Simulate to Generalize: Scaling Stateful Supervision for API-calling Agents using LLM World Models
Seanie Lee, Sanjoy Chowdhury, Chao Jiang, Cheng-Yu Hsieh, Ting-Yao Hu, Alexander T Toshev, Oncel Tuzel, Raviteja Vemulapalli
Abstract
Training agents that generalize to unseen, stateful environments requires a massive dataset of state-changing trajectories covering a vast and diverse set of APIs. However, scaling this broad supervision is severely bottlenecked by the immense effort required to implement and populate fully-executable environments across a broad spectrum of domains. To bypass this barrier, we introduce a data generation pipeline that decouples data synthesis from environment construction by leveraging LLMs as digital world models. Starting from only a list of broad domain names, our automated pipeline synthesizes diverse APIs and tasks. To produce trajectories, a teacher agent iteratively solves these tasks while an LLM simulator dynamically tracks state and provides coherent API responses on-the-fly. Finally, an automated judge filters the trajectories for quality. Fine-tuning on our broad synthetic dataset yields significant performance gains on AppWorld and OfficeBench, two challenging stateful benchmarks featuring environments completely unseen during training. These results establish our LLM world model-based synthesis approach as a highly scalable path for training generalizable, stateful API-calling agents.
Create a lesson
Related papers
EATS: Scaling Tool-Use Experience for Medical Reasoning Agents
Shared title terminologycs.AIMingyuan Li, Tong Jia, Haoran Wang et al.
Marketing-Bench: Evaluating Frontier Models and Agents on Real-World Marketing Capabilities
Shared title terminologycs.AISumanth Balaji, Siddharth Gupta, Ameet Deshpande et al.
MSBraM: A Multi-scale Self-supervised Brain Foundation Model for Hierarchical EEG Dynamics Learning
Shared title terminologycs.AITao Zhou, Jing Han, Lingyu Shu et al.
Graph-Based Agentic AI with LangGraph: Workflow Pathways for Long-Running Stateful Business Processes
Shared title terminologycs.AIDaniel Pearson, Sidney Shapiro, Emiliano Sebastian Gonzalez Venegas et al.
AutoWorldModel-Bench: A State-Centric Benchmark for Automated World-Model Research
Shared title terminologycs.AIMarjan Moodi, Xuankang Zhu, Fernando De Mesentier Silva et al.
REE: A Scientific Research Entrance Exam for AI Agents
Shared title terminologycs.AIZeqi Zhou, Minghao Liu, Jiarui Liu et al.