Build SQLite with a swarm of parallel coding agents
The author recounts using parallel coding agents to build a SQLite implementation and shares experience from it. ·
Done with a custom-built or unnamed agent
- What they did
- One Claude run bootstrapped docs, a crate skeleton and a test harness. Then six workers (two each of Claude, Codex and Gemini) looped in separate workspaces. Each pulled main, claimed a task through a lock file, implemented it and tested against sqlite3 as an oracle, updated shared notes, and pushed. A separate Gemini coalescer was meant to remove duplication.
- How it went
- About 19k lines of Rust in 154 commits, with 282 AI-written unit tests passing. It passed only 64 SQLLogicTest queries, since subqueries and CASE are unsupported. It has no concurrency, and the code has some slop.
- Worth knowing
- 54.5% of commits were lock and claim coordination. The coalescer ran only once, at the end, and Codex used 100% of a Pro weekly quota.
Try it yourself with Claude Code
I want to build a small [project, e.g. SQLite-style database engine] in [language] using several parallel agents. First write a spec that splits the work into independent modules ([e.g. parser, storage, query executor]), then run one sub-agent per module in separate worktrees with tests for each. Stop when the modules are merged and a test suite of [number] basic queries passes, and show me what failed along the way.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Discussion on HN · Feb 16, 2026
Related use cases
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.
Autonomously test an entire iOS app and report bugs
A tool lets Claude Code drive an iOS app through the accessibility tree, tap every screen, and return a structured bug summary.
Audit a feature's issues and hand them to an engineer's agent
An AI agent listed all issues with a feature and sent them to an engineer, whose own agent then addressed most of them automatically.
Custom agent
Build small features and integrations with Cursor agent mode
A commenter uses Cursor agent mode for smaller features, third-party integrations, background jobs, notifications and activity tracking, and has it log key findings to a worklog file for the next run.
Cross-check coding agent answers with a second agent
The poster built a tool that automatically sends Claude Code responses to Codex for a second opinion, replacing manual copy-pasting.
Upgrade vulnerable dependencies via automated pull request
Devin opened a PR on a Spring Boot and Next.js sample app upgrading dependencies to fix listed CVEs, including 103 npm vulnerabilities on the frontend.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.