Gnomon. Git for Postgres data, built for agents github.com · 15 points · 10 comm...
HN Best 200 @best
Gnomon. Git for Postgres data, built for agents github.com · 15 points · 10 comments · HN thread
TL;DR Gnomon is an open-source PostgreSQL extension (PostgreSQL 15-18, self-hosted or managed) that gives Postgres git-style branches, field-level diffs, three-way merges, undo and time travel, aimed at giving AI agents isolated branches of a real database. The project was published only about an hour before the thread, and the comments are mostly skeptical about the README's AI-generated tone and the need for agents to write to databases at all.
- Branches read everything from main and store only their changes, so creating one is instant and copies no data.
- Applications need no code change: a branch is selected with gnomon.use(), a session setting, a transaction-scoped call, or a connection string.
- Merges are three-way and type-aware: counts add up, JSON merges key by key, text merges line by line, and true clashes become conflict rows.
- Agents get a database role and a branch; Postgres enforces merge limits such as row count, allowed tables and passing SQL checks, and nothing leaves the branch before approval.
- History of tracked tables supports point-in-time reads, a change feed to Kafka, NATS or webhooks, dbt snapshots, and bisect to find the transaction that broke a check.
- Includes a C module for optional extra features, a Go CLI, MCP server, TypeScript and Python SDKs, and a GitHub Action for per-pull-request database branches.
Discussion The thread is short and mostly skeptical. Commenters question whether letting agents change databases directly adds anything beyond migrations already kept in git, compare the project to existing database-branching products such as Neon and Xata, and say the execution has many gaps in technical detail. The bigger share of the discussion is about the project's apparent origin: one commenter objects to README text that reads as AI-written, and others note the repository was pushed only about an hour before the post and speculate it was generated for visibility. The mood is dismissive, with little engagement with the features themselves.
- Doubts the need for agents to alter databases directly (some): One commenter prefers schema changes to stay as migration code in git and asks what use case this covers that migrations do not. The question is raised but not answered in the thread.
- README reads as AI-generated and is off-putting (some): A commenter says they will stop reading because the docs feel LLM-written and lack a human explaining the need. Another replies that feedback from real readers and pull requests matters more than who wrote the text.
- Project is too new to judge or use (a few): Commenters note it was uploaded about an hour earlier and ask whether anyone is using it, implying no real-world evidence exists yet.
- Similar to existing branching tools (a few): One commenter points out that Neon and Xata already offer comparable database branching ideas.
- Concept is good but execution needs work (a few): A commenter finds the idea interesting but says the technical details have many holes and encourages the author to keep building.
- Suspects the project was generated to look established (a few): One commenter jokingly suggests the prompt asked for a Hacker News front-page project that appears to have existed for a while, citing the polished docs and tutorial.