Minigraf - Embedded bi-temporal graph database in Rust
Show HN: Minigraf – An embedded, bi-temporal graph database in Rust
Minigraf is a tiny, single-file embedded graph database written in Rust that brings Datalog queries and bi-temporal time travel to AI agents, mobile apps, and the browser. Think SQLite for connected data with full history: query relationships recursively, travel through transaction and valid time, and embed anywhere from native to WASM. Zero configuration—just open a .graph file. It's ideal for AI agent memory, offline-first mobile storage, and GraphRAG patterns. Try the browser playground or visualizer to scrub through history and see the graph change.
Embedded graph memory for AI agents, mobile apps, and the browser — the SQLite of bi-temporal graph databases.
- lvca
It would be great if you can add ArcadeDB (https://arcadedb.com) in the comparison page.
Also, have you done some benchmarks, like the standard LDBC for graph databases?
This is a project we keep updated: https://github.com/ArcadeData/ldbc_graphalytics_platforms_ar...
- real_faxenoff
As I understand it, this is a tool for small datasets with an unknown schema and a required history? I'm struggling to find examples of real-world scenarios where this would be used.
LLM memory.. let's say, architecturally, its suitable for storing and processing queries - is questionable, but okay. But what real-world use case would generate such queries? It seems to me that the context for formulating and processing the results would be orders of magnitude greater than simply writing down what's needed in plain text. If my notebook took the form of a temporal multiverse of entities, I'd lose the ability to use it properly.
But maybe I'm just too old to quickly get the hang of every new type of Pokémon.
P.S. I'm using the built-in SQLite to store a graph with up to 10 million edges in an MCP app I'm developing for working with code.
- adsharma
Why do you need another database and another query language for this?
Existing cypher based databases which support typed properties (including timestamps) on relationship tables can handle this use case just fine.
- schainks
What are the benchmarks compared to other tools of equal or similar function in this category? How is Minigraf different than Kùzu or CozoDB?
- fusslo
what does 'Embedded' mean in this context?
forgive my ignorance on such a basic concept. I read 'Embedded' as in 'for Embedded systems'
Does it mean 'Embedded in your rust application'?