The author spent a week using Gas Town, a multi-agent coding orchestrator, to build DoltLite — a fork of SQLite that replaces the btree storage backend with a Prolly Tree (the same data structure powering Dolt's version control). Starting with no C experience and a write-only code philosophy, the experiment produced a working SQLite fork with Git-style version control features (commits, branches, merges, diffs, cherry-picks, tags) in ~18,000 lines of agent-generated C code. All 87,000 SQLite acceptance tests pass. The total cost was $3,000 over roughly 30-40 hours of active Gas Town usage. Key success factors included having two reference implementations (Dolt and SQLite), a clean interface boundary in SQLite's btree.h, extensive existing tests, and the author's deep domain expertise guiding the agents toward correct architectural decisions.

17m read timeFrom dolthub.com
Post cover image
Table of contents
The Approach #The Project #Day 1: Light Work #Day 2: Dolt Features #Day 3: Testing #Day 4: sysbench #Day 5: Don’t Be Lazy #DoltLite #Gas Town Review #Why did this work? #Conclusion #
2 Impressions