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
Science
Science

Infleqtion claims 30 entangled logical qubits on Sqale system

Infleqtion says it created 30 entangled logical qubits on its Sqale quantum computing system, a company-reported step toward operations across error-protected quantum bits. A logical qubit encodes information across multiple physi...

Capital AI
Capital AI

NUS Enterprise launches patent-matching platform and Munich outpost

NUS Enterprise says it has launched Nova, an AI platform developed with Zima Labs to help its staff find commercial partners for university research. It has also established an outpost in Munich through a partnership with Unterneh...

Security
Security

NFM Lending faces lawsuit after acknowledged cyber incident

NFM Lending faces a class-action lawsuit after acknowledging a cybersecurity incident, The Tech Edvocate reports. Former customer Sheneka Smith alleges that the mortgage lender failed to maintain reasonable safeguards for customer...

AI Capital
AI Capital

Chinese local governments offer incentives to AI filmmakers

Reuters reports that Chinese local governments are offering computing vouchers, rent waivers and dedicated funding to attract filmmakers using artificial intelligence. These incentives reduce the cost of computing and premises for...

Security AI
Security AI

GitHub Security Lab releases agent workflow for automated fuzz testing

GitHub Security Lab has published a workflow that uses an AI agent to set up and run fuzz tests for C and C++ projects. Given a repository, it selects functions to test, writes test harnesses, runs AFL++, checks which code the tes...