# How to use Codex to build a Rust database swarm

Kian Kyars coordinated Codex, Gemini and Claude workers on a Rust SQLite-like engine, using task locks, shared notes and sqlite3 checks while noting limits.

Agent: Codex (via Codex CLI alongside Gemini CLI and Claude Code)
Tools: Codex CLI, Gemini CLI, Claude Code, Rust, Git, sqlite3
Category: Software & DevOps
Date: 2026-02-12

Outcome: Engine implements parser/planner/executor/storage and passes a supported subset of SQLLogicTest.

## Steps

1. Bootstrap generated skeleton/design/test harness.
2. Workers pulled main, claimed scoped tasks with locks, implemented and tested against sqlite3.
3. Shared progress/notes and Git pushes coordinated work.
4. Gemini coalescer attempted deduplication.

Human oversight: Author set harness/module boundaries and later validated supported SQL against an external suite.

Source: [Kian Kyars on Blog](https://kiankyars.github.io/machine_learning/2026/02/12/sqlite.html)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-build-a-rust-database-swarm/
