Your Agent Sped Up the Part That Wasn't Slow

The strongest evidence yet on coding agents says they work. Across 718 firms, adopting an agent raised the code each engineer wrote by 30%, their commits by 20% and their pull requests by 23%. It also says that none of it reached the customer. The number of Jira issues each engineer resolved did not move (Chen and Stratton, 2026).
That gap is the AI coding productivity paradox in one paper, and the paper contains its own explanation. It just never does the arithmetic. Engineers in these firms spend 42% of their time writing code. Make that 42% faster and the rest of the job, the reviewing, deciding and coordinating, is exactly as slow as it was. Then the paper shows the rest of the job got slower.
This post works through the study, does the arithmetic, and sets it against what happened in five open-source repositories I have been tracking since the last post on review. The short version: your agent sped up the part that was not slow.
Key Takeaways
- In a 718-firm study, agent adoption raised code 30% and PRs 23%, while issues resolved per engineer rose a statistically insignificant 3%. The confidence interval rules out more than 12%.
- Engineers spend 42% of their time writing code. Make that 30% faster and Amdahl’s law caps the whole job at about 11% faster, before review costs anything.
- Review costs plenty: time from PR to merge rose 49%, the share of PRs with changes requested nearly doubled, and review comments rose 35%, with no change in PR size.
- In five open-source repos the picture depends on when you start counting: resolved issues rose 3% or 41% depending on the baseline. Only one repo shows the paper’s pattern on both.
- Measure what leaves the building: issues and epics resolved, time to first review, changes-requested rate, main-branch success.
What did the 718-firm study find?
Fiona Chen and James Stratton, economics PhD candidates at Harvard, built the study on Jellyfish, an engineering analytics platform. It covers 300 million work events across GitHub, Jira and Google Calendar, from 718 firms and 725,938 workers, January 2021 to March 2026. A firm counts as adopting an agent from the earliest sign of Claude Code API use or of an agent’s bot account or signature in its GitHub activity. Firms adopted at different times, and the paper compares each firm with itself before and after, against firms that had not yet adopted.
It is a job-market paper, not a peer-reviewed one, and the data comes from a vendor’s customers, who are not a random sample of software companies. With that said, it is the largest causal design on this question I know of, and its numbers are internally consistent.
The coding effects are large and significant: 1,494 more lines per worker per month on a baseline of 5,017, 20% more commits, 23% more pull requests. Lines of code alone would be a weak signal, since AI-written code may simply be more verbose, which is why the authors also measure commits and PRs. All three moved together.
The output effects are not there. Issues resolved per worker rose by 0.12 a month on a baseline of 3.67, a 3% rise that is not statistically significant, and the 95% confidence interval rules out anything above 12%. Epics, the larger units that represent finished features, show no significant effect either. The authors also checked the obvious objection, that agents let engineers take on bigger issues, so a flat count hides more work. Using two independent measures of issue size, they found no shift in the size of the issues being closed.
Their own summary is careful: the productivity gains “do not fully pass through to software output or employment.” Coding assistants, the autocomplete kind, showed smaller coding gains and no detectable review effects at all. The bottleneck story is an agent story.
Why didn’t more code mean more software?
Because writing code was never most of the job. The same paper measures where engineers’ time goes. From the platform’s telemetry, they spend 42% of their time writing code. In a survey of 100 engineers it was 30%. The rest is review, planning, meetings and coordination.
That makes this an Amdahl’s law problem. If you speed up a fraction p of a task by a factor s, the whole task speeds up by 1 / ((1 - p) + p / s), and no amount of extra speed on that fraction gets you past 1 / (1 - p). Plug in the paper’s own numbers:
| Share of time coding | Coding 30% faster | Whole job faster by | Ceiling if coding were instant |
|---|---|---|---|
| 42% (telemetry) | 1.30x | about 11% | 72% |
| 30% (survey) | 1.30x | about 7% | 43% |
I am treating the 30% rise in lines of code as the coding speedup, which is generous. Lines are not time, and the commit and PR gains are smaller. Even so, the ceiling on the whole job is around 11%. The paper’s confidence interval on output tops out at 12%. The headline “no more software” is not a surprise once you see it. It is the expected result of making the minority of the work faster.
This is an illustration, not the paper’s model. Chen and Stratton build their own production model, in which AI changes both the speed and the quality of intermediate work, and that model can produce a review bottleneck on its own. The Amdahl line is the simpler point underneath it. Before anything goes wrong in review, the most you could have hoped for was about a ninth more output.
Where did the extra code go?
Into review, where it slowed down. With agents, the time from opening a pull request to merging it rose by 3.45 days on a baseline of 7.03, a 49% increase. The share of PRs where a reviewer formally requested changes went from 13% to about 25%, nearly doubling. Review comments per PR rose 35%.
The obvious explanation would be bigger pull requests, and the paper rules it out. PR size, measured in lines added, did not change significantly. The same-sized PRs took longer to review, drew more comments and were sent back twice as often.
The authors offer two channels, and the data supports both. If writing speeds up and the number of reviewers does not, review backs up. And if the code coming in is lower quality, each review takes more work. One of the engineers they interviewed described both at once:
People could make a huge number of commits quickly, but code review was still the bottleneck. On one project, only one senior engineer was allowed to approve changes because he was the expert on the codebase. He was so bandwidth constrained that he could only review my code once a week. After some outages that were caused by AI-generated commits, there were also new rules requiring senior engineer approval for AI-generated code, which created even more review bottlenecks.
That quote is the whole mechanism. A non-bottleneck gets faster. It produces work that needs more checking. The checking falls on the scarcest people. Then an incident adds a rule that routes even more work to them.
What does open source show?
I wanted to know whether the same thing shows up outside paying customers, so I extended the dataset from Merged Is Not Reviewed: the same five repositories (ruff, prisma, tailwindcss, vite and astro), now through September 2026, with the output side added. For output I counted issues closed by a merged pull request or a commit, which I call “resolved by code”.
That definition matters more than it looks. GitHub’s close button defaults to “completed”, so most issues closed as completed were not resolved by code at all. In tailwindcss in January 2025, 118 of 145 “completed” closures had no PR or commit behind them. They were triage. Anyone measuring “issues completed” from the GitHub API is mostly counting how fast maintainers say no.
With that definition, the pooled numbers look like the paper’s, at first:
Against full-year 2025, it is the paper’s shape almost exactly. Lines merged rose 74%, PRs merged 25%, and issues resolved by code 3%. Per thousand lines merged, resolved issues fell 41%, and they fell in all five repositories.
Then I changed the baseline. Early 2025 was not a normal half-year: tailwindcss shipped v4 in January, issues opened ran higher than in the second half in four of the five repos, and resolutions ran higher in three, mostly tailwindcss, ruff and astro. Measured from the second half of 2025 instead, PRs rose 30% and resolved issues rose 41%. Output kept roughly in step with pull requests. Resolved issues per thousand lines fell only 6%.
So the honest answer is that open source does not robustly reproduce the paper. One repository does show its pattern on both baselines. Prisma’s lines merged rose 3.8 times, from about 20,000 a month to 74,000, while issues resolved by code stayed flat at about 9 a month. Against the second half of 2025, its resolutions per thousand lines still fell 70%. The other four depend on where you start the clock.
There is a second reason open source cannot settle this. Demand fell. Issues opened dropped from 551 a month in early 2025 to 341 in the second half and 312 in 2026. In a firm, work is assigned from a backlog that does not run dry. In open source it is volunteered, so a flat number of resolved issues may mean there was less to resolve. Relative to what was filed, these projects resolved more, not less.
One part of that decline stood out. GitHub Discussions, mostly support questions, fell further than issues: 333 a month, then 142, then 55. That is consistent with users asking an assistant instead of a maintainer, though nothing in this data shows the cause.
What the open-source data does add is the other half of the review story. In the earlier post, these same repos absorbed rising volume by reviewing less: review discussion per 100 lines fell 36% while time to merge stayed flat. The firms in this paper did the opposite. They kept reviewing, and paid for it in a 49% longer wait. Same constraint, two release valves, and neither shipped more.
What about studies that say AI does ship more?
They exist, and the disagreement is worth understanding rather than picking a side. Faros AI’s Q2 2026 report found teams with high AI adoption completed 66.2% more epics and 33.7% more tasks than low-adoption teams in the same organizations, across 22,000 developers (Faros AI, 2026). That looks like a direct contradiction.
The designs differ. Faros compares teams that adopted heavily with teams that did not, inside the same companies. Teams choose how much to adopt, and the teams that adopt heavily may be the ones with clearer work, stronger leads or less legacy. Chen and Stratton compare each firm with itself before and after, which removes that selection. Faros’s own data also points the other way on delivery: in the same report, deployments per week fell 11.7%.
CircleCI’s 2026 State of Software Delivery shows the same split at the pipeline level. For the median team, throughput on feature branches rose 15% while throughput on the main branch fell 7%, and main-branch success rates dropped to 70.8%, the lowest in over five years (CircleCI, 2026). More work started, less of it landed.
And the one randomized trial everyone quotes needs its update attached. METR’s early-2025 study found AI made tasks take 19% longer, with a confidence interval of +2% to +39%. In February 2026 METR said its late-2025 follow-up could not measure the change reliably, because developers and tasks were selecting out of the study, and that its data was “only very weak evidence for the size of this increase”. It is now redesigning the study (METR, 2026). Neither the 19% slowdown nor any later speedup should be quoted without that context.
What should you measure instead of code output?
Measure what leaves the building, and measure the queue in front of it. Lines, commits and PRs are what the agent produces. They went up 20 to 30% in the study and told you nothing about whether more software shipped. These five measures would have caught the gap:
- Issues and epics resolved per engineer, by code. The paper’s output measure. Count closes backed by a merged PR or commit, not “closed as completed”.
- Time from PR opened to first review. The queue. In the paper, total time to merge rose 49%. Most of that is waiting, and waiting is invisible in output metrics.
- Changes-requested rate. It nearly doubled with agents. It is the cheapest available signal of whether incoming code quality is costing your reviewers.
- Main-branch success rate. CircleCI’s 70.8% is the delivery-side version of the same problem: more work started, less of it landing cleanly.
- Share of engineer time spent in review. If coding is 42% and falling, review is where the next ceiling sits. Track it before it becomes the only thing your senior engineers do.
DORA’s metrics have their own problems in this setting, and the same logic applies to cost: token spend per team is an input too.
Where should the next speedup go?
If writing code is not the constraint, pointing more agent capacity at writing code makes the queue longer. The next gain has to come from making each review cheaper, which means changing what arrives at the reviewer.
Three things do that, and each has evidence behind it on this blog. A precise spec collapses the range of behaviours an agent produces, from a median of 26 per function to 2, so there is far less to check. A failing test written first turns “is this right?” into “is this green?”. A must-never test stops a whole class of review comments from being needed. All three move work from the scarce reviewer to the abundant agent, which is the direction Amdahl’s law says the gain has to go.
None of that makes the agent write faster. That was never the problem.
Methodology
- The paper. Chen and Stratton, Artificial Intelligence in the Firm: Bottlenecks in Software Production, Harvard job-market paper, current version 4 August 2026. I read the effects and the time-allocation figures from the PDF. It has not been peer reviewed. Its data comes from Jellyfish customers, who are not a random sample of firms. Adoption is measured at the firm level, which dilutes individual effects. The authors note their coding estimates are at the low end of the literature for that reason.
- The Amdahl table is my arithmetic on the paper’s numbers, not the paper’s model. It treats the 30% rise in lines of code as the coding speedup, a generous upper bound.
- Open-source data. ruff, prisma, tailwindcss, vite and astro, January 2025 to September 2026, a month past the earlier post’s cut-off. Merged PRs by merge month, with bot authors excluded. Issues were listed through the GitHub API’s repository connection rather than search, because search returns no issues at all for prisma/prisma. I cross-checked the closed-in-window counts against search for the other four repos, and they match exactly. An issue counts as resolved by code if the event that closed it was a merged PR or a commit.
- What this data cannot show. Agent authorship is not observable in public repositories, the same limitation as before. Issue-closing habits vary by project. And falling issue inflow means flat resolutions may reflect lower demand rather than a bottleneck.
Frequently Asked Questions
Do AI coding agents increase software output?
Not measurably, in the largest causal study so far. Across 718 firms, agent adoption raised lines of code 30% and pull requests 23%, but Jira issues resolved per engineer rose only 3%, which was not statistically significant. The 95% confidence interval rules out a rise above 12%. Epics showed no significant change either.
Why does AI-generated code take longer to review?
In the 718-firm study, PRs were no bigger after agent adoption, but time to merge rose 49%, review comments rose 35%, and the share of PRs with changes requested nearly doubled. That points to two causes together: more code arriving for a fixed number of reviewers, and more of it needing revision.
How much time do engineers spend writing code?
About 42%, according to platform telemetry from 718 firms, and 30% in a survey of 100 engineers in the same study. The rest goes to review, planning and coordination. By Amdahl’s law, a 30% coding speedup can make the whole job only about 11% faster.
Is “lines of code” a valid AI productivity metric?
No. In the 718-firm study, lines of code rose 30% with agents while resolved issues did not move. Lines, commits and PRs measure what the agent produces. Measure issues and epics resolved by code, time to first review, changes-requested rate and main-branch success instead.
The constraint was never the typing
Everyone who has managed a software team already knew that writing code was not the slow part. The study puts a number on it: 42% of an engineer’s time. The agents did exactly what they were bought to do and made that 42% faster. The other 58% got heavier.
If your AI rollout report leads with lines of code or pull requests, it is reporting the part that was never the constraint. Ask it for resolved issues and time to first review instead. Then point the agents at whatever makes review cheaper, because that is where the time actually goes.
Sources
All retrieved 2026-10-18.
- Chen and Stratton, Artificial Intelligence in the Firm: Bottlenecks in Software Production, Harvard University job-market paper, first version 7 Jan 2026, current version 4 Aug 2026. https://fion.ac/jellyfish.pdf
- Faros AI, The Acceleration Whiplash, AI Engineering Report Q2 2026. https://faros.ai/research/ai-acceleration-whiplash
- CircleCI, 5 key takeaways from the 2026 State of Software Delivery: Why AI isn’t shipping faster, Feb 2026. https://circleci.com/blog/five-takeaways-2026-software-delivery-report/
- METR, We are Changing our Developer Productivity Experiment Design, 24 Feb 2026. https://metr.org/blog/2026-02-24-uplift-update/