Skip to content

As Code Gets Easier to Write, It Gets Harder to Understand

The short version

Coding agents made writing code far cheaper than understanding it. In 2026 research, autonomous agents raised commits by a cumulative 240% while actual releases rose 30%. In a controlled experiment, people understood code they wrote themselves faster than code an AI generated. Other studies found that agents speed up a first draft while leaving the people who use them less able to extend it, and that some of the problems agents introduce stay in the codebase. The bottleneck is moving from writing software to knowing what is in it.

What that means for a project built with agents. The decisions that make a system distinctive, how it handles a failure, routes work or keeps state in step, can now be written by an agent and reviewed by nobody. They ship, they work, and nobody, including the person who built the product, has written them down. Finding and writing down what you built is becoming its own job.

This guide summarizes published research. Several of the studies are preprints or working papers that have not been peer reviewed, and each one's limits are stated below.

Writing went up much more than shipping

Mert Demirer and Liyuan Yang (MIT) and Leon Musolff (Wharton) matched more than 500,000 GitHub developers with their AI usage telemetry and followed what happened after each generation of tool arrived (NBER Working Paper 35275, May 2026, revised September 2026).

Cumulative effect on commits, by the generation of coding tool adopted.
ToolCumulative effect on commits
Autocomplete+30%
Interactive coding agents+180%
Autonomous coding agents+240%

The gains shrink further along the chain. For autonomous agents, the 240% effect on commits falls to 80% for the number of projects and to 30% for actual releases. The authors read this as human bottlenecks limiting how much of the extra code becomes shipped software, and they found the same pattern across four software marketplaces: many more new apps, and no increase in total usage.

People understand AI-generated code less well

Julian Oertel, Jil Klünder and Regina Hebig ran a crossover experiment with 35 participants, each working with code they had written and code an AI had generated (arXiv 2611.24216, November 2026). On average, participants solved the comprehension task 20% faster on self-written code than on generated code, and found 11% more of the mutations planted in it. Participants who relied heavily on the AI chat with low engagement in the task showed significantly lower comprehension.

Nishant Balepur and colleagues had 54 students build a website with one of two AI systems (arXiv 2607.26375, July 2026, an in-progress preprint). Coding agents helped them finish the first task, and left them understanding the resulting code less well and less prepared to extend it on their own.

And some of what agents add stays

Yue Liu and colleagues traced 302,600 AI-authored commits in public repositories (arXiv 2603.28592, revised October 2026). Of the issues they tracked to an AI-introduced change, 22.7% were still present at the latest version of the repository.

Shyam Agarwal, Hao He and Bogdan Vasilescu compared open-source repositories before and after their first agent-generated pull request (MSR 2026). Velocity gains were large only where an agent was the project's first AI tool. Static-analysis warnings rose by about 18% and cognitive complexity by about 39%, and those rises persisted after the velocity gains faded.

Who gains

Simone Daniotti, Johannes Wachs, Xiangnan Feng and Frank Neffke trained a classifier to spot AI-generated Python functions in more than 30 million GitHub commits by about 170,000 developers (arXiv 2506.08945, revised November 2025). They estimate AI writes 29% of Python functions in the US, and that experienced programmers capture nearly all of the productivity and exploration gains.

What to do about it

None of these studies says to stop using agents. They say the part that got scarce is knowing what was built. Three habits help:

  • Read what shipped with the source open. A description of a mechanism is only as good as its match to the lines that implement it.
  • Write down decisions when they are made. Note the problem, what was tried, what was chosen, and which parts a person decided and which an agent suggested. A record made at the time is better evidence than one reconstructed later, and who decided what is also the question patent law asks about conception: see If AI wrote the code, what do you own?
  • Scan for what is distinctive. Concept Scanner reads a codebase, writes up each distinctive mechanism in plain language and ties it to the file and lines behind it, for you to approve, reject or skip. It runs on your own computer with a local model by default. We have not measured whether reading a scan improves comprehension; the studies above describe the problem, not our tool.

What these studies do not show

  • Several are not peer reviewed. The NBER paper is a working paper, and the comprehension, student and code-quality studies are preprints.
  • Two samples are small. 35 participants and 54 students are directional, not settled.
  • The large studies are observational. They use event-study and matched-comparison designs on public activity, which support careful causal claims but not the certainty of an experiment.
  • None measures demand for any product, including ours.

Frequently Asked Questions

Do AI coding agents increase how much software ships?

Less than they increase how much code is written. In NBER Working Paper 35275 (Demirer, Musolff and Yang, revised September 2026), autonomous coding agents raised commits by a cumulative 240% across more than 500,000 GitHub developers, while the number of projects rose 80% and actual releases 30%. The authors attribute the gap to human bottlenecks further along the chain. It is a working paper and has not been peer reviewed.

Do developers understand AI-generated code as well as their own?

Not in the experiments so far. In a crossover experiment with 35 participants (Oertel, Klünder and Hebig, arXiv 2611.24216, November 2026), people solved a comprehension task 20% faster on code they had written than on generated code and found 11% more planted mutations; heavy reliance on the AI chat with low engagement went with lower comprehension. In a study of 54 students (Balepur et al., arXiv 2607.26375), coding agents helped finish the first task but reduced understanding and the ability to extend the code. Both are preprints with small samples.

Sources

Related: a published scan of a public flight-control codebase, with three concepts walked through end to end, and our original research.