BUILD LOG
WHAT?! Did Opus 5.5 Actually Build a Working Computer?
One prompt, thirty hours, 277,248 NAND gates: taking apart the computer Opus 5.5 designed, from logic to games.
WATCH ON YOUTUBE ↗ FROM THE EPISODE
The video script.
One prompt. About thirty hours. Nobody touching the code. At the end, an AI had built a working computer out of two hundred seventy-seven thousand, two hundred forty-eight logic gates. It boots its own operating system, and runs a game it wrote, on those gates. So, can AI build a computer from scratch? Depends on what you mean by scratch.
The prompt came from Matt Shumer: under a hundred words. Build a working computer from scratch, starting from individual logic gates. A CPU, memory, an assembler, a tiny operating system, and a game. Everything has to be real, not JavaScript pretending. And the line that got me: treat it like you're proving you could have invented computing yourself.
Everything starts with one part and one rule. A NAND gate has two inputs and one output. The output is one, unless both inputs are one. That's the whole axiom. Tie the inputs together, and you get NOT. Two NANDs make AND, three make OR, four make exclusive or. After that, it never needs another kind of part.
But logic forgets. So cross two NAND gates, each feeding the other, and they hold a single bit. Four of them make a latch, and every bit this computer stores lives in one. Then comes timing, where, its own tour says, most home-made computers die. Its simulator even caught a glitch in its first clock design. So it fixed it.
Now zoom out, for the first surprise. Of those two hundred seventy-seven thousand gates, the RAM alone takes a hundred and twenty thousand. The program ROM, sixty-one thousand more. The processor? About thirty-three hundred. Barely one percent. As the tour puts it, memory is almost everything. Remember our forty-eight gig episode? Same lesson, one level down.
And the program isn't loaded. It's wired. In this ROM, a one is a wire, and a zero is the absence of one. The operating system and every game are literally the shape of the circuit. To change the program, you fabricate a new chip. So, where does software end, and hardware begin?
The processor is sixteen bits, with one adder doing all eight of its math and logic operations. Fetch, execute, repeat: von Neumann's stored-program design. On top, the AI wrote an assembler, an operating system called NAND OS, and games. Snake came first, then a falling-block game called NANDTRIS, running on the gates at sixteen thousand clock cycles a second.
And you can follow it all the way down. Screen, motherboard, processor, adder, and finally single gates, lit for one, dark for zero, while the game keeps running. Slow the clock to four hertz, and watch a signal ripple from gate to gate. You'll never see a real chip think like this.
But wait. The gates are simulated, inside a browser. So is any of it real? Here's the test: if the game were JavaScript pretending, breaking one gate deep in the adder would change nothing. So the AI built a fault lab. Force the carry out of bit four to zero... and the game dies. One wrong gate, out of two hundred seventy-seven thousand.
Here's the part I love. Before each of its seven experiments, it wrote down a prediction, then measured what the machine actually did. Not every prediction survived, and the lab marks those in capital letters: not as predicted. That's the scientific method.
So, did it invent computing? Humans took over a century. Boole's algebra of logic, eighteen fifty-four. Shannon's switching circuits, nineteen thirty-eight. The stored-program computer, nineteen forty-five. The first microprocessor, nineteen seventy-one. The AI grew up reading all of it, then walked the whole path again in thirty hours. Is that invention? Or the best exam answer ever written?
Then again, how did you learn it? Students build a sixteen-bit computer from NAND gates in one course, Nand to Tetris, and nobody calls that cheating. Every engineer stands on Boole and Shannon. Nobody invents from nothing. Maybe from scratch was never about forgetting. Maybe it means building every piece yourself, and proving it works.
And the human? Under a hundred words. A demand for proof, not a picture of proof. And three last words: go all out. The machine did the other thirty hours. Maybe that's the new split: we bring the question and the standard of evidence; the machine does the building. And Matt says the next demos are even crazier.
So, can AI build a computer from scratch? From one gate, copied two hundred seventy-seven thousand times, with a lab to prove it? Yes. Whether that counts as invention is a harder question, and one we should ask about ourselves too. Because everything it knows about computing, it learned from us.