NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Firefly: Illuminating Verified Real-world Tool Call Data Generation

Yuxuan Lu, Ziyi Wang, Yingzhou Lu, Yisi Sang, Jiri Gesi, Xianfeng Tang, Yimeng Zhang, Zhenwei Dai, Hui Liu, Hanqing Lu, Chen Luo, Qi He, Benoit Dumoulin, Jing Huang, Dakuo Wang

NeurIPS page · Open on the map

Category: LLM Agents, Evals & Benchmarks › Tool-Augmented Agents · Type: new method · Keywords: tool-calling agents, synthetic dataset, MCP servers, task reachability, retrieval-augmented simulator

Areas: AI Agents › Agent Optimization and Evaluation › Skill-Augmented Agent Optimization; Evaluation & Benchmarks › Agent Capabilities and Memory › Agentic Tool Use; RL for LLMs & Agents › Language Model Agents › Agentic Tool Use

Summary

Firefly introduces projectname, a large-scale synthetic and verifiable dataset for tool-calling agents built on real-world MCP servers, using a back-chaining design that guarantees task reachability and label correctness.

Explained to a 5-year-old

The paper makes a big collection of pretend tasks for AI helpers that can use real tools. It uses a smart AI to look around real tools and see what it can do. Then it creates easy questions that match what the tools can actually do, so the answers are always right. It also builds a practice area where the AI can try out the tasks without needing the real tools. This helps the AI learn to call tools well without people having to write all the tasks by hand.

Explained to a 5-year-old, longer

The researchers wanted to help AI assistants that can use tools, like calling a calendar or ordering something. They noticed that the AI needed lots of examples of how to use tools, but making those examples by hand was slow and expensive. So they created a new way to make a huge set of examples automatically. First, a very smart AI looked at real tools and explored all the things it could do. It kept a record of every step the tool could take, like opening a file or sending a message. Then, using those records, the AI made up simple sentences that asked for exactly those steps. Because the sentences were based on real tool actions, the AI could always solve them correctly. To help the AI practice, the researchers also built a simulator that could run the tasks without needing the actual tools. This simulator let the AI try out many tasks quickly and safely. The result is a large collection of tasks that are both realistic and guaranteed to be solvable, which helps the AI learn faster and more reliably.

For a technical reader

The system generates a large synthetic dataset for training tool-calling agents by having an LLM explore real MCP servers and record reachable states. It then synthesizes tasks backward from those states, ensuring each task can be solved correctly. A retrieval-augmented simulator is built from the recorded trajectories to enable offline training and evaluation without live servers. The dataset includes task descriptions, tool schemas, ground-truth trajectories, and answers, and is automatically checked for determinism and consistency. Experiments show that models trained on this data achieve significant gains on existing benchmarks.

Problem

Training robust tool-calling agents requires large-scale trajectory data that is realistic and verifiable, but existing datasets rely on costly human annotation or synthetic pipelines with weak correctness guarantees.

Method

The approach first has a strong LLM self-explore real MCP servers to record reachable execution states, then synthesizes natural-language tasks backward from those outcomes, and builds a retrieval-augmented simulator from the trajectories for offline training and evaluation.

Results

Models trained on the dataset achieve significant improvements on tau2-Bench and BFCL, showing the value of realistic, verifiable synthetic data for tool-calling agents.

Contributions

The work provides a large-scale synthetic dataset with guaranteed task reachability and label correctness, a retrieval-augmented simulator for offline evaluation, and demonstrates improved performance on benchmark suites.

Practical relevance

Enables scalable training of tool-calling agents on real-world servers without costly human annotation, facilitating broader deployment of reliable AI assistants.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction