Vibeleaderboard
← All Intel
Intel / article

TinyMonOS: An Operating System Entirely Written by AI Built by a Compiler Entirely Written by AI

Source
arxiv.org
Author
Martin Monperrus
Date
Why it matters

Shows what an autonomous can build end to end, and why it worked: expected-output, differential and fixed-point oracles. 45 of 113 defects raised no error, so whole-system tests mattered.

Key takeaways · AI-distilled
  • TinyMonOS boots in QEMU through its own two-stage boot loader into a 32-bit kernel that includes a disk driver, a system, a , a scripting language and a compiler, all written by the Claude .
  • The build uses no third-party compiler, assembler or linker. The agent wrote its own toolchain and bootstrapped it until the second and third self-compiled generations were byte-identical, a fixed point that serves as a correctness check.
  • Per the abstract, the human operator set goals and wrote no code. The agent ran expected-output, differential and fixed-point oracles 125 times, and only a test that booted the whole machine caught the subtlest defects.
  • Monperrus credits the oracles with making the project possible, and the paper turns that experience into guidelines for designing oracles for coding agents. The code and full agent transcripts are published.
Terms in this piece · Glossary
  • Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
  • Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
  • File — A named unit of stored data that keeps its contents while no program is using it.
  • Terminal and shell — A text interface for navigating files and running programs.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Recommended reads