26 Aug 202611 min read

AI now writes most of the code. Is software development actually any faster?

GitHub reported that developers write code 55% faster with Copilot, Google reported that some of its projects moved almost eight times faster, and an independent study by METR found the opposite: experienced programmers using AI took 19% longer to do their work.

All three results rest on real measurements, yet comparing them directly is close to meaningless, because the word “development” stood for very different work each time. In one case participants had to write a small server from scratch, in another they had to find their way around a project of more than a million lines, and in the third AI was part of a purpose-built system in which several agents analysed code, made changes and checked each other’s work.

That is why it is almost impossible today to name a single figure that captures how effective AI really is in software development. Too much depends on the task itself, the quality of the project and what happens after the model has generated the code.

Developers were sure AI was saving them time

In spring 2025, researchers at METR invited 16 experienced developers to work through 246 real tasks in projects they had been contributing to for about five years on average. These were ordinary bug fixes, enhancements and refactoring, not exercises prepared for the study.

Participants did some of the tasks on their own, and for the rest they could use Cursor with Claude 3.5 and 3.7 Sonnet. Before the experiment the developers expected AI to cut their time by about 24%, and even after it was over they still believed they had saved around 20%.

The objective measurements showed that, with AI, they had in fact taken 19% longer on average.

The model offered a first version quickly, so the task genuinely felt easier: there was no blank screen to start from, no syntax to look up, no obvious boilerplate to type by hand. But the developers then spent time refining prompts, waiting for responses, reading the suggested code and fixing mistakes. Only 44% of the solutions the model produced were accepted, and the gain from the early stages disappeared entirely during review.

The most interesting result of the METR study was not the slowdown itself but the gap between how participants felt and what was actually measured. Even experienced engineers did not notice that they had become slower, because the model’s quick answers created a constant sense of progress and made the task feel less difficult.

These numbers can no longer be carried over to today’s tools, however. The experiment ran in the first half of 2025, when developers mostly used AI as an assistant inside the editor. Over the following year, fully fledged agents arrived that can explore a project on their own, change several files, run the build and fix the errors they find.

METR continued the study with more recent tools, and this time the returning participants completed tasks with AI roughly 18% faster. The effect could not be confirmed reliably, because the sample had changed and the results varied widely. Some developers ran several agents at once, which made their time hard to measure the old way. Others had grown so used to AI that they refused to do half of their tasks without it, even for pay.

The result was a rather unusual situation: the technology changed faster than researchers could devise a stable way to measure its effect.

Why GitHub’s studies came out so differently

One of GitHub’s best-known figures dates back to 2022, when participants in an experiment were asked to write a small HTTP server in JavaScript. Developers using Copilot finished the task about 55% faster than the control group.

A later GitHub study involved 202 developers with at least five years of experience. They had to build an API for a fictional restaurant review service, after which the code was run against automated tests and handed to other engineers for blind review. Participants with Copilot passed all the tests more often, and their solutions scored slightly higher on readability, reliability and maintainability.

These results look much better than METR’s, but the contradiction disappears once you look at how the tasks were set up.

In GitHub’s experiments, participants started from an almost blank page, knew the expected outcome in advance and could check it against a small set of tests. They did not have to account for years of project history, trace connections between several systems or work out why an obvious change breaks an internal rule that is written down nowhere.

In the METR study, developers worked in codebases they knew well, averaging more than a million lines. They often knew straight away where to look for the problem, whereas the model still had to be introduced to how the project worked. To get a useful answer, the engineer first had to put their own understanding of the system into words, point to the related files and explain the constraints, and then check whether the AI had missed something that had long been obvious to them.

In effect, the developer was not simply using a tool but onboarding a new contributor who knows programming in general very well but knows nothing about this particular company.

So GitHub and METR were measuring different kinds of work. When the main difficulty lies in producing a standard solution, AI really can speed a developer up a great deal. When you first have to understand an existing system and decide which change will not damage the rest of it, the outcome becomes far less predictable.

Modern agents handle large projects better and can gather context on their own, but the fundamental difference between these two kinds of task remains. The easier it is to verify the result, the more work can be handed to the model and the greater the potential time savings.

Microsoft improved the result without changing the model

For ten months, the .NET team used Copilot Coding Agent in the .NET Runtime repository, which underpins applications written in C#. The agent took a task, studied the code on its own and opened a finished pull request. Over the course of the experiment it produced 878 of them, but in the first months only 38.1% were completed successfully.

Sometimes Copilot genuinely chose a poor solution, but many of the failures had less to do with the model’s abilities than with the fact that it could not work properly inside the project.

Different parts of .NET Runtime use their own build commands, depending on the platform and the type of change. A full build takes more than twenty minutes even on a powerful machine, yet the agent ran it in situations where a quick check would have done, hit the time limit and stopped. Some dependencies were unreachable from its environment, and the project’s internal rules were scattered across documentation or existed only in people’s heads.

Microsoft opened access to the packages the agent needed, documented the structure of the repository and added precise instructions for different kinds of work. The team wrote down the build commands, the quirks of cross-compilation, the documentation requirements and the mistakes Copilot had already made.

After that, the share of successful pull requests rose from 38.1% to 69%.

The authors of the .NET report noted specifically that the improvement came not from a new model but from preparing the project. Copilot did not become almost twice as smart; it stopped wasting time on the wrong actions, gained access to the tools it needed and started following the rules of that particular team.

A new employee also has to be introduced to a project, but that usually happens informally: colleagues answer questions, show the internal tools and correct the first mistakes. With an agent, the explanations built up along the way can be saved as instructions and then applied to every task that follows.

What Microsoft actually automated was not writing code but part of bringing a contributor up to speed on the project, and that had a bigger effect than simply swapping one model for another.

At Google, the same high level of automation had different effects

In spring 2026, Sundar Pichai said that AI now generates 75% of Google’s new code. The figure spread quickly through the media, even though it says nothing about how much time the company actually saves.

One Google project required moving internal identifiers from 32 to 64 bits. The changes touched tens of thousands of locations across thousands of files, so a manual migration could have taken several engineer-years.

AI helped find the right places and prepare the fixes, and in the end it produced 80% of the changes that made it into the final code. The overall duration of the work, meanwhile, fell by roughly half.

The difference is explained by the fact that generation was only one of the stages. Engineers still had to deal with exceptions, route changes to the owners of different systems, investigate build failures and coordinate the release. The model wrote most of the code, but it did not run the migration as a whole.

This Google project showed why the percentage of machine-made changes is a poor way to assess productivity. It tells you where the code came from, but nothing about how much human work remained around it.

In another project, Google moved large production models from TensorFlow to JAX. Strip away the technical names, and the company had to rewrite a complex system on a different technology while keeping its behaviour exactly as it was.

Replacing a few calls was not enough, since some YouTube models consist of hundreds of interconnected components and thousands of lines of code. An error might not break the build but could quietly change the calculations and affect the final recommendations.

Early attempts to hand the migration to a single agent failed: it lost context, missed dependencies, invented functions that did not exist and sometimes changed files it should not have touched.

Google then split the process across several agents. One studied the dependencies and drew up a plan, another broke it into small steps and oversaw their execution, and a third changed the code, ran the build and fixed the errors. Each team had its own instructions and examples of successful migrations, so the agent working on YouTube models received knowledge specifically about YouTube’s infrastructure.

The decisive change was the ability to verify the result automatically. Google did not stop at checking that the new code built and passed the usual tests. The system compared the old and new versions of a model mathematically, found the maximum divergence between their outputs, and only then handed the work over to an engineer.

On real YouTube models, this process delivered a speed-up of 6.4 to 8 times, and work that used to take several engineer-months came to fit into a few weeks.

In the first migration, AI mainly produced the changes, so a high share of machine-written code cut the total time by about half. In the second, the agents were given a dependency map, internal rules, separate roles and strict verification, and a similar technology sped the project up almost eightfold.

Speeding up one stage can slow down the whole process

Development is often pictured as writing a program from start to finish: someone gets a task, opens the editor and starts building a solution. Seen that way, everything looks obvious: AI writes faster than a person, so it should speed up the whole process by the same factor.

In practice, before the first line of code you have to understand the task, find the right place and choose a suitable approach, and after the last one you still have to build the project, run the tests, check security, do the review and ship the change. If AI speeds up only the middle of this chain, the load simply moves on to the stages that follow.

A developer may now prepare six changes a day instead of two, but other people still have to read them. If pull requests have grown, review takes longer, and if the tests do not cover the scenarios that matter, the time saved on writing comes back as manual checking.

This is the effect found by DORA, the Google Cloud research programme that has studied technology teams for many years. According to its 2024 data, a 25% increase in AI adoption was associated with a 1.5% drop in delivery throughput and a 7.2% drop in delivery stability. One of the reasons was larger changes, which AI made faster to produce even though teams had not yet learned to review and safely ship that volume.

In 2025 the relationship with the number of changes shipped turned positive, but the rise in instability persisted. The latest DORA report describes AI as an amplifier of the organisation that already exists: in a company with a good internal platform, automated tests and clear processes it increases speed, while with poor documentation and fragile infrastructure it reproduces the problems already there, only faster.

That is why two teams can buy the same tools and get completely different results. In one, the agent receives the task together with context, access to the systems and a way to check its own work, while in the other people explain every change by hand and then pick it apart again during review.

The share of AI-written code explains almost nothing

The share of machine-written code is convenient for presentations, because it grows fast, looks good in a headline and gives an easy sense of scale. Yet it does not show whether the company has started shipping products faster, how much time went into framing tasks and checking the results, or what portion of the proposed changes had to be fixed by hand.

The very notion of machine-written code is gradually losing its meaning. If one agent prepared the first version, a developer changed the architecture and a second agent wrote the tests, it is no longer possible to say who authored the final solution. Still less can a line count compare one important architectural decision with hundreds of mechanical replacements across different files.

It is more useful to measure how much of a task AI has carried to the point where a person only needs to check the contentious parts and make a decision. In the bad scenario, the model produces convincing code in a few minutes, which a developer then spends hours untangling. In the good one, the agent studies the dependencies on its own, makes the changes, runs the tests and comes back with the result and a short list of questions.

In the second case there may even be less code, while the real time saved is considerably greater.

Models are improving so quickly that last year’s measurements really do go out of date. METR’s 19% slowdown can no longer be taken as an assessment of today’s agents, but together with the more recent Microsoft and Google projects it reveals a common pattern: productivity rises not when AI starts writing more code, but when the company gives it enough context, tools and means of verification that people no longer have to do the same work over again.

Google already reports that 75% of its new code is created with AI, and Microsoft is receiving hundreds of finished pull requests from Copilot. In a few years that share may well approach 100%, but the main measure will still be not how much code the machine wrote but how much human work actually disappeared as a result.

Modern digital solutions