AgentPack: A Dataset of Code Changes, Co-Authored by Agents and Humans

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zi, Yangtian, Wu, Zixuan, Boruch-Gruszecki, Aleksander, Bell, Jonathan, Guha, Arjun
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917363908083712
author Zi, Yangtian
Wu, Zixuan
Boruch-Gruszecki, Aleksander
Bell, Jonathan
Guha, Arjun
author_facet Zi, Yangtian
Wu, Zixuan
Boruch-Gruszecki, Aleksander
Bell, Jonathan
Guha, Arjun
contents Fine-tuning large language models for code editing has typically relied on mining commits and pull requests. The working hypothesis has been that commit messages describe human intent in natural language, and patches to code describe the changes that implement that intent. However, much of the previously collected data is noisy: commit messages are terse, human-written commits commingle several unrelated edits, and many commits come from simple, rule-based bots. The recent adoption of software engineering agents changes this landscape. Code changes \emph{co-authored} by humans and agents are often accompanied by substantially more explicit natural-language descriptions of intent and rationale. Moreover, when these changes land in public repositories, they are implicitly filtered by humans: maintainers discard low-quality commits to their projects. We present AgentPack, a corpus of 1.8M code edits co-authored by Claude Code, OpenAI Codex, and Cursor Agent across public GitHub projects up to early October 2025. We describe the identification and curation pipeline, quantify adoption trends of these agents, and analyze the structural properties of the edits. Finally, we show that models fine-tuned on AgentPack can outperform models trained on prior human-only commit corpora, highlighting the potential of using public data from software engineering agents to train future code-editing models.
format Preprint
id arxiv_https___arxiv_org_abs_2509_21891
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle AgentPack: A Dataset of Code Changes, Co-Authored by Agents and Humans
Zi, Yangtian
Wu, Zixuan
Boruch-Gruszecki, Aleksander
Bell, Jonathan
Guha, Arjun
Software Engineering
Computation and Language
Fine-tuning large language models for code editing has typically relied on mining commits and pull requests. The working hypothesis has been that commit messages describe human intent in natural language, and patches to code describe the changes that implement that intent. However, much of the previously collected data is noisy: commit messages are terse, human-written commits commingle several unrelated edits, and many commits come from simple, rule-based bots. The recent adoption of software engineering agents changes this landscape. Code changes \emph{co-authored} by humans and agents are often accompanied by substantially more explicit natural-language descriptions of intent and rationale. Moreover, when these changes land in public repositories, they are implicitly filtered by humans: maintainers discard low-quality commits to their projects. We present AgentPack, a corpus of 1.8M code edits co-authored by Claude Code, OpenAI Codex, and Cursor Agent across public GitHub projects up to early October 2025. We describe the identification and curation pipeline, quantify adoption trends of these agents, and analyze the structural properties of the edits. Finally, we show that models fine-tuned on AgentPack can outperform models trained on prior human-only commit corpora, highlighting the potential of using public data from software engineering agents to train future code-editing models.
title AgentPack: A Dataset of Code Changes, Co-Authored by Agents and Humans
topic Software Engineering
Computation and Language
url https://arxiv.org/abs/2509.21891