Skip to main content
Agents

A compiler written by 16 Claude agents needed a reliable way to divide its bugs

An Anthropic experiment used the existing GCC compiler as a comparison point so agents could isolate failures in a Linux build.

8 Nov 2026

Anthropic researcher Nicholas Carlini asked 16 Claude agents to write a C compiler, the program that translates C source code into instructions a computer can run. The team produced a compiler capable of building Linux 6.9 on several processor architectures, he reports. One difficulty was turning a broken kernel build into separate jobs agents could work on in parallel.

Three green grids show smaller clusters of orange squares from left to right.
Anthropic’s illustration for its account of the parallel Claude compiler project. The developers used GCC to help narrow which inputs to investigate. · Anthropic.

Image source

Carlini used GCC, an established compiler, as a comparison tool. His test system compiled most source files with GCC and a selected subset with the agents' compiler. If the combined build failed, the agents could narrow the search to a smaller set of files. Different agents could investigate different parts of the problem.

The experiment took nearly 2,000 Claude Code sessions and about $20,000 in API charges, according to Carlini. The compiler is an inspectable artifact. The testing setup helps explain what made the work possible and how much of the job still fell to the person organizing it.

Read the source.