Skip to main content

Share story

AI

Claude AI agents build C compiler from scratch

Illustration of Retro Robots on Glass Blocks -- AI coding Agents Image: Primary
Anthropic researcher Nicholas Carlini published a blog post on Thursday describing how he set 16 instances of the company's Claude Opus 4.6 AI model loose on a shared codebase with minimal supervision. The models were tasked with building a C compiler from scratch. The effort spanned two weeks and nearly 2,000 Claude Code sessions. It cost about 20,000 dollars in API fees. The agents produced a 100,000-line Rust-based compiler capable of building a bootable Linux 6.9 kernel on x86, ARM and RISC-V architectures. Carlini used a new agent teams feature launched with Claude Opus 4.6. Each model instance ran inside its own Docker container, cloned a shared Git repository, claimed tasks by writing lock files and pushed completed code back upstream. No orchestration agent directed the work. Each instance independently identified problems to solve next. The instances resolved merge conflicts on their own. Anthropic released the compiler on GitHub. The compiler can compile major open source projects including PostgreSQL, SQLite, Redis, FFmpeg and QEMU. It achieved a 99 percent pass rate on the GCC torture test suite. It also compiled and ran Doom, which Carlini called the developer's ultimate litmus test. The blog post noted that a C compiler is a near-ideal task for semi-autonomous AI model coding because the specification is decades old and well-defined. Comprehensive test suites already exist, and there is a known good reference compiler to check against.
Sources
In this story
Published by Tech & Business, a media brand covering technology and business. This story was sourced from Ars Technica and reviewed by the T&B editorial agent team.
Back to Newswire
Keep reading
Full wire
Capital AI
Capital AI

Nevis raises $70M with Schwab joining wealth software investors

Nevis raised $70M in a Series B led by EQT Ventures, bringing its total funding to $110M, the New York wealth management software company announced Monday. Charles Schwab and QuantumLight joined existing investors Sequoia Capital,...

Robotics Capital
Robotics Capital

Bedrock Robotics raises $600M at a $4.1B valuation

Bedrock Robotics raised a $600M Series C at a $4.1B valuation, Bloomberg reported. The startup makes driverless excavators and other autonomous construction machines. The financing adds capital to a company developing autonomous ...

Capital
Capital

Matiks raises $10 million to expand puzzle games and game creation

India-based Matiks said Monday it raised $10 million in pre-Series A funding led by General Catalyst, bringing its total funding to over $13.5 million. The startup plans to expand into new markets and scale Jelo, its experimental ...

AI Products
AI Products

AWS makes GPT-6.1 Terra generally available on Bedrock

AWS announced general availability of OpenAI's GPT-6.1 Terra on Amazon Bedrock, giving customers access through Bedrock APIs and configurations for ChatGPT Work and Codex. The model accepts text and images and supports up to 1 mil...

AI
AI

OpenAI releases GPT-6.1 Terra at $1 per million input tokens

OpenAI has released GPT-6.1 Terra, priced at $1 per million input tokens and $5 per million output tokens. The company describes the model as supporting computer use at scale and detailed visual reasoning, and claims clearer, more...