TOFFEE Synthesizes Data Agent Trajectories at Scale.

Ziting Wang, Yin Li, Zuhao Yang, Xiuchang Li, Jiale Bai, Gao Cong· July 8, 2026 View original

▶ The 2-minute explainer

Summary

TOFFEE is a new system designed to synthesize high-quality data agent trajectories for complex analytical workflows in diverse enterprise environments. These trajectories serve as crucial data for supervised finetuning and in-context learning, helping LLM-powered data agents generalize better.

Large language model-powered data agents are becoming vital for data-driven decision-making, but they often struggle to adapt to new data environments and analytical processes, especially in varied enterprise settings. This limitation creates a significant demand for generating high-quality data agent trajectories that accurately capture complex analytical workflows. To address this, a new system called TOFFEE has been introduced. TOFFEE leverages Monte Carlo Tree Search (MCTS) with adaptive model selection and cross-task prefix reuse to synthesize scalable trajectory data. This data is essential for two main purposes: supervised finetuning (SFT) to adapt data agent models to specific domains, and providing in-context learning (ICL) demonstrations to guide general-purpose LLMs in unfamiliar data environments. The demonstration showcases TOFFEE's framework, including its task pool construction, trajectory explorer, and learned cost model, along with its web interface. It illustrates two end-to-end scenarios: synthesizing trajectories for data agent finetuning and augmenting data agent reasoning with demonstrations.

Why it matters

Professionals can use TOFFEE to overcome generalization challenges in LLM-powered data agents, enabling them to build more robust and adaptable AI solutions for data analysis and decision-making across various enterprise contexts.

How to implement this in your domain

  1. 1Explore TOFFEE's capabilities for generating synthetic data agent trajectories relevant to your enterprise's analytical workflows.
  2. 2Evaluate how synthesized trajectories can be used for finetuning existing LLM data agents to specific domain requirements.
  3. 3Consider integrating TOFFEE-generated demonstrations into in-context learning strategies for general-purpose LLMs in data environments.
  4. 4Assess the potential cost and time savings from using synthetic data for agent training compared to manual data collection.

Who benefits

Data AnalyticsEnterprise SoftwareAI/ML EngineeringConsulting

Key takeaways

  • LLM data agents need high-quality, diverse trajectories to generalize effectively across enterprise environments.
  • TOFFEE uses MCTS to synthesize scalable and complex data agent trajectories.
  • Synthesized trajectories are valuable for both supervised finetuning and in-context learning.
  • This system helps adapt data agents to specific domains and improves their reasoning capabilities.

Original post by Ziting Wang, Yin Li, Zuhao Yang, Xiuchang Li, Jiale Bai, Gao Cong

"arXiv:2607.06233v1 Announce Type: new Abstract: LLM-powered data agents are playing an increasingly important role in data-driven decision making. However, existing data agents struggle to generalize to unseen data environments and analytical workflows, especially in heterogeneou…"

View on X

Originally posted by Ziting Wang, Yin Li, Zuhao Yang, Xiuchang Li, Jiale Bai, Gao Cong on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses