Trend

Coding agents and the build-versus-buy shift

A third of McKinsey respondents skipped a software purchase because coding agents let them build in-house. The cost side of that decision is changing.

By iFortis Worldwide ResearchPublished Updated 3 min read

On this page

SummaryCoding agents are tilting some build-versus-buy decisions towards building. McKinsey reports that 32 percent of respondents skipped buying at least one software product or feature because agentic coding tools let them build it in-house. Gartner warns that token costs could exceed an average developer salary by 2028.

An old rule under pressure

For two decades the default advice was to buy standard software and build only what makes you different. The reasoning was cost. Custom software was slow to write and expensive to maintain. Coding agents change the first half of that sum. They do not yet change the second.

What the survey shows

The McKinsey state of AI survey for 2026 asked about this directly. Some 32 percent of respondents say their organisation skipped buying at least one software product or feature because agentic coding tools allowed them to build it in-house. Among the AI high performers in the sample, nearly half had done so, against 31 percent of the rest.

Adoption of the tools themselves is uneven. About one in five respondents report scaling software coding agents across the enterprise. Among organisations with more than one billion dollars in revenue the figure is 31 percent.

The bill is arriving

Building is cheaper to start and not free to run. Gartner predicts that by 2028 AI coding costs will exceed the salary of an average developer, as token consumption rises and vendors move from seat-based to consumption-based pricing. It lists the causes: agents given autonomy without limits, bloated context windows, opaque billing, and developers who favour speed over cost.

McKinsey sees the same pressure from the other side. Its high performers are about three times as likely as others to say cost constrains their use of coding agents. The organisations using the tools most are the first to hit the limit.

What building now really costs

  • Writing the code. Much cheaper than it was.
  • Running the agents. A variable cost that grows with autonomy and context size.
  • Review. Someone must still read, test and accept what was generated.
  • Maintenance. Every internal system needs patching, upgrades and an owner for years.
  • Security and compliance. Internal software carries the same obligations as bought software, with no vendor to share them.

When building makes sense

Building is attractive when the need is narrow, the vendor product is mostly unused, the logic is specific to your business, or the integration work would be done either way. A feature that a team needs from a large suite, at the price of the whole suite, is the classic case.

Buying still wins for systems of record, for anything with heavy regulatory content that a vendor maintains, and wherever the value lies in a network or data set you cannot reproduce.

Controls that keep the saving real

Gartner recommends a set of disciplines for engineering leaders that are worth adopting whole.

  • Classify tasks as developer-led, developer with agent, or fully agent-led, and set autonomy to match.
  • Route simple, frequent tasks to smaller models and keep frontier models for hard problems.
  • Teach context discipline: include only what is relevant, summarise, remove the rest.
  • Set token thresholds and escalation rules, with automated monitoring.
  • Review the heaviest workflows in sprint retrospectives.

A decision frame for the next purchase

Before the next renewal, ask three things. How much of this product do we use? What would it cost to build and to own the part we use for five years, including agent running costs and review? Who would be accountable for it? If the answers favour building, treat the result as a product with an owner, tests and observability, not as a script. Our approach to the agentic software lifecycle and modernisation follows the same rule: agents write more of the code, and people remain answerable for it.

All insights RSS feed

Tell us the outcome you need

The first meeting is a working session about your situation, with an engagement lead, not a sales call.

Contact us Submit an RFQ