Back to Home

Harvard: AI Coding Agents Add 30% Code, Zero Output

Harvard Ph.D. candidates Fiona Chen and James Stratton have a working paper that puts hard numbers on what engineering leads have suspected all year: coding agents make drafting fast and merging slow. The study covers 725,938 workers across 718 firms between January 2021 and March 2026. It is a job-market paper with no indication of completed peer review, so treat it as a strong signal, not settled science.

The methodology deserves the first look. Activity telemetry came from Jellyfish, which sells engineering analytics, and was joined to employment records from Revelio Labs. The design is a staggered difference-in-differences comparison against firms that had not yet adopted, with controls for firm size because larger firms bought earlier. The authors argue that adoption timing was driven mainly by procurement, with approvals ranging from a single day to twelve months, which is plausibly unrelated to a firm's growth rate.

The panel is large enough to take seriously: 68.3 million Jira issues, 200.9 million commits, 49.1 million pull requests and 21.3 million calendar events, though only 213 of the 718 firms supplied calendar data.

What 30 Percent More Code Actually Buys

Lines added rose by 1,494 per worker-month against a 5,017 baseline, about 30 percent. Commits climbed 20 percent and pull requests 23 percent. Those figures are agent-attributable increments layered on top of firms that already ran ordinary AI coding assistants, which makes the baseline itself already AI-assisted.

Then the curve flattens. Finished work, counted as Jira issues whose code reached production, moved 0.12 issues per worker-month on a 3.67 baseline, with a standard error of 0.17. That is statistically indistinguishable from zero. The 95 percent confidence interval rules out any gain above roughly 12 percent, less than half the increase in code written.

MetricBaselineChange
Lines added per worker-month5,017+1,494 (29.8%)
Commitsn/a+20%
Pull requestsn/a+23%
Issues resolved per worker-month3.67+0.12 (not significant)
PR submission to merge7.03 days+3.45 days (49%)
PRs receiving a change request13%+12 percentage points
Review comments per PRn/a+35%

The obvious objection is task shifting. If engineers simply took on bigger issues, a flat issue count would understate real output. The authors tested it by labeling a 0.5 percent sample of issues by size with GPT-4o and propagating those labels across the corpus with a text-embedding model. Average issue size did not shift, and pull requests did not grow larger either.

Where the Throughput Went to Die

Code review absorbed the surplus. The interval from pull request submission to merge rose 3.45 days on a 7.03-day baseline, a 49 percent increase. The share of pull requests drawing a formal change request rose about 12 percentage points from a 13 percent base, nearly doubling. Review comments per pull request climbed 35 percent. The share of workers performing any review rose 14 percent from a base of roughly 29 percent, while the share writing code showed no measurable change.

AI review tooling did not clear the queue. Nearly 80 percent of firms had used an AI reviewer by March 2026, yet those tools generated only 23.3 percent of review comments, and just 10.8 percent of pull requests received even one AI comment.

The paper's two-channel model is the useful part for anyone budgeting. The first channel is capacity: faster drafting pushes more diff into a fixed pool of reviewers, and reassigning headcount relieves it. The second is quality: the jump in change requests, which drafting speed alone cannot explain, reads as less mergeable output, and that needs better models rather than more reviewers. The evidence leans toward the second channel.

A separate NBER working paper revised in September 2026 traces the same shape. Mert Demirer, Leon Musolff and Liyuan Yang studied over 500,000 GitHub developers and found a 240 percent cumulative rise in commits from autonomous agents collapsing to 30 percent for actual releases. Both papers carry disclosure notes worth reading; Demirer and Musolff held Microsoft postdoctoral positions and now consult for GitHub.

Headcount did not react either way. The estimates rule out an overall employment decline larger than 2.9 percent, and a noisier specification puts the engineering figure at 13.8 percent. These are short-run, partial equilibrium results, so they say little about what happens once every competitor adopts.

One interview in the paper makes the mechanism concrete. A junior engineer described a project where a single senior approver could review changes once a week, and after outages traced to AI-generated commits the team added mandatory senior sign-off for machine-written code. Review capacity shrank exactly when volume grew.

For teams running agents in production, the instrumentation is unglamorous and cheap: merge latency, change-request rate, reviewer minutes per pull request, and issues deployed per engineer. If the first two rise while the fourth stays flat, you bought code, not output, and the next dollar belongs in review capacity or a better model, not more agent seats.

Comments

No comments yet. Be the first to share your thoughts!