Skip to main content

Minigraf

Review
Graph Databases
One of the more interesting design choices in the embedded graph space right now.
Published

October 20, 2026

Illustration: Minigraf

Every week there is a new memory system and/or graph database, usually vibe-coded and it becomes less and less meaningful for me to post it all. At the same time, I love the innovation and lateral thinking out there, people keep approaching things in novel and often interesting ways.

Take Minigraf for instance, I think it’s one of the more interesting design choices in the embedded graph space right now. It’s a single-file graph database in Rust, queried with Datalog. Yep, the inference language being used a query language. Its own tagline is “the SQLite of bi-temporal graph databases.” Embed it, point it at a .graph file, done. It runs native, in the browser via WASM, and on mobile. The bitemporal part is what matters. Every fact carries two independent time axes: Valid time when it was true in the world and Transaction time when the system recorded it.

For knowledge-augmented AI, that is not just a nice-to-have. An agent revises a belief without destroying the old one, a past decision can be replayed against the exact knowledge state it was made with and corrections become auditable events instead of silent overwrites. In governance-heavy domains that last point is the difference between “the model said so” and “here is what it knew, when it knew it”.

I never considered it before but Datalog is actually a good fit. Time becomes just another dimension of the relation, recursion is native, and the grammar is small enough to fit in a system prompt.

Of course, this is a solo-maintained project by design. It targets under a million nodes, isn’t distributed and has no client-server mode. The maintainer own benchmarks show full-attribute scans are O(N). Bitemporality isn’t unique either. This is embedded memory for agents and apps, not your enterprise graph platform.

https://github.com/project-minigraf/minigraf