AI Tools Review
Do AI Coding Agents Improve Productivity?

Do AI Coding Agents Improve Productivity?

14 July 2026

Quick Answer:

A July 2026 study of Microsoft's early rollout of Claude Code and GitHub Copilot CLI found that adopters merged roughly 24% more pull requests than the estimated counterfactual. The increase persisted across four months. The authors are explicit that a merged PR is a proxy for output, not proof of code quality, customer value or total productivity.

The headline is strong: 24% more merged pull requests. The paper is useful because it also explains why that number should not become a claim that every engineer is 24% more productive.

What the Microsoft Study Examined

The paper Adoption and Impact of Command-Line AI Coding Agents was published on 1 July 2026. It studies tens of thousands of engineers during Microsoft's early rollout of Claude Code and GitHub Copilot CLI.

The researchers asked three practical questions: who tries the tools, who keeps using them and whether adoption changes measurable output enough to justify substantial token spend.

This is observational organisational research rather than a laboratory benchmark. Its strength is scale and real workplace behaviour. Its limitation is that adoption is not randomly assigned in the same way as a controlled trial.

The Main Findings

First use spread primarily through social networks. Engineers were more likely to try a coding agent when visible peers used it. Adoption was not simply a function of demographics or formal training.

Retention was more closely associated with coding activity than with demographics. People with work that created repeated opportunities to use the tools were more likely to continue.

Most prominently, adopters merged roughly 24% more pull requests than the researchers estimated they would have without adoption. The lift persisted across the four-month observation window, arguing against a short novelty spike.

These findings suggest coding-agent rollouts are partly social systems. Product access matters, but examples, peer confidence and suitable tasks influence whether access becomes routine use.

What 24% More Merged PRs Means

A merged pull request is observable and consistent across a large organisation. It is a reasonable proxy for completed software work, but it is not the same as business value.

PRs vary enormously. A documentation correction and an architectural change each count as one. More merged PRs can reflect useful decomposition, but they can also reflect smaller batches or work that shifts review effort to colleagues.

The result is best read as evidence that command-line agents increased one concrete form of engineering output among adopters in this setting. It is not a universal productivity coefficient and should not be applied directly to headcount planning.

Causality, Quality and Selection Caveats

Adopters may differ from non-adopters in motivation, workload or comfort with new tools. The study uses counterfactual estimation, but no observational method removes every unmeasured difference.

The paper does not reduce code quality to PR count. Teams still need defect rates, review time, rollback frequency, security findings and customer outcomes.

There can also be spillovers. An agent may help one engineer create more changes whilst increasing review work for others. Organisation-level productivity must include the whole delivery system.

Token spend matters as well. A lift can be real but uneconomic if poorly scoped tasks trigger long, repeated runs. Cost per accepted task is more informative than cost per prompt.

Rollout Lessons for Engineering Leaders

Visible peer use matters. Seed a rollout with respected engineers working on representative tasks, then let them share concrete examples, failures and permission practices.

Train around workflows, not clever prompts. Teams need patterns for issue selection, context management, test execution, code review and safe terminal access.

Keep the human responsible for intent, constraints and verification. The agent can explore and implement, but the engineer should approve architecture, inspect the diff and own the outcome.

Do not reward raw PR volume. That can encourage fragmentation and low-value changes. Reward reliable delivery, maintainability and reduced time to validated outcomes.

Where Agents Are Most Likely to Help

Coding agents are well suited to bounded maintenance, test creation, repetitive migration, documentation updates and changes with clear acceptance criteria.

They are less dependable when requirements are ambiguous, architecture is contested or the repository lacks tests. Faster code generation can accelerate the wrong plan.

Teams should maintain an explicit task taxonomy. Compare agent-assisted and unassisted outcomes within similar classes instead of averaging migrations, bug fixes and new product work into one number.

A Better Measurement Framework

Start with output: accepted tasks, merged PRs and cycle time. Add quality: review rounds, escaped defects, rollbacks and security findings. Add system cost: reviewer time, CI minutes and model spend.

Then measure experience. Developers should report whether the tool reduces tedious work, creates cognitive overhead or makes unfamiliar code easier to understand. Retention without satisfaction may simply reflect organisational pressure.

Finally, examine distribution. An average gain can hide groups that benefit greatly and groups that lose time. Tooling, repository maturity and task mix should guide where the rollout expands.

The Bottom Line

The Microsoft study is stronger evidence than a vendor demo because it observes sustained use at organisational scale. It suggests command-line agents can produce a meaningful lift in merged software output.

It does not prove every merged PR is valuable or that every team will achieve the same result. The 24% figure belongs to a particular rollout, population, tool set and proxy.

Run a measured rollout, instrument the full delivery process and treat adoption as a social and workflow change. Compare model and coding-agent results in the AI Tools Review benchmarks hub.

Last updated: 14 July 2026. Core figures and caveats come from the original study.

Free Guide

Get the free guide: Claude vs ChatGPT, Gemini & Grok

A 20-page playbook covering everything you need to choose and use the big four AI models in 2026, full cost and feature comparisons, what each is best (and worst) at, and how-tos for images, vectors, building a website, Claude Code and more.

Pop your email in to get it free
Preview of the free guide: Claude vs ChatGPT, Gemini and Grok, 2026 features, pricing and what-you-can-do comparison.

Frequently Asked Questions

What did the Microsoft coding-agent study find?
Adopters merged roughly 24% more pull requests than the estimated counterfactual, with the increase persisting across a four-month window.
Which tools were studied?
Microsoft's early-2026 rollout covered Claude Code and GitHub Copilot CLI.
Does 24% more PRs mean 24% more productivity?
No. Merged PRs are a proxy for output and do not directly measure code quality, customer value, review burden or business impact.
Was it a randomised trial?
It was an observational study using counterfactual estimation across a large organisational rollout, so selection and unmeasured differences remain caveats.
What should teams measure?
Track accepted task rate, cycle time, review effort, defects, rollbacks, security findings, cost and developer satisfaction alongside PR volume.
AI Tools Review Editorial Team

AI Tools Review Editorial Team Expert Verified

Our editorial team consists of veteran AI researchers, software engineers, and industry analysts. We spend hundreds of hours benchmarking frontier models natively to provide you with objective, actionable intelligence on agentic AI capabilities and cybersecurity landscapes.