Agent Data Protocol: Unifying Datasets for Diverse, Effective Fine-tuning of LLM Agents

Yueqi Song, Ketan Ramaneti, Zaid Sheikh, Ziru Chen, Boyu Gou, Tianbao Xie, Yiheng Xu, Danyang Zhang, Apurva Gandhi, Fan Yang, Joseph Liu, Tianyue Ou, Zhihao Yuan, Frank F. Xu, Shuyan Zhou, Xingyao Wang, Xiang Yue, Tao Yu, Huan Sun, Yu Su, Graham Neubig

Introduction

The Agent Data Protocol (ADP) introduces a standardized "interlingua" to unify the fragmented landscape of AI agent training data. By converting 13 diverse datasets into a single, cohesive format, researchers have created a massive 1.3-million-trajectory corpus. This unified dataset boosts agent performance by an average of 20% across coding, browsing, and tool-use benchmarks, demonstrating the power of standardized data in the post-training pipeline.

The Challenge of Format Friction

While pre-training Large Language Models (LLMs) relies on the vast, relatively uniform expanse of internet text, "post-training" them to act as autonomous agents—models that can use tools, browse the web, and solve multi-step problems—presents a unique challenge.

The primary bottleneck is not a lack of underlying data sources, but rather that existing agent datasets are fragmented across heterogeneous formats. For instance, one dataset might record web interactions as HTML snippets, while another logs software engineering tasks as bash commands. This "format friction" forces researchers to write custom, one-off code to train a specific model on a specific dataset.

Quadratic vs. Linear Effort

This fragmentation creates a quadratic scaling problem: if you have $D$ datasets and $A$ agent frameworks, you need $D \times A$ unique conversion scripts. ADP aims to resolve this by acting as a central hub, reducing the engineering burden to a linear $D + A$ problem.

The Agent Data Protocol (ADP)

To solve this, the authors propose the Agent Data Protocol (ADP), a lightweight representation language implemented using Pydantic schemas. It acts as a universal translator between raw, disparate data and unified training pipelines.

ADP Architecture

The core of ADP is the Trajectory object, which consists of an alternating sequence of:

  • Actions: Categorized into API Actions (tool calls), Code Actions (programming), and Message Actions (natural language communication).
  • Observations: Categorized into Text Observations (logs, terminal output) and Web Observations (HTML, accessibility trees, URLs).

The implementation relies on a three-stage pipeline:

  1. Raw to Standardized: Converting original datasets into the universal ADP schema.
  2. Standardized to SFT: Translating ADP data into the specific formats required by training harnesses like OpenHands, SWE-Agent, or AgentLab.
  3. Quality Assurance: Running automated checks to ensure tool calls are formatted correctly and trajectories remain logically consistent.

Unifying 13 Datasets

Using this protocol, the researchers unified 13 existing agent datasets into the ADP Dataset V1, yielding 1.3 million training trajectories. Key domains included:

  • Coding & Software Engineering: Code-Feedback, SWE-Gym, SWE-smith, and Nebius SWE Trajectories.
  • Web Browsing: Mind2Web, Go-Browse, and NNetNav.
  • General Tool Use: AgentInstruct and Orca AgentInstruct.

For evaluation, the fine-tuned models were tested on four major benchmarks: SWE-Bench (Verified) for software engineering, WebArena for web navigation, AgentBench for OS/database tasks, and GAIA for general assistant tasks.

Key Insights

  • Hub-and-Spoke Efficiency: By using ADP as a central hub, the community only needs to write a conversion script for a new dataset once. This amortizes the engineering cost and allows any new dataset to immediately plug into any agent framework.
  • Cross-Task Transfer: Training on a diverse mixture of data (coding + browsing + tool use) often outperformed training on just one domain. For example, a model trained on the full ADP mixture performed better on web browsing than a model trained only on web browsing data. Diversity inherently helps agents generalize.
  • The Importance of "Thought": High-quality datasets consistently provide "thoughts" or reasoning traces before actions (over 90% coverage in most cases). This suggests that reasoning-trace data is a fundamental characteristic of effective agent training across all tasks.

Performance Results

The results of fine-tuning on ADP data were highly impressive across the board, utilizing the Qwen-2.5-Coder-Instruct family as base models:

  • Massive Gains in Coding: On SWE-Bench (Verified), the 7B model's performance jumped from a baseline of 0.4% to 20.2%. The 14B model reached 34.4%, outperforming the much larger Claude 3.5 Sonnet (33.6%) within that specific harness.
  • Consistent Web Improvements: On WebArena, the ADP-trained 7B model achieved a 21.0% success rate, a significant leap from the 4.5% baseline.
  • Broad Generalization: Across all evaluated benchmarks, ADP-tuned models showed an average 20% performance increase over their base versions.
  • Monotonic Scaling: The benefits of ADP training scaled reliably; larger models (up to 32B) consistently saw proportional performance boosts from the unified data.

Limitations and Future Directions

While ADP represents a major step forward, the authors identify a few areas for future growth:

  • Multimodality: Currently, ADP is primarily text-based. Future iterations must incorporate images, screenshots, and screen recordings to support advanced GUI and vision-language agents.
  • Standardized Evaluation: While ADP unifies training data, the evaluation environments (benchmarks) remain highly fragmented. Applying the same "protocol" philosophy to testing environments is a logical next step.
  • Data Quality vs. Quantity: As the corpus grows beyond 1.3 million trajectories, automated validation and community-driven data cleaning will be essential to maintain the high quality required for effective fine-tuning.

Summary updated

BibTeX
@inproceedings{song2026agent,
  author = {Yueqi Song and Ketan Ramaneti and Zaid Sheikh and Ziru Chen and Boyu Gou and Tianbao Xie and Yiheng Xu and Danyang Zhang and Apurva Gandhi and Fan Yang and Joseph Liu and Tianyue Ou and Zhihao Yuan and Frank F. Xu and Shuyan Zhou and Xingyao Wang and Xiang Yue and Tao Yu and Huan Sun and Yu Su and Graham Neubig},
  title = {{Agent Data Protocol: Unifying Datasets for Diverse, Effective Fine-tuning of LLM Agents}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=tG6301ORHd},
}
Figure