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 introducing time-awareness and formal ontology into the base layer of enterprise knowledge management. It prevents the loss of historical context by recording how understanding evolves over time, allowing companies to maintain a trustworthy decision core and a full audit trail of how facts were derived or corrected.
How it works
Built with Rust and Postgres (using pgvector), Utopia implements a bitemporal knowledge graph. It extracts entities and facts from various documents and data sources, mapping them to an ontology. The system tracks two timelines: when a fact was true in the real world and when the system recorded it. It uses a combination of full-text search (Tantivy) and vector search (RRF fusion) to provide cited answers via LLMs. It also employs forward-chaining reasoning to derive new facts from ontology axioms and includes a conflict detection system to handle contradictory data.
Who it’s for
It is designed for enterprises that need a high-integrity knowledge foundation for AI agents, specifically those requiring strict compliance, auditability, and the ability to reason over complex, changing business data across documents and databases.
Highlights
- Bitemporal Knowledge Graph: Tracks both the validity time of a fact and the system's time of recording, ensuring a complete history of knowledge changes.
- Ontology-Driven RAG: Integrates structured ontology and the Ontology2SQL method to query both unstructured documents and mounted databases (Postgres, MySQL, Snowflake, etc.).
- Agentic Capabilities: Includes a built-in agent that can walk the knowledge graph, search documents, and query databases, also exposed via MCP.
- Self-Governing Logic: Uses ontology axioms to automatically derive new facts and detect logical conflicts in the data.
- Air-Gapped Deployment: Supports any OpenAI-compatible endpoint, allowing the entire system to run on private hardware.
Related
- Project
- Project
- Project
- Project
- Project