utopia is a free, open source documentation & knowledge base project written in Rust and released under Apache-2.0. It has 7,976 GitHub stars, 1,025 forks and 27 open issues, and was last pushed 4 hours ago. On this registry it ranks #20 of 40 tracked projects in Documentation & Knowledge Base, with 5 head-to-head comparisons available.

What is utopia?

Utopia is the world's first open-source enterprise world model: a self-hosted knowledge substrate with a bitemporal graph and an ontology at its base layer, built by DeepLethe for teams that need agent memory, governed knowledge, and a trustworthy decision core running on hardware they control.

What it is

Utopia is an open substrate for knowledge engineering that learns passively and governs itself. It is written in Rust, licensed under Apache-2.0, and lives in the PostgreSQL, pgvector, RAG, GraphRAG and LLM-agent ecosystem. Instead of treating a knowledge graph or a vector store as a place to hold present knowledge, Utopia puts time awareness and ontology in the base layer, so the knowledge system evolves as material arrives. Conflict detection, reasoning and decision making all run against that ontology, and the whole system deploys offline.

The concrete problem it solves is the loss of reasoning history. Where existing vector stores and knowledge graphs work to get present knowledge right, Utopia records the whole course of changing understanding. When a decision is reviewed later, the system can produce the full course it took and the grounds it rested on, which gives an organisation a compliance audit trail and a decision core its agents can trust. The project's authors explicitly describe this as a different route to enterprise intelligence, built bottom up from knowledge governance to trustworthy decisions and simulation, rather than an open-source take on any existing commercial platform.

Key capabilities

  • A bitemporal knowledge graph, so knowledge carries both when it was true and when it was recorded.
  • One Rust binary and one Postgres: full-text search is embedded in the binary, vectors go in pgvector, and the job queue is a table, leaving nothing else to run.
  • A single web UI containing a system console, a graph browser and an ontology workbench.
  • Conflict detection, reasoning and decision making evaluated against the ontology rather than against raw embeddings.
  • Offline deployment, so a company can stand up a knowledge foundation and a compliance audit trail on hardware it controls.
  • Agent-facing knowledge ingestion and recall, reflected in the topics agent-memory, rag, graphrag and llm.
  • A published container image at ghcr.io/deeplethe/utopia on GHCR.

Who uses it and how

  • Organisations that must keep enterprise knowledge and audit trails on hardware they own, since the system is designed for offline deployment.
  • Teams building LLM agents that need a governed decision core instead of an unmanaged vector store.
  • Compliance and review workflows where a past decision must be traced back to the grounds it rested on.
  • Knowledge engineering efforts in enterprise records, education, finance, law and research, the public corpora the project states it has iterated against.
  • Operators who want a small surface area: one binary plus PostgreSQL with pgvector, with no separate search cluster or queue service to run.

Getting started

The project ships a container image at ghcr.io/deeplethe/utopia, and the README provides a Quick start section alongside the official site at utopia.bi. Deployment expects PostgreSQL with the pgvector extension available to the binary.

How it compares

No list of paid products that this project replaces is provided in the facts, and no comparable tool is named in this registry, so Utopia stands alone here. The README does address one comparison directly, stating that the project would rather not be framed as an open-source take on Palantir, positioning it instead as a bottom-up route from knowledge governance to trustworthy decisions and simulation.

When to use it — and when not to

A self-hoster must operate PostgreSQL with pgvector and manage the deployment, since the offline, self-hosted model is the stated design and no hosted option appears in the facts. Teams that want a fully managed service, or that have no appetite for running a database, should look elsewhere. The entry also has an honest documentation caveat: the README excerpt available here is truncated mid-sentence, so detail on the feature set rests largely on that excerpt and the topic list, and the facts record no release history beyond the last push date.

project readme (upstream, from github) — read inline

Utopia

Philosophy · Quick start · Features · Roadmap

Stars License Rust

Official site Container Discussions Built by DeepLethe 中文

The enterprise world model built by DeepLethe. It is the first open substrate for knowledge engineering that learns passively and governs itself. Where a knowledge graph or a vector store works to hold present knowledge, Utopia puts time awareness and ontology in the base layer: the knowledge system evolves as material arrives, and conflict detection, reasoning and decision making all run against that ontology. It deploys offline, so a company can stand up a knowledge foundation, a decision core its agents can trust, and a compliance audit trail on hardware it controls.

Please note: we would rather this project were not framed as an open-source take on Palantir. It is a different route to enterprise intelligence, built bottom up from knowledge governance to trustworthy decisions and simulation.


https://github.com/user-attachments/assets/aa226443-75de-437e-bd80-88e592ed8457


Philosophy

We gave it a somewhat romantic name, Utopia. Ptolemy's geocentric model was taken for truth for a very long time, then falsified step by step by Copernicus, Kepler, Galileo and Newton. Looking back, what we keep is not only that heliocentrism turned out to be right; it is how that history unfolded.

Where existing vector stores and knowledge graphs work to get present knowledge right, one of Utopia's founding aims is to record the whole course of changing understanding. Engineered, that becomes a bitemporal knowledge graph. When a decision is reviewed later, the system can produce the full course it took and the grounds it rested on. To make this hold up in practice we have iterated at length against public corpora spanning enterprise records, education, finance, law and research. Temporality is only one facet; for how knowledge is taken in, how the future is reasoned about, and how logic bounds action, see utopia.bi/philosophy.

Features

One Rust binary and one Postgres. Full-text search is embedded in the binary, vectors go in pgvector, and the job queue is a table: nothing else to run.

A complete application A system console, a graph browser and an ontology workbench in one web UI. A product, not a library: install it and it works.
Knowledge ingest Upload PDF, DOCX, PPTX, XLSX, XLS, ODS, CSV, TSV, Markdown, HTML or plain text, with legacy encodings detected on the way in. Web pages, RSS, GitHub, Jira, Notion, WebDAV and S3-compatible buckets sync on a schedule; everything else comes in through the API.
Search and chat Full-text on Tantivy, vectors on pgvector, fused with RRF. Answers stream with inline citations that open the passage they came from. Any OpenAI-compatible endpoint works (DeepSeek, Qwen, GLM, Ollama, vLLM), so the whole system can run air-gapped.
Agent harness and agentic RAG The whole system can be driven through conversation. The built-in agent searches documents, walks the graph (an entity's facts as of any date, or what changed in a period) and queries a mounted database. The same read-only tools are exposed over MCP.
Agents over MCP An MCP server for every knowledge base, so Claude Desktop, Cursor, Workbuddy and other agent frameworks can connect, with fine-grained permissions.
Ontology and cold start A new knowledge base has no vocabulary of its own; it starts from the packs you pick at creation. Five ship inside the binary: schema.org, W3C Org, PROV-O, FOAF and IOF Core (ask for your industry). Terms outside the packs are counted as they appear; confirm the common ones and they join the ontology.
Bitemporal graph Extraction turns documents into entities and facts, following an ontology you can edit. Every fact carries when it held and where it came from. Correcting a fact closes the old version and links the new one to it rather than overwriting, so the graph keeps two timelines: when something was true in the world, and when the system came to believe it. Edges are reified, so an edge carries attributes of its own.
Entity resolution and review Duplicates are resolved in three stages: exact name or alias, embedding similarity, then a model's call on the doubtful pairs. Every merge can be undone. Uncertain cases go to a review queue: low-confidence extractions, suspected duplicates and cardinality conflicts.
Agent adjudication The agent adjudicates on its own, from common sense and the business documents. Low-confidence calls go to the human review queue, and the decisions people make there are recorded and used to tune the agent, closing the loop.
Reasoning and derivation Ontology axioms compile into rules: transitivity, symmetry, inverses and relation hierarchy derive new facts by forward chaining. Derivation is off by default, since a wrong axiom derives wrong facts. A derived fact is marked as such on the graph, carries validity and confidence like any other, and shows what it was derived from. When it contradicts an asserted fact, the asserted one stands.
Conflict detection Three kinds of conflict, three sets of choices. A new fact that clashes with an older one: close the old, keep both, or reject the new. Data that breaks an axiom (self-loop, asymmetry, transitive cycle, cardinality): retract the fact, relax the axiom, or accept both. The ontology itself is checked first, because violations of a self-contradictory ontology are noise.
Ontology-driven querying Mount a database on a base (Postgres, MySQL and the engines that speak its protocol, Trino for Iceberg / Delta Lake / Hive, Databricks, Snowflake) and chat can query it alongside the documents. The agent proposes how its tables map onto the ontology, and you confirm. The method behind it, Ontology2SQL, is state of the art on BIRD Mini-Dev for SQLite and PostgreSQL (submission).
Multi-user and permissions Each knowledge base has its own members and roles: owner, admin, editor and viewer. Open bases are readable by everyone in the deployment, restricted ones only by invitation. The first account registered becomes the system administrator.
Decision ledger Confirming or rejecting a fact, merging or reverting an entity, rebuilding the graph: each leaves a record of who, when, and what the object looked like at the time. The ledger is append-only, and a record outlives its object, even the base it belonged to.
**[Decision intel

readme truncated — read the full docs on github

Frequently asked questions

Is utopia free to use?

utopia is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does utopia do?

World's first open-source enterprise world model.

What is utopia written in?

utopia is primarily written in Rust. Its source is publicly available at https://github.com/deeplethe/utopia, and it has 7,976 GitHub stars.