APIGen-MT: Agentic Pipeline for Multi-Turn Data Generation via Simulated Agent-Human Interplay

Akshara Prabhakar, Zu-Xin Liu, Ming Zhu, Jian-Guo Zhang, T. Awalgaonkar +10 more
4/1/2025

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Training effective AI agents for multi-turn interactions requires high-quality data that captures realistic human-agent dynamics, yet such data is scarce and expensive to collect manually. We introduce APIGen-MT, a two-phase framework that generates verifiable and diverse multi-turn agent data.

Show full abstract

In the first phase, our agentic pipeline produces detailed task blueprints with ground-truth actions, leveraging a committee of LLM reviewers and iterative feedback loops. These blueprints are then transformed into complete interaction trajectories through simulated human-agent interplay. We train a family of models -- the xLAM-2-fc-r series with sizes ranging from 1B to 70B parameters. Our models outperform frontier models such as GPT-4o and Claude 3.5 on $\tau$-bench and BFCL benchmarks, with the smaller models surpassing their larger counterparts, particularly in multi-turn settings, while maintaining superior consistency across multiple trials. Comprehensive experiments demonstrate that our verified blueprint-to-details approach yields high-quality training data, enabling the development of more reliable, efficient, and capable agents. We open-source 5K synthetic data trajectories and the trained xLAM-2-fc-r models to advance research in AI agents. Models at https://huggingface.co/collections/Salesforce/xlam-2-67ef5be12949d8dcdae354c4; Dataset at https://huggingface.co/datasets/Salesforce/APIGen-MT-5k and Website at https://apigen-mt.github.io

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{prabhakar2025apigenmt,
  title  = {APIGen-MT: Agentic Pipeline for Multi-Turn Data Generation via Simulated Agent-Human Interplay},
  author = {Akshara Prabhakar and Zu-Xin Liu and Ming Zhu and Jian-Guo Zhang and T. Awalgaonkar and Shi-Yu Wang and Zhi-Wei Liu and Hao-Lin Chen and T. Hoang and Juan Carlos Niebles and Shelby Heinecke and Wei-Ran Yao and Huan Wang and S. Savarese and Cai-Ming Xiong},
  year   = {2025},
  eprint = {2504.03601},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2504.03601},
  url    = {https://doi.org/10.48550/arXiv.2504.03601},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.03601.svg)](https://codeofpaper.com/paper/2504.03601)

Discussion