Utopia Gives Open-Source RAG a Memory of What Was True When
Utopia is a self-hosted Rust and Postgres knowledge platform that layers RAG on top of a bitemporal knowledge graph tracking when each fact was true.
PRO- Utopia is an open-source, self-hosted knowledge platform in Rust on PostgreSQL, currently v0.1.
- Bitemporal knowledge graph tracks when each fact was true and when the system learned it.
- Facts are append-only with evidence rows linking every edge back to a source sentence.
- Hybrid retrieval combines Tantivy full-text and pgvector embeddings with reciprocal rank fusion.
- Works with any OpenAI-compatible endpoint including Ollama and vLLM, enabling air-gapped deployment.
- Credentials stored unencrypted in Postgres; no upgrade path guarantees yet, run on trusted networks only.
A new open-source project called Utopia targets a quiet gap in enterprise RAG systems: they answer what is true, but not when it was true. Built in Rust on top of PostgreSQL with pgvector, it packages document ingest, hybrid search, cited chat, and a temporal knowledge graph into a single binary that runs entirely on your own hardware.
The project sits at v0.1, maintained by one person, and has already pulled in more than 1,800 GitHub stars. Its take on how knowledge bases should be structured is unusually opinionated.
Facts with a validity interval
Every edge in Utopia's bitemporal knowledge graph stores two time axes: when a fact was true in the real world, and when the system learned about it. Facts are append-only. A correction closes the previous version rather than overwriting it, so history stays replayable. You can ask who owned a project in Q3 2024, or what a policy said before a specific revision, and the graph re-renders its neighborhood as of that moment.
Provenance is enforced end-to-end. Every edge links back to the sentence it came from, and nothing enters the graph without evidence. Each fact row carries
This story is for Pro members
You've reached the end of the free preview. Upgrade to AlphaSignal Pro to read the full article - and everything else behind the paywall.