Pairs with the Moat Anatomy Canvas — a ready-to-use strategy tool. Included with a subscription, or $1.99.

In October 2016 a software company did something software companies almost never do: it sued the United States Army for the right to be considered. The Army had decided to build its own battlefield intelligence system from scratch rather than evaluate the commercial product sitting in front of it. So Palantir went to the U.S. Court of Federal Claims and won an injunction stopping the program cold, on the grounds that the Army had broken a 1994 procurement law by never bothering to check whether a commercial option existed.5 Two years later an appeals court agreed, finding the Army had acted 'arbitrarily and capriciously.'5 That lawsuit, not a line of code, is the most important thing ever built around this company.

The official story is that Palantir is a CIA-funded surveillance machine with the intelligence community as a captive customer. The real story is that the CIA's venture arm put in about $2 million, the agency reportedly tried to cancel its contract years later, and Palantir had to sue the Army just to be allowed to compete.6 Whatever protects this business, it was never a cozy spy-agency runway.

Palantir is the only AI company with a framework that organizes disparate datasets and facilitates optimized decision-making.7
MorningstarFrom its August 2025 equity analysis — which still rates the moat only 'narrow'

The CIA story is the cover, not the moat

Start by dismantling the founding myth, because it hides what's actually going on. Palantir was started in 2003 by Peter Thiel, Alex Karp, Joe Lonsdale, Stephen Cohen, and Nathan Gettings — five founders, none of them the CIA. Thiel personally bankrolled roughly $30 million; In-Q-Tel, the CIA's venture fund, came in for about $2 million and was declined a board seat.9 That is not a state-sponsored company. That is a private company that took a small validation check from a hard-to-impress first customer. And the relationship was pricklier than the legend admits: by some accounts the CIA grew frustrated enough with Palantir's publicity to threaten its contract. A captive customer does not threaten to walk. The 'spy origins' framing is romantic and it is misdirection — it points at the past while the real defenses got built somewhere else entirely.

A court ruling that turned procurement law into a moat

Here is the mechanism almost nobody names. In government, the deepest competitive barrier isn't your technology — it's whether the buyer is even legally permitted to bypass you. The Federal Acquisition Streamlining Act of 1994 instructs agencies to prefer commercially available items and to research the market before building bespoke systems. For years the Pentagon's default instinct was to fund a giant custom program anyway. Palantir's lawsuit converted that statutory preference into an enforced one: the courts told the Army it could not simply ignore a commercial product and reinvent the wheel on the taxpayer's dime.5 The effect is structural. Every defense program officer who now wants to build-from-scratch instead of buying a proven commercial tool inherits the memory of an agency that got enjoined and overruled for doing exactly that. Palantir didn't just win a contract. The logic of that ruling applies pressure — however unevenly — on every defense program officer who now wants to build-from-scratch instead of buying a proven commercial tool: they inherit the institutional memory of an agency that got enjoined and overruled for doing exactly that.

The popular storyThe record
Funding originFounded with CIA money~$2M from In-Q-Tel against ~$30M from Thiel
Government accessCaptive intelligence customerHad to sue the Army to be allowed to compete
The 2016/2018 rulingA contract winA precedent forcing commercial evaluation
The deepest barrierSurveillance technologySwitching costs + a juridical foothold
What the popular story says vs. what the record shows

Why pulling Palantir out is more expensive than keeping it

The court precedent gets Palantir in the door. The second layer is what keeps it there: the data-ontology problem. Palantir's core trick is organizing disparate, messy datasets into a single decision-making framework — the layer Morningstar singles out as the thing nobody else has assembled.7 Once an agency or a manufacturer has wired its scattered systems into that ontology, the software stops being a product you can swap and becomes the connective tissue of how the organization actually sees itself. Ripping it out doesn't mean buying a competitor's license; it means re-modeling years of operational reality from the ground up, with the lights on. That is why Morningstar bases its moat call on switching costs and intangible assets rather than network effects.7 The lock-in isn't that the software is irreplaceable. It's that replacement is economically irrational — the cheapest decision a customer can make is, almost always, to stay.

The moat is the cost of leaving, not the magic of the product

Most people grade a moat by how good the product is. That's the wrong instrument. A durable moat is measured by what it costs the customer to walk away — and for Palantir that bill comes in three currencies. Juridical: a buyer that ignores a proven commercial tool risks the precedent that overruled the Army. Operational: the ontology has absorbed so much of the customer's own data and process that rebuilding it elsewhere means re-mapping the business. Procedural: government contracts compound through certifications and entrenchment that a newcomer must earn from zero. None of those is 'better software.' All of them are exit costs. When you study a company, stop asking how good the product is and start asking what it would take to leave.

The AIP boom is real — and it's the least durable part

The commercial acceleration is genuine and it's spectacular on paper. Total revenue reached about $2.87 billion in FY2024 at an 80% gross margin, with the customer base jumping to 711 from 497 the year before.12 US commercial revenue grew 54% year over year in the third quarter of 2024 as Karp described 'unrelenting AI demand that won't slow down.'4 FY2025 revenue came in at $4,475.4 million — roughly $4.48 billion, up 56% year over year — per Palantir's Form 10-K filed with the SEC.10 But notice the irony: the fastest-growing, most-hyped part of the business — the AI platform riding the broader frenzy — is the part with the thinnest protection. Demand pulled in by a hot market can be pulled away by a cooler one or a sharper rival. The boom is the headline. The court order and the ontology are the foundation. Confuse the two and you've mispriced the company.

$1.57B
Government revenue in FY2024 — up 28% and still the larger segment. The narrative that government is shrinking as Palantir 'pivots' is simply false2

The honest objection: is this even a real moat?

The fair counter is that none of this is as solid as the bulls claim — and the strongest evidence comes from the people paid to be skeptical. Morningstar, after reviewing the same business, rates the moat 'narrow,' not wide.7 A court precedent forces evaluation; it does not guarantee the contract — the Army still has to choose Palantir, not merely consider it. Switching costs are real but finite, and a determined competitor with a credible ontology and a patient balance sheet can absorb a customer's migration pain to win share. And the government concentration that looks like strength is also a dependency: roughly half the revenue rides on one buyer with its own politics and budget cycles.28 All true. But narrow is not nonexistent. The thesis here isn't that Palantir is unassailable — it's that its protection is misidentified. People price the technology and the spy mystique. The thing actually holding the line is far less glamorous: a procurement statute with teeth, and the simple fact that leaving costs more than staying.

Strip away the cinematic origin and the AI gold rush, and what's left is quieter and sturdier than either. Palantir's deepest defense is not that the CIA built it — it didn't. It's not that the software is impossible to copy — Morningstar will tell you the moat is only narrow. It's that Palantir spent a lawsuit teaching the most powerful customer on earth that it cannot legally pretend Palantir doesn't exist, and then wired itself so deeply into its customers' data that leaving became the expensive option. The moat was never the magic. It was the exit cost — paid in court filings, in re-modeled databases, in the institutional memory of an Army that tried to build its own and got told to look at the market first.

Take it with you — The Moat Anatomy
Canvas

Moat Anatomy Canvas

A one-page canvas that dissects a moat instead of asserting it: where the advantage comes from, how much of the market it covers, how long it would take to copy, and what keeps it from eroding. Blank to dissect your own claimed edge; filled as the worked example tracing the structure of the story's defensible advantage. Use it to tell a real moat from a head start.

Blank template

Included with any subscription, or unlock this tool for $1.99. Get it → · See plans →

Sources

Where this comes from — the filings, records, and reporting behind it.

  1. 1
    Primary · SEC filingDocumented
    Palantir FY2024 total revenue was $2,865,507 thousand (~$2.87 billion), up from $2,225,012 thousand in FY2023; gross profit was $2,299,517 thousand (gross margin ~80.2%) in FY2024.
  2. 2
    Primary · SEC filingDocumented
    FY2024: Commercial revenue grew 29% to $1.30 billion; Government revenue grew 28% to $1.57 billion (54.78% of total revenue). Customer count reached 711, up from 497 in 2023. Total remaining deal value grew 40% YoY to $5.4 billion.
  3. 3
    Primary · SEC filingDocumented
    FY2023: Revenue grew 17% to $2.23 billion; US commercial revenue grew 36% to $457 million; Government revenue grew 14% to $1.2 billion; GAAP net income of $210 million (9% margin); adjusted free cash flow of $731 million (33% margin).
  4. 4
    Primary · SEC filingDocumented
    Q3 2024: US commercial revenue grew 54% YoY; US government revenue grew 40% YoY; total revenue grew 30% YoY to $726 million; GAAP net income of $144 million (20% margin); cash from operations $420 million (58% margin). CEO Karp quote: 'unrelenting AI demand that won't slow down.'
  5. 5
    Primary · Court recordDocumented
    In October 2016, the U.S. Court of Federal Claims ruled in favor of Palantir, issuing an injunction stopping the Army from proceeding with DCGS-A Increment 2 under a sole-source development contract. The Army's solicitation violated the Federal Acquisition Streamlining Act of 1994 by failing to conduct market research into commercially available items. In 2018 the U.S. Court of Appeals for the Federal Circuit upheld and affirmed, finding the Army acted 'arbitrarily and capriciously.'
  6. 6
    PublishedWidely reported
    Palantir was founded in 2003 by Peter Thiel, Stephen Cohen, Joe Lonsdale, Alex Karp, and Nathan Gettings. In 2004, Thiel bankrolled ~$30 million; CIA-affiliated venture capital firm In-Q-Tel invested about $2 million. Palantir declined to offer In-Q-Tel a board seat. In 2017 BuzzFeed reported the CIA tried to cancel Palantir's contract due to frustration over publicity.
  7. 7
    PublishedAttributed to source
    Morningstar rates Palantir's moat as 'narrow,' based on switching costs and intangible assets. Palantir is characterized as 'the only AI company with a framework that organizes disparate datasets and facilitates optimized decision-making.'
  8. 8
    PublishedWidely reported
    Palantir FY2025 revenue was $4.475 billion (+56.2% YoY); Commercial grew ~60% YoY; Government grew ~53% YoY. Government remained the largest segment at 53.68% of total revenue ($2.40B), with Commercial at 46.32% ($2.07B).
  9. 9
    PublishedWidely reported
    Thiel invested approximately $30 million (from his own pockets and his venture fund) in Palantir; In-Q-Tel invested about $2 million alongside that.
  10. 10
    Primary · SEC filingDocumented
    Palantir FY2025 total revenue was $4,475.4 million (~$4.48 billion), up 56% year-over-year; government revenue was 54% of total, commercial was 46%.