# Moats When Building Is Cheap by [kirupa](https://www.kirupa.com/me/index.htm) | filed under [Strategy, Law & Ethics](https://www.kirupa.com/strategy_law_and_ethics/index.htm) **TL;DR:** When anyone with a coding agent can rebuild your features over a weekend, what protects a product is whatever still makes copying it expensive, like the water-filled ditch around a castle. That's called a moat. Code isn't one anymore. Counter-positioning, branding, cornered resources, and process power still hold, and switching costs only leak a little. - Hamilton Helmer's *7 Powers* says a lasting advantage needs a benefit that makes the business better and a barrier that stops competitors from taking that benefit away. - Code and features dry up first. A coding agent can rebuild them over a weekend, and it also shrinks the up-front cost that scale economies used to spread out. - Counter-positioning still holds. A big platform that takes a cut of every order can't match a flat $49 price without hurting its own business. - Score your product 0, 1, or 2 on each power with one line of evidence, cross out anything that's really about code, and pick one moat to dig this quarter. In May 2023, a document written by a researcher inside Google leaked onto a public Discord server, and the newsletter SemiAnalysis published it. Its argument was pretty blunt. Free, open AI models were catching up so quickly that Google had nothing protecting its lead, and neither did OpenAI. If that worried two of the biggest AI companies around, imagine how it feels for a small team like ours, where anyone with a coding agent can rebuild what we made in a few days. In this article, we are going to figure out what still protects a product when anyone can build anything. Onwards! ## Rebuilt Over a Weekend Let's bring this closer to home and pretend we're on the Biscuit team at Crumb & Co. Biscuit is our help desk bot, and Wren, our web developer, built it with a coding agent to answer the questions customers ask after we close and nobody can pick up the phone. Here is where Biscuit runs today: [![Biscuit, the cookie-shaped help desk bot, sits in the middle. A solid line connects it to the 8 shops it already runs for on the left: Crumb & Co.'s 2 shops and Rolling Pin's 6. A dashed line connects it to the 5 outside bakeries from last year's trial on the right: Sourdough Syndicate, Proof Positive, Loaf Story, Butter Half, and Second Rise. Otis runs Sourdough Syndicate, and Hattie runs Second Rise.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_biscuit_today.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_biscuit_today.png?v=936feceb780c) Biscuit works for our 8 shops and for five outside bakeries from a trial, like Otis's Sourdough Syndicate and Hattie's Second Rise. Other owners keep asking for a Biscuit of their own, so we are deciding whether to sell **Biscuit for Bakeries** to a lot more shops for $49 a month per shop. A few weeks ago, Otis (who owns more gadgets than baking pans) sent Wren the chat add-on from a big restaurant ordering platform and asked, "Can Biscuit do this?" Wren got curious and rebuilt that chat add-on over one weekend, using the same coding agent: [![On the left, the chat add-on from a big restaurant ordering platform. In the middle, Wren and a coding agent spend a Saturday and a Sunday on it. On the right, Wren's copy answers the same question the same way. A callout on the copy says: built in a weekend!](https://www.kirupa.com/strategy_law_and_ethics/images/moats_weekend.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_weekend.png?v=d5334869581c) Wren's copy answered the same questions the same way, right down to the little typing dots. By Monday morning, Wren realized the same trick works in the other direction: [![Biscuit sits at the top. One arrow leaves it and splits three ways to three lookalike copies below, each tagged weekend copy: one built by the big ordering platform, one built with a do-it-yourself chatbot builder, and one built by Otis with a coding agent of his own.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_copies.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_copies.png?v=f3c4b3221ee5) If Wren can rebuild a rival's bot over a weekend, the ordering platform can rebuild our Biscuit too, and so can anyone with a do-it-yourself chatbot builder, or Otis with his own coding agent. So, what is going to protect Biscuit for Bakeries? ## What Is a Moat? One of the oldest answers to that question involves a castle. Many castles had a deep ditch filled with water running all the way around them: [![A castle sits on a green island, and a wide ring of water surrounds the island. On the far bank, someone who wants in stands holding a ladder, and a crocodile swims in the water. A callout points at the water: expensive to cross!](https://www.kirupa.com/strategy_law_and_ethics/images/moats_castle.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_castle.png?v=562f9d853843) The water doesn't make life inside the castle any nicer. What it does is make attacking expensive, because anyone who wants in has to wade, swim, or build a bridge first (with a crocodile watching). That water-filled ditch is called a **moat**. Warren Buffett is the person who made the word popular in business. In his [2007 letter to Berkshire Hathaway shareholders](https://www.berkshirehathaway.com/letters/2007ltr.pdf), he wrote: > A truly great business must have an enduring "moat" that protects excellent returns on invested capital. The dynamics of capitalism guarantee that competitors will repeatedly assault any business "castle" that is earning high returns. For us, a moat is whatever will make it expensive for someone to copy Biscuit for Bakeries and take our customers. Now the leaked memo's title makes sense. It was called [We Have No Moat, And Neither Does OpenAI](https://newsletter.semianalysis.com/p/google-we-have-no-moat-and-neither), and it says open-source projects were doing things with $100 and a 13B-parameter model (a much smaller one) that Google struggled with at $10 million and 540B parameters: [![The leaked memo's comparison. On the left, Google: a tall stack of cash labeled $10M and a 540B-parameter model. On the right, open-source projects: a single coin labeled $100 and a 13B-parameter model, doing things Google struggled with. A callout on the coin says 100,000 times less.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_memo_costs.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_memo_costs.png?v=9f7d7f347618) That's 100,000 times less money, and the memo's author summed up the shift like this: > The barrier to entry for training and experimentation has dropped from the total output of a major research organization to one person, an evening, and a beefy laptop. That was one Google researcher's opinion, and SemiAnalysis said up front that it didn't agree with it. Still, it is the same worry Wren had on Monday. When building gets cheap, building something first stops protecting us, and models anyone can download make "our AI is better" hard to keep (see [What Open Means in AI Models](https://www.kirupa.com/ai_fundamentals/what_open_means_in_ai_models.htm)). ## What Counts as a Real Moat? Hamilton Helmer, a strategy consultant and investor who taught strategy at Stanford for a decade, has one of the most useful lists of what moats are made of. In his book *7 Powers: The Foundations of Business Strategy*, he calls a lasting advantage **power**, and power needs two things at once: - A **benefit** is something that makes our business better, like lower costs or customers who happily pay more. - A **barrier** is something that stops competitors from taking that benefit away. On the [Acquired podcast](https://www.acquired.fm/episodes/7-powers-with-hamilton-helmer), Helmer explained that smart competitors will notice what we're doing and try to take it from us. As he put it: > You have to have something that will prevent that from happening, even if they're motivated and capable. Here is what that looks like with our castle: [![Three small scenes. Benefit only: a castle on open grass, and a coding agent robot walks right up to it. Barrier only: a ring of water around an empty patch of grass with nothing worth protecting. Benefit and barrier: a castle with a ring of water around it, which is what Helmer calls power.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_benefit_barrier.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_benefit_barrier.png?v=bb6a8bf76894) The castle on the left is worth having, but a coding agent can walk right up to it. The moat in the middle protects an empty patch of grass. Only the castle on the right has both. Our Biscuit already has a benefit, since bakeries stop losing orders after closing. What we will need to find out is whether it has a barrier. Helmer's list has seven kinds of power, and each one is a different kind of moat: [![Hamilton Helmer's seven powers, each with an icon and a plain description. Scale Economies: getting bigger makes each one cheaper. Network Economies: each customer makes it better for others. Counter-Positioning: copying us would hurt their business. Switching Costs: leaving us costs customers too much. Branding: people pay more for a name they trust. Cornered Resource: something valuable nobody else can get. Process Power: a way of working that takes years to copy.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_seven_powers.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_seven_powers.png?v=42e20852b774) We are going to walk through all seven with Biscuit, grouped by what cheap building does to them, starting with a moat that isn't on Helmer's list. ## What Dries Up First? That first moat is our code, along with all of the features it adds up to. A team that spent two years building something used to get about a two-year head start, and coding agents are shrinking that head start to a weekend. Here is our castle again, with its moat made of code: [![The same castle and island, but the moat is now dry, cracked mud labeled our code and features. The sun beats down, the crocodile sits on the dry mud, and a coding agent robot strolls across the moat toward the castle. A callout points at the mud: dried up!](https://www.kirupa.com/strategy_law_and_ethics/images/moats_code_dries.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_code_dries.png?v=ce25ab8c680f) Our coding agent strolls right across. Being good at building still matters, but it is not a barrier anymore, because the time and money that made our code hard to copy are mostly gone. Buffett wrote in that same letter that "a moat that must be continuously rebuilt will eventually be no moat at all." A team that only competes on features ends up like the king of Swamp Castle in *Monty Python and the Holy Grail*, building castle after castle as each one sinks into the swamp. ### Scale Economies **Scale economies** show up when getting bigger makes each unit cheaper. One of Helmer's examples is Netflix, which pays for a show once and spreads that cost across more and more subscribers. Our big up-front cost is building Biscuit's setup and ready-made answers, so let's split that cost across the shops that use it: [![The cost of building Biscuit's setup and ready-made answers, drawn as a pie. Split across a handful of shops, each shop's slice is big. Split across hundreds of shops, each slice is a sliver. On the right, a rival with a coding agent rebuilds the same thing for the cost of a cupcake.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_scale_pie.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_scale_pie.png?v=1e3249dc3fb1) The more shops share our pie, the thinner each slice gets. Two things will get in our way, though. A big part of our running cost is the AI model we rent (see [Build vs. Buy vs. Partner](https://www.kirupa.com/strategy_law_and_ethics/build_buy_partner.htm)) at about 2 cents a chat, and every new bakery brings its own chats. A coding agent also shrinks the whole pie to a cupcake, so a small rival never has a big slice to pay for. ### Switching Costs **Switching costs** are whatever a customer would lose by leaving us, like all of the automatic payments that keep a lot of us at the same bank. Hattie has used Biscuit at Second Rise since our trial. Here is what lives inside her Biscuit, and what it would take to move each piece: [![Three things live in Biscuit for Hattie's bakery, Second Rise. Her menu and hours move in one 20-minute setup call, because a rival can read them from her website too. The answers she has tweaked are months of work, and her customers' order history is months of orders. A moving truck waits to carry them to a rival's bot.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_switching.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_switching.png?v=5ef2ffe88ce0) Her menu and hours move with one 20-minute setup call. We read them from her website, and the strategy we wrote in [What Strategy Actually Is](https://www.kirupa.com/strategy_law_and_ethics/what_strategy_is.htm) keeps setup that short on purpose, so a rival can do the same. Her tweaked answers and her customers' order history are a lot harder to move. This moat leaks as well. Helmer points out that competitors fight switching costs by making switching easier, and with a coding agent, a rival can build an "import from Biscuit" button in an afternoon. He also notes that switching costs create "a win-lose situation" with customers. We want Hattie to stay because her Biscuit keeps getting better, so hiding the export button is off the table. ## What Still Holds? None of the remaining barriers is made of code, so a coding agent can't drain them. ### Counter-Positioning **Counter-positioning** happens when a newcomer picks a way of doing business that a big competitor could copy, except copying it would hurt the competitor's existing business. One of Helmer's examples is Netflix skipping late fees. As he told Acquired, late fees accounted for half of Blockbuster's income. Our version is the big ordering platform from earlier, which takes a cut of every order, up against our flat price: [![On the left, the big ordering platform: three bakery orders each send a coin to the platform, because it takes a cut of every order. A callout on the coins says: hard to give up! On the right, Biscuit charges one flat price, $49 a month per shop, the same for 10 orders or 1,000.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_counter.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_counter.png?v=279e3d398b89) The platform could build a bot as good as Biscuit by Monday. If it switched to $49 a month per shop, though, every busy bakery on it would suddenly pay it less. Its own business is the barrier, and cheap building does not touch that. This only works while the platform cares, though, and it won't stop Otis from building his own bot. ([Competitive Analysis Without Copying](https://www.kirupa.com/strategy_law_and_ethics/competitive_analysis.htm) covers picking where to stand.) ### Branding **Branding** is when people pay more for something because of who makes it, even when a rival's version is identical. When there are a hundred lookalike bakery bots, a baker picking one is going to ask other bakers: [![Two identical cookie-shaped bots built from the same code. Three bakery owners gather around the one on the left, and one of them says: the one Crumb & Co. uses! The identical copy on the right has nobody around it except a cricket.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_branding.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_branding.png?v=6a29d7a53568) Other owners already ask for Biscuit because they've seen it working at Crumb & Co. Cheap building makes this moat deeper, because more copies make a trusted name worth more. The catch is time. Trust takes years to build, and one bad week (say, Biscuit telling a customer the croissants are vegan when they aren't) can drain a lot of it. ### Cornered Resource A **cornered resource** is something valuable we have that others can't get, like a patent or a team nobody else can hire (one of the examples in Helmer's book is Pixar's early team). What does Biscuit have that nobody else can get? We have our 8 shops to test every change on, and an owner who bakes sourdough before sunrise: [![On the left, what Biscuit has: our 8 shops to test every change on, and an owner who bakes sourdough before sunrise. An open padlock sits on the corner of that group, labeled nothing locked away. On the right, a rival with a coding agent can find bakeries to test with too.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_cornered.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_cornered.png?v=eb96f9f596b3) Those help a lot...until a rival finds bakeries to test with too, and it turns out plenty of bakers know baking. Nothing here is locked away, so we'll leave this moat empty for now. ### Process Power **Process power** is a way of working that a company has practiced for so long that rivals can't copy it, even when they can see it. Biscuit has the start of one, a weekly routine that looks like this: [![A loop of four steps that repeats every week: questions Biscuit couldn't answer, the team writes new answers, every bakery gets them, and fewer questions go unanswered. Then the loop starts again with next week's questions.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_process.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_process.png?v=5cd8e5884f59) Wren's team reads the questions Biscuit couldn't answer at all of our bakeries and writes answers for the ones that keep coming up. A coding agent can copy the code that sends those answers out, but it can't copy a team that has done this every week for years. We've been at it for less than a year, so ours is still a seed. ### Network Economies **Network economies** show up when each new customer makes a product better for everyone else, the way a phone gets more useful as more of our friends own one. Does Hattie's Biscuit get better when Otis signs up? Not really: [![Hattie's Second Rise and Otis's Sourdough Syndicate each have their own crowd of customers, connected to their own bakery. Nothing connects the two crowds, so a new bakery joining Biscuit doesn't make it better for the customers of the others.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_network.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_network.png?v=d6542545de69) Second Rise's customers do not care who else uses Biscuit. Network effects are a big topic of their own ([Platform vs. Product Thinking](https://www.kirupa.com/product_thinking/platform_thinking.htm) covers the chicken-and-egg problem behind them), and when a product has them, a weekend copy doesn't come with its customers. Let's put all eight moats around our castle and see which ones cheap building drains: [![The castle again, with its moat split into eight stretches, one for code and features and one for each of the seven powers. Under the sun: Code and features: dry, Scale Economies: low, Switching Costs: half full, Network Economies: full, Process Power: full, Cornered Resource: full, Branding: full, Counter-Positioning: full. The stretches made of incentives, trust, scarce things, habits, and other people are still full of water.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_drying.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_drying.png?v=9394f3d52042) Code is bone dry, scale economies are down to a puddle, and switching costs are half full. The moats made of incentives, trust, scarce things, habits, and other people still hold water. That's moats in general, though, so let's score how much water Biscuit really has. ## Try It: Score Your Product on the Seven Powers Here is Biscuit's scorecard, with a **0** (nothing yet), **1** (a real but small or untested seed), or **2** (a weekend copy couldn't get past it) for each power: [![Biscuit for Bakeries scored on the seven powers, 0, 1, or 2 water drops each, with one line of evidence. Scale Economies: 0, A handful of shops, and we pay for the AI model by the chat; Network Economies: 0, Hattie's customers don't care whether Otis uses Biscuit; Counter-Positioning: 1, Matching our $49 would cost the platform its cut of every order; Switching Costs: 1, Months of answers and orders, but menus move in one 20-minute call; Branding: 1, Other bakery owners keep asking for a Biscuit of their own; Cornered Resource: 0, Our 8 test shops help, but nothing is locked away; Process Power: 1, A weekly answer routine that's less than a year old. The total is 4 out of 14, with no 2s at all.](https://www.kirupa.com/strategy_law_and_ethics/images/moats_scorecard.png)](https://www.kirupa.com/strategy_law_and_ethics/images/moats_scorecard.png?v=793ed155c022) Biscuit scores **4** out of 14, with no 2s. That's low, but it's honest, and it tells us where to dig. If it were up to me, we would keep our flat $49 price even when per-order pricing looks tempting, and we would never skip a week of our answer routine. Now it's your turn. For a product you're working on this week: 1. Write the seven powers down a page, and give each one a 0, 1, or 2. 2. Next to every score, write one line of evidence a skeptical friend could check. 3. Cross out any evidence that's really about code or features (a weekend copy gets those too), and rescore. 4. Circle the one power you'll dig into this quarter, and write down your first step. ## Frequently Asked Questions **What Is a Moat in Business?** A moat is whatever makes it expensive for competitors to copy a business and take its customers, like the water-filled ditch around a castle. Warren Buffett made the word popular, writing in his 2007 letter to Berkshire Hathaway shareholders that a truly great business must have an enduring moat. When building is cheap, that moat has to be made of something other than code. **What Are Hamilton Helmer’s 7 Powers?** They’re Scale Economies, Network Economies, Counter-Positioning, Switching Costs, Branding, Cornered Resource, and Process Power. Each one is a different kind of moat. Helmer says power needs two things at once: a benefit that makes the business better and a barrier that stops competitors from taking that benefit away. **Is Technology a Moat Anymore?** Not on its own. When a coding agent can rebuild features over a weekend, code and features are the first moat to dry up, and models anyone can download make a better AI model hard to keep as an edge. What still protects a product is made of incentives, trust, scarce things, habits, and other people. **What Is Counter-Positioning?** Counter-positioning is when a newcomer picks a way of doing business that a big competitor could copy, except copying it would hurt the competitor’s existing business. One of Helmer’s examples is Netflix skipping late fees when late fees accounted for half of Blockbuster’s income. A flat monthly price against a platform that takes a cut of every order works the same way. ## Conclusion Ok! It is time to wrap things up. A moat is whatever makes copying us expensive, and when a coding agent can rebuild our features over a weekend, our code stops being one. Helmer's seven powers show us what's left, which is the moats made of incentives, trust, scarce things, and habits. A scorecard won't do the digging for us, though. Our 1s might be wishful thinking, branding and process power take years, and no moat can save a product nobody wants. Still, scoring ourselves beats finding out on a Monday morning the way Wren did. And if you ever end up with a moat full of water, maybe go easy on the crocodiles. Before you go, here are a few things you can do: 1. Read the next article in the series, [Competitive Analysis Without Copying](https://www.kirupa.com/strategy_law_and_ethics/competitive_analysis.htm), or check out some related content: - [What Strategy Actually Is](https://www.kirupa.com/strategy_law_and_ethics/what_strategy_is.htm). The diagnosis, guiding policy, and coherent actions behind Biscuit for Bakeries. - [Platform vs. Product Thinking: When to Build for Builders](https://www.kirupa.com/product_thinking/platform_thinking.htm). When to open a product to other builders, and the chicken-and-egg problem. - [What Does Open Mean in Open AI Models?](https://www.kirupa.com/ai_fundamentals/what_open_means_in_ai_models.htm). What open weights are, and why models anyone can download change the AI race. 2. Stuck on something, or curious about a detail we skipped? [Ask on the forums](https://forum.kirupa.com/), and we’ll help you out. ## Test your knowledge! [Take the Moats When Building Is Cheap Quiz](https://www.kirupa.com/quizzes/moats.htm). Practice with 5 multiple-choice questions and an explanation after every answer.