An all-in-one AI app for chatting with your documents and running AI agents, with local-first LLM support, multi-user access and no-code agent building.
- Stars
- 8,428
- Forks
- 1,175
- Open issues
- 72
- Last commit
- 13 hours ago
What is it?
Utopia is a self-hosted knowledge system that ingests documents and turns them into entities and facts organized by an editable ontology. Every fact records when it held in the world and when the system came to believe it, so corrections close an older version and link to the new one instead of overwriting it. This lets users ask what was true on a given date and what the base knew at the time.
The application ships as one Rust binary backed by PostgreSQL with pgvector, with Tantivy providing full-text search and the job queue stored as a table. It combines full-text and vector retrieval with streaming answers and inline citations, and works with any OpenAI-compatible model endpoint, including local ones for air-gapped deployments. Entity resolution, a review queue for uncertain extractions, and an append-only decision ledger support human oversight.
The project also exposes an MCP server so agents such as Claude Desktop or Cursor can query knowledge bases with scoped permissions, and it can mount external SQL databases for ontology-driven querying. Reasoning over ontology axioms is available but disabled by default. The project is at v0.1, and its schema migrations only roll forward.
Key features
- 01Ingests PDF, Office spreadsheets, Markdown, HTML and more, with scans handled by OCR or vision models.
- 02Bitemporal graph where corrections close old facts and link them to replacements.
- 03Hybrid full-text and vector search with streamed answers and inline citations.
- 04MCP server for connecting agents to knowledge bases with fine-grained permissions.
- 05Entity resolution with undoable merges and a review queue for uncertain cases.
- 06Works with any OpenAI-compatible model endpoint, so it can run fully offline.
Use cases
- Tracking how contract terms or amendments changed over time and answering what applied on a given date.
- Building an audit trail of who changed which record and what the system believed at the time.
- Giving engineering or operations agents read access to a company knowledge base over MCP.
- Deploying a private knowledge foundation on infrastructure the organization controls.
Topics
FAQ
- What is utopia?
- A self-hosted Rust knowledge base that builds a bitemporal knowledge graph from documents, so facts carry when they held and when the system learned them. Utopia is a self-hosted knowledge system that ingests documents and turns them into entities and facts organized by an editable ontology. Every fact records when it held in the world and when the system came to believe it, so corrections close an older version and link to the new one instead of overwriting it. This lets users ask what was true on a given date and what the base knew at the time.
- Is utopia free to use? What license does it have?
- utopia is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is utopia still maintained?
- Actively maintained. The last commit to utopia was on Oct 18, 2026.
- What can I use utopia for?
- Tracking how contract terms or amendments changed over time and answering what applied on a given date. Building an audit trail of who changed which record and what the system believed at the time. Giving engineering or operations agents read access to a company knowledge base over MCP. Deploying a private knowledge foundation on infrastructure the organization controls.
- Where can I get utopia?
- The source code and installation instructions are on GitHub: https://github.com/deeplethe/utopia
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A free, self-hostable no-code platform that turns SQL databases like PostgreSQL, MySQL and SQLite into an Airtable-style spreadsheet interface with automatic REST APIs.
An open-source Chinese book on AI Agent design, built around Agent = LLM + context + tools, with runnable companion experiments per chapter.
Self-hostable, MIT-licensed scheduling platform for booking meetings, a community fork of Cal.com without enterprise features.
A local code knowledge graph that gives AI coding tools precise review context over MCP and a CLI.
Open source Loom alternative for fast screen recording, local editing, and shareable video links, with optional self-hosting.