An essay on AI
Code Is No Longer a Moat. The New AI Moats Are Elsewhere.
For thirty years you could not throw money at a software lead. AI broke that rule. The new moats are supply chain, channel, data, and integration.
An essay on AI

Code Is No Longer a Moat. The New AI Moats Are Elsewhere.

For thirty years you could not throw money at a software lead. AI broke that rule. The new moats are supply chain, channel, data, and integration.

A pyramidal mountain rises from open moorland at dusk, its lower slopes washed in muted gold from a setting sun.

Artificial Intelligence (AI) just broke a rule that held software in place for thirty years. The rule was simple. You cannot throw money at a software lead. That rule is gone.

Short answer

If code is no longer a moat, where do the new AI moats actually live?

Code is no longer a moat. The new AI moats sit elsewhere in the stack. Data with a real cost to acquire. Distribution into a captive audience. A supply chain a competitor cannot rebuild in a year. The model is rented. Everything around the model can be owned.

The rule that held for thirty years just broke#

For thirty years, software ran on a single load-bearing rule. You could not throw money at a software lead.

Nine women cannot make a baby in a month. Sixty engineers cannot ship the same code as twenty in a third of the time. The work was sequential, the code was the work, and the work would not compress.

The rule held through every wave the technology era produced. The personal computer. The internet. Mobile. Cloud. Each wave changed the playing field. None of them broke the rule.

That rule broke in late 2022. With enough compute and enough data, money is now an answer to most technical problems. The capital race is real for the first time in the modern technology era.

The reader is one of three people. A founder building a company. An operator at an established firm. A young person trying to figure out what to learn for the next thirty working years. The broken rule means something different to each of the three, but it means something to all three.

The popular market has the right diagnosis and the wrong prognosis. The market saw the rule break. It then concluded the frontier labs would absorb the entire economy.

That conclusion is wrong like a screen door on a submarine. The rest of this post traces what happens, and where the new moats live.

Chart contrasting the pre-AI software era, when money could not buy a faster catch-up to a software lead, with the AI era, where compute and capital now close the gap on the same timescale
Source: For thirty years, money could not close a software lead. After 2022, compute and data made it possible.

The change is large. The downstream consequences are larger. The whole post is the consequences.

Code is no longer a moat. Neither is the user interface#

If you cannot throw money at a software lead, code is a moat. If you can, code is a catch-up problem. The user interface is a catch-up problem too.

Whatever a company sells, it is no longer the code. It is no longer the screens. The thing the customer pays for is downstream of the code, and the code is now the cheapest part of the stack.

Side-by-side comparison of the old moats list (code, user interface, feature parity) and the new moats list (data, channel, global supply chain, integration with customer systems)
Source: The old list ran on code and the user interface. The new list runs on data, channel, supply chain, and integration.

The new moats are on a short list. Data the competitor cannot legally collect. A channel relationship the customer signed years ago. A global supply chain built across two decades of contracts and on-the-ground negotiation. The integration work that ties software into the systems running a customer’s business, a job that takes a decade and breaks the first three vendors who try it.

The list is short on purpose. Each moat on the list is a thing money cannot make appear.

Look at the four moats one at a time. Data the competitor cannot collect is the customer’s behavior log built over years of paid interactions, locked behind contracts the new entrant cannot duplicate. Channel is the sales rep at the customer’s office who handled the contract three years ago and is on speed dial when something breaks at midnight in a hotel room two time zones away.

Supply chain is the contract with the airline that started in 2009 and renews every two years on a handshake at a hotel bar near the conference. Integration is the seven engineers on the customer’s tech team who know which custom field maps to which database column in a system the customer has been running since 2014.

Each is a year of relationship the competitor cannot fast-forward with capital. Each is paid for in time, not money.

Companies that bet their defensibility on code now have a choice. Find a different moat by building one of the four above, or be acquired by someone who has one. The companies that try to keep selling code as the moat will lose the room slowly, then all at once.

The old assumption pulled the rest of the playbook along with it like a thread that pulls a sweater apart. The pricing was tied to it. The board pitch was tied to it. The hiring was tied to it. The whole company shape was tied to it.

An asset that everyone can now produce is no longer an asset. That is the rule that just hit code. The next question is which of the company’s assets stays an asset when AI gets another generation better.

The honest answer is the asset that takes years of physical, relational, or contractual work to build. The honest answer is not the code.

Gold bricks everywhere. Nobody picks up the silver one#

The popular market has decided the frontier labs are about to one-shot every software-as-a-service company in the economy. Anyone who has operated such a company in the last decade knows the conclusion is wrong.

Take a single example. Business travel software.

To run business travel software, you need supply chain relationships with every major airline and every major hotel chain in the world. You cannot scrape the websites. They will send a cease and desist on a Monday and cut off the data feed by Friday. You sell into a role called the corporate travel manager, a job nobody at a frontier AI lab has ever met.

The lab will not build the supply chain. The lab will not learn the role. The margin in that work is in the single digits and the work itself is unglamorous in a way the lab’s incentives reject.

There are gold bricks everywhere. Nobody picks up the silver one. The labs go where the margin is. The unglamorous channel and supply chain work is protected by the unglamorous nature of the work itself.

This protection is not permanent. If the prize gets large enough, the labs will come. The defense is to keep building the work that takes decades, not weeks, to replicate. The supply chain. The integration. The customer relationship measured in product cycles rather than quarters.

The reader who runs a vertical software business already knows this in the gut. The post is permission to name it out loud. The new moats hold. The wall around them is the boring work nobody at the lab wants to do.

The diagnosis from the public market is correct on the rule. The prognosis on what the labs will do with the rule is the part most coverage gets backwards.

AI is electricity. Learn the tool#

The last move in the post is advice for a younger reader.

If you are nineteen or twenty this year, AI is electricity. A young person in 1900 who refused to learn electricity was choosing a smaller life. The choice was not catastrophic. It was just smaller, every year, for the rest of the career.

Learn AI as a tool set. Then pick a field you care about, and apply the tool. The tool stays in the kitchen drawer like a flashlight that gets used most months.

The default narrative is that AI is going to collapse employment. The data so far points the other way. Software engineering employment is growing, including inside the frontier labs themselves. The mass replacement story is louder than the numbers.

The most dangerous outcome is not that AI gets bigger than people expect. It is that the country gets scared, overreacts, and loses the race. The slow harm of bad policy beats the fast harm of fast software.

For the household with a kid choosing a major, the move is to encourage the field the kid loves and to add AI as a layer on top. The kid keeps the calling. The household adds the tool.

A young woman who loves architecture and learns AI is more powerful in five years than a young woman who just loves architecture. A young man who loves nursing and learns AI is more powerful in five years than a young man who just loves nursing. The tool plus the calling beats either alone. Always.

Code is no longer a moat. The user interface is no longer a moat. The moats are supply chain, channel, data, and integration.

If you are building a company, that list tells you what to invest in. If you are running one, that list tells you what to protect.

If you are buying a stock, that list tells you what to look for in the company. If you are nineteen, that list tells you what kind of field to learn around. Same list. Four readers. Four answers.

The rule that held for thirty years just broke. The moats moved. Code is no longer one. The new ones are supply chain, channel, data, and integration. The reader who can name which of those four sits under the company’s product is the reader who knows what to invest in this year and what to walk away from next.

Source

The argument draws on Ben Horowitz in conversation with Anj Madhushree at the AI Coachella event, Stanford University, 2025.

Questions readers ask

Six questions on this essay.

01 Why is code no longer a moat in the AI era?

Because the thirty-year rule that protected software just broke. You used to be unable to throw money at a software lead. Nine engineers could not write what twenty wrote, and twenty could not write what sixty wrote, in the same time window. That rule held through the personal computer wave, the internet wave, the mobile wave, and the cloud wave. AI broke it. With enough compute and enough data, capital now closes a software gap on the same timescale a smaller team built it on. Code became a catch-up problem rather than a barrier. The company whose defensibility lived in the code has a choice. Find a moat that does not live in the code, or be acquired by a company that has one.

02 What are the new moats in the AI era?

Four moats hold up. Data the competitor cannot legally collect. A channel relationship the customer signed years ago, with switching costs measured in product cycles. A global supply chain built across decades of contracts and on-the-ground negotiation. The integration work that ties software into the systems actually running the customer's business. Each moat shares one property: money cannot make it appear quickly. The supply chain relationship has to be earned over years. The integration work breaks the first three vendors who try it. The data took a decade of customer interactions to accumulate. The channel was paid for in trust the competitor cannot buy. These are the moats worth building around now, and the ones worth investing in if you hold equity in the companies that have them.

03 Will frontier AI labs replace all SaaS companies?

Not the way the public market thinks. The frontier labs are economic actors with their own margin structures and incentive systems. They are going after the highest-margin frontier work in the economy. Business travel software requires supply chain relationships with every airline and every hotel chain in the world, plus a sales motion into a role no one at a frontier lab has ever met. The lab will not build that. The lab will not learn that. The work itself is protected by being unglamorous. The vertical software businesses with real channel and supply chain assets have years of runway because the labs go to where the margin is, not to where the work is hardest. The protection is not permanent. The smart move is to keep building the work that takes decades to replicate.

04 What does it mean that AI is electricity?

It is a framing for the younger reader. A young person in 1900 who refused to learn electricity was choosing a smaller career for the rest of life. The choice was not catastrophic. It was just smaller, every year. AI is at that stage now. The right posture for the nineteen-year-old is to learn AI as a tool set, then pick a field of genuine interest and apply the tool inside that field. AI plus a calling beats either alone. The young architect who learns AI is more powerful in five years than the young architect who does not. The young nurse who learns AI is more powerful in five years than the young nurse who does not. The framing also helps the household at the kitchen table calibrate the major-choosing conversation. The major is the field. The layer on top is the tool.

05 What is the SaaSpocalypse and is it real?

The SaaSpocalypse is shorthand for the public-market thesis that frontier AI labs will replace every software-as-a-service company. The thesis is partially right and mostly wrong. The diagnosis is correct on the broken rule. Code stopped being a moat and the labs have enormous capital. The prognosis is wrong on what the labs will do with the new rule. The labs are going after frontier-margin work. They are not going to build the supply chain into every airline, nor learn the corporate travel manager role, nor handle the integration work for a thousand mid-market customers. The vertical software companies with real moats have years of runway. The companies whose defensibility was code only, with no supply chain or channel or integration, are the real targets. The market is sorting these two cohorts slowly.

06 What should a young person learn about AI in 2026?

Learn AI as a tool set. The tool is a new utility, the way electricity was a new utility in 1900. Then pick a field of real interest and apply the tool to that field. The combination is the move. The mistake is treating AI as the career itself. AI is not the career. The career is the architecture, the medicine, the law, the teaching, the nursing, the building, the writing, the field the young person actually cares about. AI is the layer that makes the work in that field more powerful. The young woman who loves architecture and learns AI is more powerful in five years than the young woman who only loves architecture. The young man who loves nursing and learns AI is more powerful in five years than the young man who only loves nursing. The tool plus the calling beats either alone.

About the author
Hanh D. Brown, writer.

Essayist writing on craft, voice, aging, and what gets harder to say with the years. Twenty years building AI systems for life-stage decisions. Now writing the publication that has the time to ask why.

Read more