deeplethe/utopia
World's first open-source enterprise world model.
What it solves
Utopia addresses the limitations of standard vector stores and knowledge graphs by providing a "bitemporal" knowledge system. Instead of just storing the current state of information, it tracks both when a fact was true in the real world and when the system learned about it. This allows enterprises to maintain a complete audit trail of changing understanding, resolve conflicts in data, and make trustworthy decisions based on a historical record of evidence.
How it works
Built with Rust and Postgres (using pgvector), Utopia transforms unstructured documents (PDFs, Word, etc.) and structured data into entities and facts based on a defined ontology. It uses a bitemporal knowledge graph where corrections do not overwrite old data but close previous versions and link to new ones. The system integrates LLMs for extraction and chat, uses Tantivy for full-text search, and employs "Ontology2SQL" to allow agents to query mounted databases by mapping tables to the ontology. It also includes a human-in-the-loop review queue for low-confidence extractions and entity merges.
Who it’s for
It is designed for enterprise teams—such as legal, procurement, HR, finance, and operations—who need to manage complex records that evolve over time (e.g., amended contracts or changing project leadership) and require a verifiable, air-gapped knowledge foundation for their AI agents.
Highlights
- Bitemporal Knowledge Graph: Tracks two timelines (world time and system time) to preserve the history of how knowledge evolved.
- Ontology-Driven: Uses predefined or custom ontology packs to structure data and derive new facts via forward chaining.
- Agent Integration: Provides an MCP (Model Context Protocol) server, allowing agents like Claude Desktop or Cursor to interact with the knowledge base.
- Hybrid Search: Combines full-text search (Tantivy) and vector search (pgvector) using Reciprocal Rank Fusion (RRF).
- Decision Ledger: Maintains an append-only record of every change, merge, or confirmation for compliance and auditing.
Related
- Project
- Project
- Dispatch
- Project