Carrel
A land registry keeps the previous deed on file after a new one supersedes it, and Carrel treats documents the same way. Carrel is a self-hosted knowledge base your agents query. Its ontology can mark a relation like employer as single-valued, so a newer document replaces the old value, while as-of queries still return the earlier one. Correction becomes a schema setting, which an LLM drafts unless you upload LinkML. It automates document parsing, indexing and retrieval, with optional knowledge graphs. As of 4 December 2026 it has 794 stars, is MIT licensed, and the latest release is v0.4.4 from 22 November 2026.
Repo: https://github.com/FengZhenfei/carrel
What you get
- Single-valued relations, so a newer document supersedes the old value without deleting it
- As-of queries that return the earlier value when you need the history
- A schema drafted by an LLM, or your own LinkML upload
- Document parsing, indexing and retrieval, with optional knowledge graphs
Superseded does not mean deleted. The earlier value stays queryable, so a correction never rewrites history.
Quick poll
What would you use Carrel for first?
- Querying documents with as-of history
- Replacing stale values with a schema setting
- Building a knowledge graph over documents
- Watching it for now
Vote in the comments.
If you found Carrel interesting, I write about tools like this every week in The AI-Native Engineering Leader, what actually works for engineering leaders building with AI agents, and what to skip.
Top comments (0)