Speed at the Cost of Quality? The Impact of LLM Agent Assistance on Software Development

Hao He, Courtney Miller, Shyam Agarwal, Christian Kästner, Bogdan VasilescuarXiv 2025 · DOI · OpenReview

TL;DR

This study investigates the real-world impact of LLM agent assistants like Cursor on open-source software development. It finds that while Cursor boosts short-term development speed, it also leads to a persistent increase in code quality issues and complexity, ultimately slowing down long-term velocity. This highlights a critical need to integrate quality assurance more deeply into AI-driven development tools and workflows.

What Problem Does This Paper Address?

The rapid adoption of LLM agent assistants in software development, exemplified by tools like Cursor, has led to claims of massive productivity gains. However, empirical evidence for these claims, especially concerning long-term effects on software quality, has been scarce. Previous studies often focused on earlier AI coding tools or controlled experiments, which may not generalize to modern, more integrated LLM agents that can autonomously modify multiple files and interact with the development environment. This paper aims to fill this gap by causally estimating the impact of adopting Cursor on both development velocity and software quality in real-world open-source projects.

Methods

The researchers employed a sophisticated Difference-in-Differences (DiD) design with staggered adoption. This quasi-experimental approach compares repositories that adopted Cursor at different times (treatment group) with a carefully matched group of similar repositories that never adopted Cursor (control group). To create this control group, they used propensity score matching, ensuring that both groups were comparable in terms of pre-adoption characteristics and trends.

To further analyze the interplay between velocity and quality, they utilized dynamic panel generalized method of moments (GMM) models. This technique allows for the investigation of causal relationships between variables that might be endogenous, such as how changes in code quality might affect future development velocity.

Datasets

The study utilized a dataset of 806 open-source GitHub repositories that adopted Cursor, identified by the presence of Cursor configuration files in their commit history. These repositories were matched with a control group of 1,380 similar repositories that did not adopt Cursor. The data collected spanned from January 2024 to August 2025, capturing pre- and post-adoption metrics.

Key Insights and Ideas

  • Short-term gains, long-term pain: The initial excitement around AI coding tools is validated by a significant, but temporary, boost in development speed. However, this comes at the cost of accumulating technical debt.
  • Complexity is the new technical debt: Beyond just bugs and warnings, LLM-generated code appears to be inherently more complex, creating a "complexity debt" that hinders future development.
  • The "excitement-frustration-abandonment" cycle: Developers might experience an initial surge of productivity due to novelty, but this can quickly turn into frustration as they encounter AI limitations, leading to reduced usage or abandonment.
  • Quality assurance needs an AI upgrade: The current quality assurance processes are not keeping pace with the speed enabled by AI tools, creating a bottleneck for sustained benefits.

Key Results

  • Development Velocity: Cursor adoption led to a statistically significant, but transient, increase in development velocity. Specifically, lines of code added increased by approximately 28.6% on average, with the most significant gains observed in the first two months post-adoption. Commit volume saw a smaller, less consistent increase.
  • Software Quality: In stark contrast to velocity, Cursor adoption resulted in a substantial and persistent increase in static analysis warnings (30.3%) and code complexity (41.6%). Duplicate line density showed no significant change.
  • Velocity-Quality Interaction: The panel GMM models revealed that accumulated technical debt (measured by static analysis warnings and code complexity) significantly reduces future development velocity. This suggests a self-reinforcing cycle where initial speedups lead to quality degradation, which in turn slows down future progress.

Limitations and Future Work

The authors acknowledge several limitations:

  • Observable Adoption: Their identification of adopters relies on committed configuration files, meaning they might miss developers using Cursor without committing these files. This could lead to an overestimation of effects if committed adopters are more systematic.
  • Usage Intensity: The study cannot precisely measure how intensively or persistently Cursor was used by each developer or repository.
  • Model and Version Heterogeneity: The dataset doesn't differentiate between Cursor versions or LLM backends used, which could influence outcomes.
  • Contamination from Other AI Tools: The presence of other AI coding tools in both treatment and control groups might affect the observed effects.
  • Generalizability: Results might not generalize to other LLM agent assistants, proprietary projects, or programming languages beyond those studied. The rapid evolution of AI technology also means findings might change over time.

Future work should focus on:

  • Investigating the "excitement-frustration-abandonment" cycle in more detail.
  • Developing AI coding tools that proactively support quality assurance, not just generation.
  • Exploring how to mitigate the "complexity debt" introduced by AI-generated code.
  • Examining the impact of AI coding tools on different programming languages and in enterprise settings.
  • Replicating these findings as LLM capabilities and developer practices continue to evolve.

Summary updated

BibTeX
@misc{he2025speed,
  author = {Hao He and Courtney Miller and Shyam Agarwal and Christian Kästner and Bogdan Vasilescu},
  title = {{Speed at the Cost of Quality? The Impact of LLM Agent Assistance on Software Development}},
  year = {2025},
  eprint = {2511.04427},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.04427},
}
Figure