AI Agents Write 30% More Code. Shipping Didn't Move.
A Harvard working paper using engineering data from more than 700 companies found that adopting AI coding agents came with about 30% more code and 23% more pull requests per engineer, while shipped work stayed flat and the time from pull request to merge grew by 49%. What the study does and doesn't say, why review became the bottleneck, and what teams can change so faster typing turns into faster delivery.
- #ai
- #code-review
- #engineering-leadership
- #productivity
- #career
Every AI coding tool demo makes the same promise: write code faster. And they do. That part was never in doubt.
The awkward question is what happens to everything after the code is written. A new working paper from Harvard researchers Fiona Chen and James Stratton tried to answer it with real data instead of demos, and the answer is uncomfortable enough to be worth reading slowly.
What the study found
The researchers used engineering data from Jellyfish covering more than 700 software companies, from 2021 through March 2026, and looked at what changed as teams adopted AI coding agents. According to coverage of the paper and an analysis of its method:
- Lines of code per engineer went up about 30%. Commits went up about 20%, and pull requests about 23%.
- Shipped work did not measurably rise. More code, same delivery.
- The time from opening a pull request to merging it grew by about 49%, roughly three and a half extra days on an average of about seven.
- Review got heavier. Revision requests roughly doubled, comments per pull request rose about 35%, and the share of engineers doing review rose about 14%.
- AI review was everywhere but did little of the work. By March 2026 around 80% of firms used some AI code review, but AI produced only about 23% of review comments.
In one sentence: the typing got faster, and the queue in front of the reviewers got longer.
What it doesn't say
Before anyone turns this into a slide titled "AI doesn't work", some care:
- It's a working paper, not a peer-reviewed publication yet.
- It's correlational. Teams that adopted agents may differ from teams that didn't in ways the data can't fully separate.
- The 49% is elapsed time, from opening a pull request to merging it. It isn't a direct measure of how many hours reviewers spent. Waiting in a queue counts. So does waiting for the author to fix things.
- "Shipped work stayed flat" is an average. Some teams very likely did ship more. Others probably shipped less.
None of that makes the finding go away. It just means the honest headline is "on average, more code didn't become more delivery", not "AI makes teams slower".
Why this was predictable
Anyone who has run a factory, or even a kitchen, knows the shape of this problem. If you double the speed of one station and leave the next one alone, you don't get twice the output. You get a pile of half-finished work in front of the slow station.
Software delivery is a pipeline: write, review, test, merge, deploy. AI tools made the first step much faster. Review is still mostly people reading code, and people read at the same speed they did in 2019. (Possibly slower, given the meetings.)
It's also harder review than before:
- AI-written code is plausible. It compiles, it looks like your codebase, and the bugs in it are subtle rather than obvious. Plausible code takes longer to review properly than code that looks wrong.
- Pull requests got bigger. When writing code is cheap, it's tempting to do more in one change.
- The author knows it less well. If you wrote the code, you can answer the reviewer's question in ten seconds. If an agent wrote it, you may have to go and find out, and that round trip is where days go.
What actually helps
If review is the bottleneck, optimise review. Some changes that follow directly from the numbers:
1. Keep pull requests small, on purpose
Small changes get reviewed faster and more carefully. This was always true, and it matters more now that generating a 2,000-line diff costs nothing. Ask agents for work in reviewable slices: one behaviour change per pull request, refactors separate from features.
2. Make the author responsible for understanding the code
"The agent wrote it" isn't an answer to a review question. Before opening a pull request, the author should be able to explain every change. A simple rule helps: if you can't explain it, it isn't ready for review. This moves work from the reviewer back to the author, which is where the cheap capacity now is.
3. Agree on the design before the code exists
Many review cycles are really design arguments happening too late. A short written spec, an API contract or a quick design note, agreed before the agent starts, turns review from "should we do it this way?" into "does it do what we agreed?". The second question is much faster to answer.
4. Let machines check what machines can check
Reviewers shouldn't spend attention on formatting, simple style issues, missing null checks or obvious test gaps. Automate them:
- Linters and formatters in CI
- Coverage gates, and mutation testing for code that matters
- AI review as a first pass that comments before a human looks
The study suggests AI review isn't doing much of the review load yet. Its best job is clearing the cheap issues so human reviewers can focus on design, correctness and risk.
5. Measure delivery, not activity
Lines of code, commits and pull requests per engineer all went up in this study. Delivery didn't. If those are the numbers on your dashboard, the dashboard is congratulating you for building a longer queue.
Better measures: lead time from first commit to production, review wait time, how often changes are reverted, and how much actually shipped. They're harder to inflate with a bigger prompt.
6. Treat review as real work
If the share of engineers doing review is rising, plan for it. Review time belongs in sprint planning, not squeezed between "real" tasks. Teams that treat review as an interruption will always have a queue.
What this means for engineers personally
There's a career lesson here too. If writing code is getting cheaper, the scarce skills are the ones around it:
- Reading code critically, especially code you didn't write
- Breaking work into small, reviewable pieces
- Writing a clear spec an agent (or a person) can build from
- Knowing when generated code is wrong in ways the tests don't catch
Those used to be "senior skills" you picked up over time. They're now what decides whether AI tools make a team faster or just busier.
The takeaway
A Harvard working paper on data from more than 700 companies found that teams adopting AI coding agents wrote about 30% more code and opened about 23% more pull requests, while shipped work stayed flat and the time from opening a pull request to merging it grew by about 49%. It's correlational and not yet peer-reviewed, so treat it as a shape rather than a verdict. But it's exactly the shape you'd predict: speed up one step of a pipeline, and the next step becomes the bottleneck.
That step is review. People still read code at human speed, and AI-written code is harder to read well because it looks right. The fixes are unglamorous and mostly old: small pull requests, authors who can explain every line they submit, design agreed before the agent starts, machines handling the checks machines can do, and review time planned like the real work it is.
Then fix the dashboard. Lines, commits and pull requests are the numbers that went up while delivery didn't, so they can't tell you whether any of this is working. Lead time, review wait and what actually shipped can. Writing code was never the slow part of shipping software. We just couldn't prove it until we made it nearly free.
/share

Kishore K Sharma
Module Lead | Senior Full Stack Engineer | Java · Spring Boot · Distributed Systems · AWS | Building Scalable Cloud-Native Platforms
Available for contract work and remote full-time roles. See what I take on.