Agentic Coding's Build-vs-Buy Shift Has a Hidden Cost

McKinsey's 2026 State of AI survey found 32% of companies skipped a software purchase because a coding agent built it instead. The EBIT impact stayed flat. Here's what that gap means.

Cover art for Agentic Coding's Build-vs-Buy Shift Has a Hidden Cost

McKinsey surveyed 1,719 participants across 97 countries between May 4 and June 8, then published the results on August 25. The headline number that spread immediately: 32% of organizations have decided against buying off-the-shelf software, opting instead to build their own solutions using agentic coding tools. In tech specifically, the share is 41%. Read that alongside a second number and it gets interesting: 80% of respondents report individual productivity gains, but only 37% report any enterprise EBIT impact - flat versus last year's survey. That gap - widespread speed at the keyboard, unmoved bottom line - is the real story inside the data.

What the agentic coding build-vs-buy shift actually measures

The 32% figure counts organisations that declined at least one purchase - not ones that have replaced their entire software stack. The industry spread tells you something: insurance and the public sector sit at 19% and 17%, because those sectors buy audit evidence and liability, not code.

Healthcare payers and providers sit at 39%, professional services and energy at 38%, and financial institutions at 36%.

The effect is also concentrated in the companies already winning. McKinsey identifies "high performers" as the 6% of respondents who attribute at least 5% of their EBIT to AI. Nearly half of those high performers are skipping software purchases, compared to 31% of their peers. In other words, the build-vs-buy shift is driven by companies that already know how to extract profit from AI - not the broad middle.

A separate data point reinforces the direction. Retool's 2026 Build vs. Buy Report, based on a survey of over 800 professionals, found that 35% of enterprises have already replaced a SaaS tool with something they built themselves.

Teams are replacing SaaS with custom software, and many are doing it outside traditional IT oversight, as development outpaces procurement and governance processes.

Why the productivity-to-profit gap is the more important number

As organisations expand deployment, AI operating costs - including tokens - are becoming a meaningful consideration. One in five respondents says their organisation is limiting AI use because of operating costs.

That constraint sits right in the middle of the productivity-to-profit gap. A team that builds an internal tool with a coding agent runs that tool in production. It now pays inference costs every time the tool runs. It also owns the security surface, the upgrade cycle, and the incident response when something breaks. None of that shows up in the "we didn't renew our SaaS subscription" line.

The pattern has a name in software economics: the make-vs-buy decision has always understated total cost of ownership for internal builds. Agentic coding tools lower the cost to build from days to hours. They do not lower the cost to run, maintain, or secure what you built.

32%skipped ≥1 software purchaseby building with agentic coding tools (McKinsey 2026, n=1,719)
80%report individual productivity gainsbut only 37% see company EBIT impact
41%tech-sector build ratehighest of any industry surveyed
1 in 5limiting AI use due to operating coststoken and inference spend is real

Large enterprises are scaling agents; smaller ones are not

Agent adoption is splitting along size lines in a way the headline numbers obscure. Use of agentic AI is increasing, mostly accounted for by large enterprises. Forty percent of respondents from large organisations (those with annual revenues of more than $1 billion) report scaling AI agents, up from 27% last year. The share of respondents from smaller organisations reporting scaling remained flat at 22%.

That flat 22% matters. Small and mid-sized teams have less tolerance for the maintenance tail that follows an internal build. A 12-person startup that uses a coding agent to build its own analytics dashboard instead of paying for a SaaS tool has committed its engineers to keeping that dashboard alive, debugging it when the underlying model API changes, and explaining to new hires why the system works the way it does.

Large enterprise (>$1B revenue) Smaller organisation
Scaling AI agents 40% (up from 27%) 22% (flat)
Skipping a software purchase Concentrated in high performers Less common
Operating cost pressure 1 in 5 limiting AI use Similar
Build maintenance risk Absorbed by larger eng teams Falls on a small core

The risk is asymmetric. Large teams can absorb a failed internal build. A small team that rebuilds its support ticketing system in-house and then loses its one expert on that codebase has a different problem.

Beagle in action#eng-ops, Thursday morning
The ask
'should we build a custom sprint summary tool or just keep using the SaaS one?'
Beagle drafts
pulls the team's recent message thread, surfaces the three maintenance incidents from the last quarter's internal tooling, drafts a cost-to-maintain estimate based on eng hours logged
You approve
the decision gets made in the channel with a sourced summary, not a two-hour meeting
Do this in your workspace

What this means for teams deciding right now

The agentic coding build-vs-buy calculation is real and the shift is durable. The McKinsey data is not hype. But the right frame is not "build is cheaper" - it is "build is faster to start and slower to own."

A few questions worth answering before skipping the next renewal:

  • Who owns the production system? An internal build needs an owner who is on call for it. Name that person before you cancel the SaaS contract.
  • What does the inference bill look like at full usage? Run the token math on a realistic monthly workload before the build, not after it's live.
  • Is the workflow stable? Agentic coding tools accelerate initial builds dramatically. They do not help if the underlying process changes every quarter and someone has to rebuild the tool each time.
  • What's the security surface? SaaS vendors absorb CVEs, supply chain patches, and SOC 2 audits. Internal builds hand those back to your team.

A teammate like Beagle can draft the structured comparison - pulling in the actual eng hours from your project tracker and the SaaS invoice from your finance channel - so the build-vs-buy conversation happens on real numbers rather than intuition.

Deciding whether to cancel a SaaS renewal
Without Beagle
someone pulls the invoice, someone else guesses at eng hours, the call happens in a meeting with no documentation
With Beagle
Beagle assembles the prior quarter's eng spend on internal tooling, the invoice amount, and incident count, then drafts a summary for the channel to approve before the decision call

Agentic coding build vs buy: common questions

What did McKinsey's 2026 State of AI survey actually find on build vs buy?

McKinsey published the 2026 edition of its State of AI survey on August 25, 2026. It found that nearly a third of respondents - 32% - report their organisations have decided against buying one or more software products or features because they could be built internally with agentic coding tools. The survey drew 1,719 responses across 97 countries.

Is the build-vs-buy shift creating real business impact?

Not yet, broadly. The share of respondents reporting individual productivity gains is 80%, but only 37% report any enterprise EBIT impact - flat versus last year's survey. The productivity benefit is real and personal; the profit impact is lagging. The gap likely reflects attribution delays, operating cost offsets, and maintenance load that eats back the savings.

Which industries are most likely to build instead of buy?

McKinsey's State of AI 2026 survey found that 32% of organisations, and 41% in tech, have stopped buying software and are building it in-house with AI coding agents.

Healthcare payers and providers sit at 39%.

Insurance and the public sector sit at 19% and 17% - sectors that buy audit evidence and liability, not code.

Does building with a coding agent save money over SaaS?

It saves on the license. It does not save on inference costs, maintenance, security patching, or the engineering time needed to own the system in production. One in five organisations is already limiting AI use because of operating costs , which suggests the token and compute bill is not negligible. Run the full TCO before cancelling a renewal.

Are smaller teams experiencing the same build-vs-buy shift?

No. Forty percent of large organisations (over $1 billion in revenue) report scaling AI agents, up from 27% last year, while the share from smaller organisations remained flat at 22%. The build shift is driven by large enterprises with engineering capacity to absorb the maintenance tail that internal builds create.

Or just watch me work

Point me at your website.

I will read up on your business and come back with what I would run for you. No account, no card, about a minute.

I only read what is public. Nothing is saved to your name until you say so.

Keep reading

Beagle does this work for you, in your Slack.1,000 free credits. No card.Hire Beagle