Branch-per-agent database: every AI agent writes to its own mergeable branch first

Antique-Willow-5841 · reddit · 2026-10-15

Trigger: an agent with write access to a production CRM deleted all lead lists — but read-only wasn't an option since it needed to write. The author is building a branch-per-agent database: each agent gets a private copy ready in under a millisecond, writes freely, then a human reviews row-by-row diffs and merges or discards.

Design details:

Speaks the Postgres protocol (psql and standard drivers work). Public repo, solo-built; seeking real-world testers, Rust devs, and critics.

Related event: Developer Builds Git-Style Branched Postgres After AI Agent Wipes CRM Data(3 posts)→

Original post →

More from coding & agent

coding & agent channel →