Building a C compiler with parallel Claudes
Sixteen parallel Claude Opus 4.6 agents, run in an infinite loop inside Docker containers and coordinating through git-based task lock files, wrote a 100,000-line Rust C compiler from scratch over about 2,000 sessions and $20,000 in API costs. The compiler builds a bootable Linux 6.9 on x86, ARM and RISC-V, along with QEMU, FFmpeg, SQLite, Postgres and Redis. The main lessons are about harness design: near-perfect tests and CI to prevent regressions, terse grep-friendly logs to avoid polluting context, deterministic per-agent test sampling to work around time blindness, and GCC as a known-good oracle so agents could split up kernel bugs instead of colliding on one. Limitations remain, including no 16-bit real-mode codegen, a buggy assembler and linker, and output code slower than GCC -O0.
Related posts
- How we're shipping faster with Claude Code and Git Worktrees
incident.io mediumAdeptincident.io engineers run four to seven Claude Code agents in parallel, each isolated in its own Git worktree so concurrent sessions don't clobber a shared working directory. A small open-source bash function, `w`, creates per-user worktrees under ~/projects/worktrees, autocompletes them, and runs commands such as `claude` or `git status` inside a worktree without changing directory. Examples include building a multiline JavaScript editor in about 10 minutes and spending $8 of Claude credit to parallelize Makefile API codegen for an 18% (30 second) speedup. The team also leans on Plan Mode to leave agents running safely, uses voice dictation for long context dumps, and wants per-PR ephemeral environments with their own database and backend.
- A Virtual Agent team at Docker: How the Coding Agent Sandboxes team uses a fleet of agents to ship faster
Docker mediumAdeptDocker's Coding Agent Sandboxes (sbx) team runs a "Fleet" of seven autonomous Claude Code skill-based agent roles: build engineer, project manager, product owner, CLI tester, performance tester, upgrade tester and software engineer. These roles test across macOS, Linux and Windows, triage and deduplicate issues, post daily release notes, and open bug-fix and tech-debt PRs from CI. Skills are written as personas rather than scripts, and they compose by loading foundational skills. Each one is developed and debugged locally before the same file is wired into GitHub workflows. Fixes run through a "Ralph-loop" that pairs separate worker and reviewer Claude invocations, iterating up to five times on SHIP/REVISE. Humans keep the merge decision.
- Agent-driven development in Copilot Applied Science
GitHub Engineering mediumAdeptA Copilot Applied Science researcher built eval-agents, a set of Copilot SDK-based agents that automate analysis of coding-agent trajectories from benchmarks like TerminalBench2 and SWEBench-Pro, and developed it primarily through coding agents. Three principles made this work: conversational, verbose prompting in plan mode; continuous refactoring, documentation and dead-code cleanup so the repo is easy for agents to navigate; and a "blame process, not agents" approach backed by strict typing, linters, and human-only contract tests that prevent agents from rewriting regression tests. With this setup five contributors added 11 agents and four skills in under three days, using a loop of /plan, /autopilot, automated Copilot Code Review iterations, and human review, plus weekly agent-run audits for missing tests, duplication and doc gaps.
- Scaling long-running autonomous coding · Cursor
Cursor mediumAdept
Running hundreds of concurrent coding agents on one codebase for weeks works when agents are split into roles: recursive planners that explore the code and create tasks, workers that just complete tasks and push, and a judge that decides whether to start a fresh iteration. Flat self-coordination through a shared file failed: locks became bottlenecks and were mishandled, optimistic concurrency was more robust, and without hierarchy agents became risk-averse. The planner/worker system built a browser from scratch (over 1M lines across 1,000 files in close to a week), did a three-week Solid-to-React migration in Cursor's codebase (+266K/-193K edits), and produced a 25x faster Rust video renderer. Lessons: GPT-5.2 sustained long autonomous work better than Opus 4.5, different models suit different roles, removing complexity such as an integrator role helped, and prompts mattered more than the harness.
- DevEx matters for coding agents, too
incident.io mediumAdeptincident.io cut its typical lint-plus-compile feedback loop from over 90 seconds to under 10, arguing that fast toolchains matter even more when AI coding agents generate code faster than slow tools can validate it. The gains came from replacing ESLint and Prettier with Biome (40s to under 1s), adopting the preview Go-based TypeScript compiler tsgo while keeping tsc on CI as a safety net, and switching tasks from Node/Yarn to Bun. The team also replaced the Java OpenAPI Generator with a ~700-line Bun/TypeScript generator, built with Claude Code to match the old output exactly, which cut generation from 45s to 0.21s. An upstream Goa PR added parallel file writing and cut its generation time from 52s to 10s.