On December 1, 2026, Warren Buffett died at 96 [19]. Most obituaries covered the money. He built Berkshire Hathaway over six decades and left 99% of his wealth to charity [8].

I'm more interested in how he thought, because his mental operating system is the best antidote I know to the AI hype cycle. If you ship code, you're living in that cycle.

The man who said "I don't understand it"

At Berkshire's 2024 shareholder meeting, he said AI has "enormous potential for good and enormous potential for harm" and that he didn't know how it plays out [17]. He compared it to nuclear weapons, because the technology can't be un-invented and bad actors can use it [17].

He had also seen an AI-generated version of himself, with his voice and mannerisms. He joked that fraud could become the growth industry of all time [14].

In our industry, "I don't fully understand this" gets you ignored. In his, it was a strategy. Here are the seven ideas behind it, translated for engineers.

1. Circle of competence = know your stack's edges

Buffett's rule was to own only what you can explain in plain words. The edge of your circle matters more than its size [26].

For developers:

  • Don't put an LLM in a critical path you can't debug.
  • Don't adopt a framework because a thread went viral.
  • Know where your understanding ends, and label it.

His version of the test: can you judge this thing's economics a decade out? [29] Ours is: can I debug this at 3 a.m.?

2. Margin of safety = build for being wrong

He bought only when the price sat well below his estimate of value. The gap protects you when your forecasts fail, as some always do [26]. Charlie Munger framed this as an engineering idea: redundancy and room for error [24].

In practice, that means:

  • Human review on AI-generated code, tests as the safety net, and feature flags.
  • Fallbacks when a model API is slow, wrong, or gone.
  • Treating model output as untrusted input.

3. Mr. Market = ignore the hype feed

Benjamin Graham's "Mr. Market" is a moody partner who quotes a price every day. You're free to decline [23]. Tech Twitter is Mr. Market. Each week it announces that a new tool has made everything obsolete.

You don't have to trade on his mood.

4. Moats beat features

Buffett looked for durable advantages: pricing power, strong cash flow, and resilience across cycles [30]. Even with Apple, the moat was the ecosystem and customer retention, not device specs [29].

Ask the same question about your product. If a foundation-model update can erase your differentiator, you have a feature, not a moat. Moats look more like proprietary data, workflow lock-in, trust, and distribution.

5. Inversion = ask how it fails

Munger's inversion says to ask what would guarantee failure, then avoid it [21][28].

Before you ship an AI feature, run a pre-mortem:

  • What if it hallucinates in front of our biggest customer?
  • What if someone clones our CEO's voice?
  • What if costs triple?

Buffett did this on AI: first the downside (fraud, irreversibility), then the upside.

6. Watch the capex, not just the demo

In July he said big tech now has little choice but to spend heavily on AI, which departs from its historically capital-light model [17]. He quoted "hundreds of billions" in spending as the real game now [4].

The developer version is inference cost. A demo that works isn't a business that works. Track cost per request, margins, and vendor dependence.

7. Don't be dogmatic

Here's the plot twist. The man who shunned most tech admitted he regretted not investing in Alphabet sooner [4]. He said in July that he had broken his own pattern [30].

Circle of competence isn't a wall. It's a boundary you expand deliberately, by learning. His successor Greg Abel reportedly defines that circle more broadly [22]. That's a commentator's reading, not an official statement.

The line I keep coming back to

In 2023 Buffett said AI can change everything in the world except how people think and behave [17].

Greed, fear, and the urge to believe a good story won't be patched out by a model release. Your job as a developer is to build for the humans, not just for the benchmark.

A checklist for your next AI decision

  • [ ] Can I explain it in plain words?
  • [ ] Is it inside my circle, or am I deliberately expanding it?
  • [ ] What's my margin of safety if it's wrong?
  • [ ] What's the moat?
  • [ ] How does this fail, and who gets hurt?
  • [ ] What does it cost at scale?
  • [ ] Am I reacting to Mr. Market?

Legacy

Buffett never wrote a line of production code. But his most durable lesson may be this: in a field obsessed with making machines smarter, being honest about what you don't know is a competitive advantage.

His last public messages returned to kindness [15]. It's a good reminder for those of us building systems that will touch real people.

*What's one AI decision you made recently that would fail the checklist? Tell me in the comments.

Author: Seyed Alireza Alhosseini Almodarresieh
my site: https://almodarresieh.github.io/