← All posts

A tale of two kinds of software

Imagine you are using a weather app on your phone. You tap the icon, and it takes an extra half-second to load. Annoying? Sure. Dangerous? Not at all. The app eventually shows you tomorrow’s forecast, you grab an umbrella, and you move on with your day.

Now imagine a different piece of software. This one controls the cooling system inside a nuclear reactor. If a single number in the code is wrong — a temperature threshold set ten degrees too high, a valve timing off by one second — the consequences are not “annoying.” They can be catastrophic. Every line of that code must be exactly right.

These are two fundamentally different worlds. The weather app lives in a high-fault-tolerant world: small mistakes are absorbed, patched, forgiven. The reactor software lives in a low-fault-tolerant world: small mistakes can cascade into disasters.

Most of the AI coding you hear about today — autocomplete suggestions, chatbot-generated scripts, AI-built websites — lives comfortably in the first world. And it does a good job there. But the second world? The one where a misplaced decimal point can cost lives or billions of dollars? AI is barely getting started.

That second world is where PrinciplePhysics works. And this post is about why we believe it is the most important frontier in AI.

• • •

How big is “real” software?

Before we talk about AI, let’s talk about scale. Most people — even many programmers — underestimate how enormous the software behind everyday life really is. Here are some real numbers:

Now zoom out further. Google’s entire codebase — the software behind Search, Maps, Gmail, YouTube, and everything else — is estimated at over 2 billion lines. Not all of it is low-fault-tolerant, but large portions of it are: the ad billing system, the security infrastructure, the core search ranking.

The pattern is clear: the software that runs the real world is enormous, and the parts that absolutely cannot be wrong are growing the fastest.

Space Shuttle
400K
MRI Scanner
~10M
Boeing 787
14M
Linux Kernel
30M
Modern Car
100M
Large Bank
~200M
Google (all)
2B+

Lines of code in real-world systems. Much of this code is low-fault-tolerant.

• • •

Where AI stands today

Now let’s bring AI into the picture. In 2026, the most powerful coding AI models in the world are GPT-5.4 and Claude Opus 4.6. They are extraordinary tools. They can explain algorithms, generate working programs, debug tricky issues, and write clean code across dozens of programming languages.

But here is the catch: when the code must be exactly right — when there is no room for a wrong sign, a misplaced index, or a silently incorrect formula — these models top out at roughly 10,000 lines.

What does 10,000 lines look like in practice? It is enough to:

These are real accomplishments. Five years ago, no AI could do any of them reliably. But 10,000 lines is still a tiny island in a vast ocean. Compare it to the numbers above: a car has 10,000 times more code. A single bank has 20,000 times more.

The gap in one sentence:

The best AI in the world can write about 10,000 lines of code that cannot be wrong. The real world runs on systems of 10 million to 2 billion lines that cannot be wrong. That is a factor of 1,000 to 200,000.

And it is not just about “writing more lines.” As a codebase grows, the number of ways things can go wrong grows even faster. At 10,000 lines, an AI can hold the whole program in its head. At 1 million lines, it must reason about code it wrote last week, code written by other AI agents, and code that interacts with the outside world in ways that are hard to predict. At 100 million lines, even the concept of “holding the program in your head” no longer applies to anyone — human or machine.

• • •

Why the gap matters

You might ask: does it really matter? If humans wrote all this software before AI existed, can’t they just keep writing it?

The short answer is: barely, and the situation is getting worse.

Software is growing faster than people. The amount of code the world depends on doubles roughly every few years. The number of qualified software engineers does not. We are already in a world where critical code ships with bugs because there simply are not enough human eyes to review it all.

Think about what this means in practice:

These are not hypothetical risks. They have already happened. And the systems involved were far smaller than what we are building today. If human teams cannot keep up with the complexity of critical software at current scale, what happens when that scale doubles again?

We need AI that can help write and verify this code — not just the easy kind, but the kind that absolutely cannot be wrong.

• • •

Our vision: one billion lines

This is where PrinciplePhysics comes in.

Our goal is to build AI systems — we call them AI complexes — that can write, verify, and maintain low-fault-tolerant code at the scale of one billion lines.

Not 10,000. Not a million. One billion.

That number is not arbitrary. It is the scale at which AI becomes capable of building and maintaining the full software systems that the real world actually depends on — the reactor controls, the flight systems, the trading platforms, the power grids, the medical devices.

An AI complex is not a single chatbot. It is a coordinated system of multiple AI agents, each with a specific role:

Think of it like a well-run engineering team, except every member is an AI, and they can work on a thousand files in parallel without getting tired or distracted.

• • •

Why we start with physics

If our goal is to build AI that writes trustworthy code for cars, banks, and hospitals, why do we start with nuclear physics?

Because physics gives us something no other field does: an objective judge.

When an AI writes code that simulates how an atomic nucleus behaves, we can check the answer against nature. Not against another piece of software. Not against a human opinion. Against the actual measurements that physicists have made in laboratories over the past century. The universe does not grade on a curve.

This matters because the hardest part of building trustworthy AI is not making it write code. It is knowing whether the code is right. In most software domains, “right” is fuzzy — does the user like it? Does it pass the tests someone wrote? In physics, “right” is a number that either matches the measurement or does not.

That clarity is a gift. It lets us build verification methods — ways to automatically check whether AI-generated code is correct — and actually measure how well they work. Once those methods are proven in physics, they travel. Dimensional analysis works in physics, but the same principle (do the units of this calculation make sense?) applies to financial models, engineering simulations, and drug dosage calculations.

We do not start with physics because it is the only thing that matters. We start with physics because it is the only place where we can measure, with certainty, whether our AI is telling the truth.
• • •

The road from 10,000 to 1,000,000,000

Going from 10,000 lines to one billion is not about making the AI “bigger.” A model with more parameters will not automatically write more correct code. The challenge is architectural — how do you organize an AI system so that correctness scales?

Here is an analogy. A single brilliant architect can design a beautiful house. But you cannot build a skyscraper by asking that same architect to design a really, really big house. Skyscrapers need structural engineering, load calculations, safety systems, and coordination across dozens of specialized teams. The jump from house to skyscraper is not about being better at houses. It is about building a different kind of system.

The same is true for AI code. To go from 10,000 correct lines to a billion, we need:

This is what we are building. Not a smarter chatbot. A system of systems — an AI complex — where correctness is a property of the whole, not a hope pinned on any single part.

• • •

What this means for you

If you are a physicist, this means AI that can write simulation code you can actually trust — code that has been verified against the laws of nature before it ever reaches your screen.

If you are an engineer, this means AI that can help build and maintain safety-critical systems at a scale no human team can manage alone.

If you are a doctor, a banker, a pilot, or simply someone who uses software every day, this means a future where the code behind the systems you depend on is more reliable than it has ever been — because it was not just written by AI, but verified by AI, at a depth and scale that human review alone cannot achieve.

And if you are someone who simply cares about whether AI can be trusted with serious work — not just writing emails and generating images, but doing things where lives and livelihoods are on the line — then this is the question we are trying to answer.

Our bet is simple.

If we can build an AI complex that writes one billion lines of nuclear physics code — code that every line is verified, every result matches experiment, every calculation respects the laws of nature — then we will have built something that the whole world can use. Because the discipline that makes code trustworthy in physics is the same discipline that makes code trustworthy everywhere.

Today, AI writes 10,000 lines that must be right. We are building toward a billion. The gap is enormous. So is the opportunity.

We are just getting started.