计算机科学 > 软件工程
[提交于 2026年11月28日]
标题:TinyMonOS: An Operating System Entirely Written by AI Built by a Compiler Entirely Written by AI
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We report on TinyMonOS, an x86 operating system in which every line of code, from the boot sector to the compiler that builds it, was written by Claude working as a coding agent. TinyMonOS boots in QEMU through its own two-stage boot loader into a 32-bit kernel with a disk driver, a file system, a shell, a scripting language, and a compiler. Its build uses no third-party compiler, assembler or linker: the agent wrote its own, and bootstrapped them until the second and third self-compiled generations were byte-identical. The human operator set the goals and wrote no code. What made this possible is the oracles. The agent combined expected-output, differential and fixed-point oracles and ran them 125 times; 45 of the 113 defects in the system raised no error at all, and only a test booting the whole machine caught the subtlest ones. We distill guidelines for designing oracles for coding agents. The code is at https://github.com/monperrus/TinyMonOS and the full transcripts are browsable at https://monperrus.github.io/boot-to-claude-website.
提交历史
来自:Martin Monperrus[v1] 2026年11月28日 星期六 08:52:35 UTC (102 KB)