Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler. ·
Done withClaude
- What they did
- Nicholas Carlini ran 16 Claude agents in an endless loop, each in its own Docker container, pushing to a shared git repo. Agents claimed tasks by writing lock files, merged each other's work, and had no orchestrator. Carlini's main work was building tests, CI, and a GCC-based oracle so agents could fix different kernel bugs in parallel.
- How it went
- About 2,000 sessions produced a 100,000-line Rust compiler that builds Linux 6.9 on x86, ARM and RISC-V and passes 99% of most test suites. It still calls GCC for 16-bit x86, its assembler and linker are buggy, and its output is inefficient.
- Worth knowing
- It cost just under $20,000 in API fees over two weeks, and the quality of the test harness decided whether agents stayed on track. Run it in a container.
Try it yourself with Claude Code
I want to build a small [tool, e.g. a Markdown-to-HTML converter in Python] from scratch with a spec-first approach. First write a short spec and a test suite in this folder, then split the work into independent pieces and use sub-agents to implement them in parallel. Stop when all tests pass, and give me a summary of what each sub-agent built and any tests you had to skip.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
2 more accounts of this
Discussion on HN · Feb 5, 2026
Related use cases
Run a personal doorman agent on a $7 VPS
A public agent greets site visitors over IRC while a private one handles email and scheduling, capped at $2 a day.
Flag risks in a 50-page contract before signing
The poster uploaded a 50-page contract and Claude flagged an auto-renewal near the end and a liability term they would have missed.
Build and install Android apps on a phone remotely with Claude Code
A dev runs Claude Code on a build VM, directs it from the phone Claude app to build Android apps, then installs them onto their phone over the network via adb.
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Build and deploy a meeting app from a prompt
A user had Replit Agent create a meeting app with dashboard, logic and analytics, and deploy it live without manual code changes.
Triage AWS costs with a slimmer MCP server
Author rebuilt an AWS cost-triage MCP server from 15 tools to 4, cutting a question from 7 tool calls to 2 with schemas 88% smaller.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.