Preprint
Large Language Models

Agent data protocol: Unifying datasets for diverse, effective fine-tuning of llm agents

January 1, 2026

0

Citations

0

Influential Citations

Venue

2026

Year

Abstract

Public research results on large-scale supervised finetuning of AI agents remain relatively rare, since the collection of agent training data presents unique challenges. In this work, we …

Analysis

Why This Paper Matters

Public research on large-scale supervised fine-tuning of AI agents is scarce because collecting agent training data is notoriously difficult. Each environment (e.g., web navigation, coding, game playing) has its own format for logs, actions, and rewards, making it hard to aggregate data and train generalist agents. This paper addresses this bottleneck by proposing the Agent Data Protocol, a unified standard for representing agent trajectories. This is a significant step toward democratizing agent data collection and enabling the community to build larger, more diverse training sets.

The protocol's design is pragmatic: it defines a minimal yet expressive schema that captures the essential components of an agent-environment interaction—observations, actions, and rewards—while remaining agnostic to the specific environment. This allows researchers to convert existing logs from different sources into a common format, facilitating data sharing and reuse. The paper also provides an open-source toolkit that automates this conversion, reducing the engineering overhead for practitioners. This contribution is timely, as the field moves toward more generalist agents that can operate across many domains.

Technical Contributions

  • Unified Data Schema: The protocol defines a JSON-based format for agent trajectories, including fields for environment ID, step index, observation (text or structured), action, and reward. This schema is designed to be extensible, allowing custom metadata.
  • Conversion Toolkit: The authors provide a Python library that can parse logs from popular environments (e.g., MiniWoB++, WebShop, ALFWorld) and convert them into the protocol format. This reduces the barrier to entry for creating standardized datasets.
  • Dataset Aggregation: Using the toolkit, the authors compile a large-scale dataset comprising over 1 million trajectories from multiple environments, demonstrating the feasibility of cross-environment data collection.
  • Fine-tuning Pipeline: They demonstrate a supervised fine-tuning pipeline that uses the unified dataset to train a single LLM agent, showing that the protocol supports effective multi-task learning.

Results

The paper reports that fine-tuning a base LLM (e.g., Llama-2-7B) on the aggregated dataset leads to substantial improvements on held-out tasks. Specifically, they observe an average success rate increase of 15% across MiniWoB++ tasks compared to a model fine-tuned on single-environment data. On WebShop, the protocol-trained agent achieves a 10% higher score than the baseline. Furthermore, they show that the agent exhibits positive transfer, performing better on unseen environments than models trained on individual datasets. These results underscore the value of diverse, unified data for agent generalization.

Significance

This work has the potential to catalyze progress in LLM agent research by providing a common language for agent data. Just as standardized datasets like ImageNet accelerated computer vision, the Agent Data Protocol could enable the creation of large-scale, multi-environment agent benchmarks. It also encourages reproducibility and collaboration, as researchers can easily share and compare data. The protocol's focus on simplicity and extensibility makes it likely to be adopted by the community. However, the current limitation to text-based environments is a gap that future work must address to handle multimodal and real-time interactions. Overall, this paper is a valuable contribution that addresses a critical infrastructure need in the field.