mlsanityData to 7 Oct 2026

Safer Builders, Risky Maintainers: A Comparative Study of Breaking Changes in Human vs Agentic PRs

arXiv 2603.27524 ↗First posted 29 Mar 2026cs.SE cs.AIcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

AI coding agents are increasingly integrated into modern software engineering workflows, actively collaborating with human developers to create pull requests (PRs) in open-source repositories. Although coding agents improve developer productivity, they often generate code with more bugs and security issues than human-authored code. While human-authored PRs often break backward compatibility, leading to breaking changes, the potential for agentic PRs to introduce breaking changes remains underexplored. The goal of this paper is to help developers and researchers evaluate the reliability of AI-generated PRs by examining the frequency and task contexts in which AI agents introduce breaking changes. We conduct a comparative analysis of 7,191 agent-generated PRs with 1402 human-authored PRs from Python repositories in the AIDev dataset. We develop a tool that analyzes code changes in commits corresponding to the agentic PRs and leverages an abstract syntax tree (AST) based analysis to detect potential breaking changes. Our findings show that AI agents introduce fewer breaking changes overall than humans (3.45% vs. 7.40%) in code generation tasks. However, agents exhibit substantially higher risk during maintenance tasks, with refactoring and chore changes introducing breaking changes at rates of 6.72% and 9.35%, respectively. We also identify a "Confidence Trap" where highly confident agentic PRs still introduce breaking changes, indicating the need for stricter review during maintenance oriented changes regardless of reported confidence score.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 9 of its 31 references that are in the map. First posted on arXiv 29 Mar 2026.

Builds on

9 of 31 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025Agentic Software Engineering: Foundational Pillars and a Research Roadmap7 Sep

Other references · 8

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
  3. 2022The Stack: 3 TB of permissively licensed source codecited by 354
  4. 2022Do Users Write More Insecure Code with AI Assistants?cited by 186
  5. 2024Towards AI-Native Software Engineering (SE 3.0): A Vision and a Challenge Roadmapcited by 30
  6. 2025Correctness Assessment of Code Generated by Large Language Models Using Internal Representationscited by 17
  7. 2025Generative AI and Empirical Software Engineering: A Paradigm Shiftcited by 9
  8. 2021Breaking Bad? Semantic Versioning and Impact of Breaking Changes in Maven Centralcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026How AI Coding Agents Modify Code: A Large-Scale Study of GitHub Pull Requests
  2. 2026Code Change Characteristics and Description Alignment: A Comparative Study of Agentic versus Human Pull Requests
  3. 2026How Do AI Coding Agents Contribute to Software Development? an Empirical Study of Agentic Pull Requests
  4. 2025On the Use of Agentic Coding: An Empirical Study of Pull Requests on GitHub
  5. 2026Where Do AI Coding Agents Fail? An Empirical Study of Failed Agentic Pull Requests in GitHub
  6. 2026Humans Integrate, Agents Fix: How Agent-Authored Pull Requests Are Referenced in Practice
  7. 2026Investigating Autonomous Agent Contributions in the Wild: Activity Patterns and Code Change over Time
  8. 2026Why Agentic-PRs Get Rejected: A Comparative Study of Coding Agents