AI Tools Review
Do AI Coding Agents Improve Productivity?

Insights

Do AI Coding Agents Improve Productivity?

AI Tools Review Editorial Team14 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.

    +24.0%

    Merged PRs per engineer per day

    95% interval +14.5% to +33.7%

    +50.1%

    Lift at five or more tool-use days a week

    Against +15.0% at three days

    +216%

    Higher odds of first use

    When over a quarter of skip-level peers used an agent

    19% slower

    METR early-2025 randomised trial

    95% interval +2% to +39% longer

    Source: Microsoft study, arXiv 2607.01418 (July 2026); METR (July 2025 and 24/02/2026 update)

    Nate B Jones on telling real agent output from the appearance of being busy, the same proxy problem the Microsoft paper flags for merged pull requests.

    What Did the Microsoft AI Coding Agents Study Examine?

    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.

    What Were the Main Findings of the Microsoft Coding Agents Study?

    In the Microsoft study of AI coding agents, 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 Is the Dose-Response Relationship for AI Coding Agents?

    The headline figure is more precise than "roughly 24%". The paper's CausalImpact analysis estimates a +24.0% lift in merged PRs per engineer per day across the post-period, with a 95% credible interval running from +14.5% to +33.7%. That interval matters: the true effect in this population is very unlikely to be zero, but it could plausibly be anywhere from modest to substantial.

    More interesting is the dose-response pattern. The paper describes the curve as rising from an estimated +15.0% at three tool-use days per week to about +50.1% at five or more (the lower-use buckets appear only in the paper's Figure 7, so we do not quote them). The effect scales with intensity of use rather than arriving as a flat bonus for having access.

    Two readings of that gradient are possible, and both are probably partly true. Heavier use may genuinely compound, as engineers build workflows, prompt patterns and trust that make each session more productive. But heavier users may also be the people whose task mix suits agents best, so the gradient partly reflects selection rather than pure treatment effect.

    The practical implication for leaders is the same either way: a licence that gets opened once a fortnight delivers little. If you believe the tools are worth deploying, the evidence favours investing in the habits and task-routing that turn occasional users into daily ones.

    The lift was not flat across the window either. The full paper reports +29.4% for February (interval +17.7% to +44.4%) and +20.0% for 1 March to 29 April (interval +7.4% to +35.9%), and a placebo test dated 6 October 2025, before the tools arrived, returned -1.1% (interval -10.6% to +8.6%), which is what a sound design should show.

    Lift in merged PRs per engineer per day, by period

    CausalImpact estimates for the early-adopter cohort against a synthetic control. Higher is better.

    Whole post-period (5 January to 29 April 2026) · 95% interval +14.5% to +33.7%

    24%

    February 2026 · 95% interval +17.7% to +44.4%

    29.4%

    1 March to 29 April 2026 · 95% interval +7.4% to +35.9%

    20%
    Show data table
    BenchmarkEstimated lift in merged PRs
    Whole post-period (5 January to 29 April 2026)24%
    February 202629.4%
    1 March to 29 April 202620%

    Source: Adoption and Impact of Command-Line AI Coding Agents, arXiv 2607.01418, Section 5.1

    How Do Claude Code and GitHub Copilot CLI Compare in the Study?

    The Microsoft paper also breaks the effect of AI coding agents down by tool, comparing Claude Code and GitHub Copilot CLI. In weeks with any use, Copilot CLI adopters showed an estimated PR lift of +24.9% (interval +23.0% to +26.8%), against +11.4% (interval +9.4% to +13.6%) for Claude Code adopters, roughly a 2.2 times difference in this setting.

    Resist the temptation to read that as a general verdict on tool quality. The study ran inside Microsoft, which builds Copilot CLI, so internal documentation, support channels and integration with in-house systems plausibly favoured the home tool. Nor were engineers randomly assigned a tool: the populations choosing each agent may differ in role, codebase and task mix.

    The comparison is also frozen in time. The observation window closed in late April 2026, and the underlying models have since turned over: Anthropic's line-up now centres on Opus 4.8, Sonnet 5 and Fable 5 (restored on 1 July after its June suspension), whilst OpenAI shipped GPT-5.6 on 9 July. A tool gap measured in the first quarter tells you little about the tools as they exist today.

    The durable lesson is not which agent won, but that tool-level differences within one organisation can be as large as the headline effect itself. Teams evaluating agents should run their own within-team comparisons rather than importing another company's ranking, and factor in running costs using guides such as our Claude Code pricing breakdown. For a current, hands-on view of the tools themselves, see our comparison of Claude Code, Codex and Cursor.

    Lift in merged PRs: intensity of use and tool

    Fixed-effects Poisson estimates, weeks with agent use against the same engineer's weeks without. Higher is better.

    Three tool-use days per week

    15%

    Five or more tool-use days per week

    50.1%

    Claude Code, any use in the week · 95% interval +9.4% to +13.6%

    11.4%

    GitHub Copilot CLI, any use in the week · 95% interval +23.0% to +26.8%

    24.9%
    Show data table
    BenchmarkEstimated lift in merged PRs
    Three tool-use days per week15%
    Five or more tool-use days per week50.1%
    Claude Code, any use in the week11.4%
    GitHub Copilot CLI, any use in the week24.9%

    Source: arXiv 2607.01418, Sections 5.2.1 and 5.2.2. One- and two-day buckets are shown only in the paper's Figure 7 and are omitted here

    How Social Was the Spread of AI Coding Agents at Microsoft?

    The adoption analysis quantifies just how social the spread was. Engineers whose skip-level network (colleagues two reporting hops away) had at least 25% of members already using an agent showed +216% higher odds of trying one themselves. Where at least a quarter of an engineer's code-review peers were users, odds of trying rose by around +54%.

    Management example mattered too: engineers whose direct manager used a coding agent were about +82% more likely to try one. Formal channels, demos, mandates and training courses were consistently weaker predictors than simply seeing trusted colleagues use the tools.

    The paper defines retention operationally as activity on at least five of the fourteen days after first use, which is a deliberately demanding bar. By that standard, sticking with the tools correlated with having coding-heavy work, not with seniority or demographics: people whose weeks contained many agent-suitable tasks kept using them.

    One caveat the authors themselves flag: observational network data cannot fully separate peer influence from homophily. Engineers who sit near early adopters may resemble them in ways that independently predict adoption. Even so, the sheer size of the network effects makes the practical advice hard to ignore.

    Prior habits mattered as well. Engineers with 60 or more days of earlier Copilot use in the editor had +83% higher odds of trying a command-line agent, and those already merging two or more pull requests a week had +34% higher odds. The same exposure effects carried into retention at a smaller size: +66% for the densest skip-level networks and +22% where the direct manager was a user.

    What predicted trying a coding agent

    Increase in the odds of first use. Higher means a stronger predictor.

    Over a quarter of skip-level peers had used an agent

    216%

    60 or more days of prior Copilot use in the IDE

    83%

    Direct manager used an agent

    82%

    A quarter or more of code-review peers had used an agent

    54%

    Two or more merged PRs a week at baseline

    34%
    Show data table
    BenchmarkHigher odds of first use
    Over a quarter of skip-level peers had used an agent216%
    60 or more days of prior Copilot use in the IDE83%
    Direct manager used an agent82%
    A quarter or more of code-review peers had used an agent54%
    Two or more merged PRs a week at baseline34%

    Source: arXiv 2607.01418, Sections 4.7.1 to 4.7.3

    What Does 24% More Merged PRs Mean?

    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.

    Free Guide

    Get the free guide: Best AI Models for Coding

    Every model ranked on the Coding Agent Index, run inside real coding agents, plus Terminal-Bench and FrontierCode. Updated 22/11/2026.

    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.

    What Are the Causality and Selection Caveats in the Microsoft Study?

    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. The paper itself notes that at organisational scale, token spend can run into millions of dollars annually, which is why the size and durability of the lift matters commercially, not just academically. We work through the same arithmetic for a consumer agent in our piece on agent unit economics.

    What Methodology Did the Microsoft Study Use?

    For readers who want to weigh the evidence properly, the design is worth understanding. The observation window ran from 5 January to 29 April 2026, with a thirteen-week pre-period from 1 October 2025 to 4 January 2026 used to establish each engineer's baseline output before the tools arrived.

    The headline +24.0% estimate comes from a Bayesian structural time-series analysis (Google's CausalImpact approach) applied to a cohort of early adopters who first used an agent between 5 and 11 January 2026. A synthetic control built from comparable non-adopters models what the cohort's PR output would have looked like without adoption; the lift is the gap between observed and modelled output.

    A second analysis uses fixed-effects Poisson regression with engineer and week fixed effects. This within-person design compares each engineer's weeks of agent use against their own non-use weeks, absorbing stable individual differences such as skill or role, and it is the analysis behind the per-tool and dose-response estimates.

    The authors are candid about the limits: one company, one four-month period, no randomised assignment, an outcome metric that ignores PR value, and no visibility into effects beyond the window. Those are real constraints, but the combination of two independent identification strategies pointing the same direction is considerably stronger than most vendor-published evidence in this space.

    How Should Engineering Leaders Roll Out AI Coding Agents?

    When rolling out AI coding agents, 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 Are AI Coding Agents 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.

    How Should You Measure the Impact of AI Coding Agents?

    To measure the impact of AI coding agents, 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.

    How Does the Microsoft Study Fit the Wider Evidence on AI Coding Agents?

    The Microsoft result lands in a literature that is genuinely mixed. The most cited counterpoint is METR's randomised controlled trial, published in July 2025, which found that experienced open-source developers completed real tasks about 19% slower when allowed to use AI tools, even though the same developers estimated afterwards that AI had made them roughly 20% faster.

    The two studies are less contradictory than they first appear, because they measure different things in different settings. METR studied 16 highly experienced maintainers working on 246 issues in mature repositories they knew intimately, primarily using Cursor Pro with Claude 3.5 and 3.7 Sonnet between February and June 2025. The Microsoft study observed tens of thousands of engineers using a newer generation of terminal agents across ordinary corporate work in early 2026.

    A coherent reading is that AI assistance helps least where the human is already near the performance ceiling on deeply familiar code, and helps most across the broad middle of everyday engineering: unfamiliar corners of a codebase, boilerplate, tests, migrations and well-specified changes. Tool generation matters too; agentic CLI tools that run tests and iterate autonomously are a different proposition from the editor-assist workflows METR measured. (Our Cursor 2.0 review and Codex app guide show how far those products have since moved towards agents.)

    METR's own follow-up supports that reading, cautiously. In an update published on 24 February 2026, covering 57 developers, 143 repositories and more than 800 tasks from August 2025 onwards, the estimate flipped sign: tasks took 18% less time with AI for the 10 returning developers and 4% less for 47 new recruits. Both intervals still include zero, and METR calls the data "very weak evidence", noting that 30% to 50% of developers said they skipped some tasks because they did not want to do them without AI.

    StudyDesign and samplePeriodMeasureEstimate95% interval
    Microsoft (arXiv 2607.01418)Observational; tens of thousands of engineers5 January to 29 April 2026Merged PRs per engineer per day+24.0%+14.5% to +33.7%
    METR, early 2025Randomised trial; 16 developers, 246 issuesFebruary to June 2025Time to complete a task19% longer+2% to +39%
    METR, late 2025 (returning)Randomised trial; 10 original developersFrom August 2025Time to complete a task18% shorter-38% to +9%
    METR, late 2025 (new recruits)Randomised trial; 47 developersFrom August 2025Time to complete a task4% shorter-15% to +9%

    The two measures are not interchangeable: more merged pull requests and less time per task are different outcomes, so the rows should be read side by side, not ranked. In the original METR trial developers forecast a 24% speed-up beforehand and still believed afterwards that AI had made them 20% faster.

    The perception gap METR documented is the enduring warning for both camps. Developers systematically misjudge whether AI is helping them, in either direction, so self-reported productivity is close to worthless as a rollout metric. Instrumented outcomes of the kind the Microsoft paper uses, however imperfect, are the only defensible basis for deployment decisions.

    Do AI Coding Agents Improve Productivity?

    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.

    Update 18/11/2026: added sourced data tables and charts, corrected the dose-response wording (the paper's +15.0% figure is for three tool-use days a week, not one) and added METR's February 2026 follow-up. For what has shipped since, see our Claude Code update guide. Originally updated: 15 July 2026. Core figures and caveats come from the original study, including the dose-response, per-tool and social-network estimates in the full paper text. Comparative context draws on METR's 2025 randomised trial.

    Free Guide

    Get the free guide: The AI Model Benchmark Guide

    Every frontier model compared on intelligence, coding, cost per task and value, with straight recommendations. November 2026 edition. Updated 23/11/2026.

    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.

    Which free guides go with this article?

    Free PDF guides built from our live benchmark data and refreshed every week.

    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.

    Explore more AI tool comparisons

    In-depth reviews, benchmarks and guides to help you choose the right AI tools.

    Browse all reviews
    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.