← Latest papers
🤖 AI

Speed at the Cost of Quality: How Cursor AI Increases Short-Term Velocity and Long-Term Complexity in Open-Source Projects

This study employs a difference-in-differences design to demonstrate that while adopting the Cursor AI assistant significantly boosts short-term development velocity in open-source projects, it simultaneously induces a persistent rise in code complexity and static analysis warnings that ultimately drives long-term velocity slowdowns.

Original authors: Hao He, Courtney Miller, Shyam Agarwal, Christian Kästner, Bogdan Vasilescu

Published 2026-01-27
📖 4 min read☕ Coffee break read

Original authors: Hao He, Courtney Miller, Shyam Agarwal, Christian Kästner, Bogdan Vasilescu

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a team of builders constructing a massive, complex city (your software project). For years, they've been laying bricks by hand, one by one. Then, a new machine arrives called Cursor. It's a super-powered robot assistant that can not only lay bricks but also design entire neighborhoods, order materials, and even fix mistakes while the builders watch.

The builders are thrilled. They claim the robot makes them 10 times faster. But this paper asks a critical question: Is the city actually better, or are we just building it faster and making a bigger mess?

Here is what the researchers found, using a "time-travel" style comparison of software projects that started using Cursor versus those that didn't.

1. The Initial Rush: The "Sugar High"

When the builders first turned on the robot, the city exploded with activity.

  • The Result: In the first month, the team added 28% more code (bricks) than usual. It felt like a miracle.
  • The Catch: This speed boost was a sugar high. It lasted only about two months. After that, the building speed slowed back down to normal. The robot didn't make them permanently faster; it just gave them a short burst of energy.

2. The Hidden Cost: The "Messy Basement"

While the builders were rushing to lay bricks, they weren't paying attention to the quality of the work. The robot was great at speed, but it was messy.

  • The Result: The researchers found that after adopting the robot, the projects had 30% more "warnings" (like a mechanic's check engine light) and 41% more complexity (the blueprints became confusing and tangled).
  • The Analogy: Imagine the robot is so eager to build that it puts bricks in weird places, forgets to seal the windows, and builds staircases that lead nowhere. The building goes up fast, but the basement is a disaster zone full of tripping hazards and leaks.

3. The Vicious Cycle: Speed Kills Future Speed

This is the most important part of the story. The mess created by the robot didn't just sit there; it started to slow the builders down later on.

  • The Mechanism: Because the code became so complex and full of errors (the "technical debt"), the human builders had to spend all their time fixing the robot's mistakes instead of building new things.
  • The Math: The researchers calculated that the speed boost from the robot was completely wiped out by the time it took to clean up the mess. To cancel out the robot's speed boost, you'd need a massive amount of errors (about 5 times more warnings or 3 times more complexity). Since the robot did create that much mess, the net result was no long-term speed gain.

4. Why Did the Builders Stop Using It?

The researchers noticed a pattern: The builders got excited, then frustrated, and then stopped using the robot as much.

  • The Cycle:
    1. Excitement: "Wow, look how fast we are!"
    2. Frustration: "Wait, why is this code so confusing? Why did the robot break this feature?"
    3. Abandonment: "This robot is more trouble than it's worth."
  • Because the builders were working on open-source projects (voluntary, like a community garden), they could easily quit using the robot when it got annoying. In a corporate job, they might be forced to keep using it, but the mess would still be there.

The Bottom Line

The paper concludes that Cursor is a speed trap.

It gives you a massive, temporary boost in how much you can produce, but it leaves behind a trail of complexity and errors that eventually slows you down even more than if you hadn't used it at all.

The Lesson: If you want to use these AI robots, you can't just let them run wild. You need to build a "quality control" team that grows alongside the robot. You can't just measure success by how many bricks are laid; you have to measure how many of those bricks are actually holding the building together. Without that, you are just building a skyscraper on a foundation of quicksand.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →