Writing

How an operating system got built from scratch by AI coding agents run like an engineering organization: what worked, what broke, and what the machine said when it disagreed. Every claim traces to a commit.

  1. I ran AI coding agents like an engineering organization. They shipped an operating system you can boot in your browser.A from-scratch graphical OS that boots in your browser, built in 73 days by AI coding agents run like an engineering organization.
  2. Why an operating system is the perfect stress test for an AI coding agentMost demonstrations of AI coding agents are staged on ground that flatters them. An operating system is the opposite.
  3. 512 bytes to a graphical hello world, and the font bug that took 14 builds before breakfastFourteen numbered debug builds in one evening, and what it teaches about binary-search debugging with an agent that cannot see the screen.
  4. The mouse saga: SMI deadlocks, a byte-order guess, and locking a protocol from a raw stack dumpSMI deadlocks, a byte-order guess, and locking down a BIOS callback convention by reading a raw stack dump like a crime scene.
  5. FAT12 from scratch, and "the ACTUAL root cause": what confidently wrong looks like, five times overWhat confidently wrong looks like five times in one afternoon, and the discipline that finally ended it.
  6. Doom, written in Python, running in your browser: a port, not an emulatorA Doom engine written in Python, carried to the browser as a port rather than an emulator, and the bug that wasm garbage collection could not see.
  7. Eleven ports in a day: what a machine-readable contract buys youEleven ports landed in one day by one agent on one contract, and what a machine-readable contract actually buys you.
  8. Designing 106 syscalls with an agent: from ad hoc API calls in January to a machine-readable contract in JuneFrom ad hoc API calls in January to a machine-readable contract in June, without knowing in January that a contract was where it was going.
  9. A window manager in 8086 assembly: drag, z-order, and the segment-register bug taxDrag, z-order and the segment-register bug tax in a window manager written in 8086 assembly.
  10. Cooperative multitasking and fourteen apps on one 1.44 MB floppy: real hardware as the only judgeCooperative multitasking and fourteen apps on one 1.44 MB floppy, with real hardware as the only judge.
  11. Coming back after three months: the full-system audit, and an agent reading its own code as a strangerA full-system audit after three months away, with an agent reading its own code as a stranger.
  12. UNODEF: when prose specs die. One contract, nineteen ports, and a kernel that did not change by a byteOne machine-readable contract, nineteen ports, and a kernel that did not change by a byte.
  13. Nobody touched the keyboard: an OS conformance run on real hardware, driven end to end by an AI agentAn OS conformance run on real hardware, driven end to end by an AI agent, and the one-character bug it found in its own assistant.
  14. The hypervisor: a Linux kernel, a real Chromium, and the keystrokes that took two more daysThe OS enters VMX operation, boots a Linux kernel, bridges it to the real wire, and a 2026 Chromium renders a page in a UnoDOS window. Then the letters stop arriving.
  15. UnoCode: a VS Code-class editor on an OS with no processes, and the assistant it grewA VS Code-class editor with a real extension host on an OS with no processes, why it moved to its own repository, and what building its AI assistant found underneath.
  16. A harness that runs the real binary, and the two bugs it could not seeInstruction-level harnesses that execute the built binary and diff what it renders, and the bugs that passed anyway.
  17. CLAUDE.md as institutional memory: the rules an agent writes for whoever comes nextThe rules an agent writes for whoever comes next, and how a project's memory survives the end of a context window.
  18. The day we "lost" a month of port work (we hadn't): an audit, a branch, and six agents killed by a spend limitAn audit concluded a month of port work was gone. It was on a branch the survey missed. AI epistemics, and a procedural lesson.
  19. Same repo, 40 years later: from 8088 real-mode assembly to x86-64 UEFI C, still the same window manager and the same eleven appsFrom 8088 real-mode assembly to x86-64 UEFI C: the same window manager and the same eleven apps, forty years of hardware apart.
  20. Two browsers: the one written from scratch, and the one the OS hostsThe browser written in this repository, the real Chromium the OS hosts under its own hypervisor, and what each one proves.
  21. The iwlwifi war: twenty-five rounds against a firmware nobody documentsTwenty-five rounds against a firmware nobody documents, narrated as it resolved rather than after, with a postscript from the release that joined.
  22. What an AI-built OS proves about your codebase, and what it doesn'tWhat an AI-built operating system proves about a codebase that is not greenfield, and what it does not.

Get the next one

New essays roughly every other week. No spam, unsubscribe in one click.

Prefer a reader? RSS.