It appears on the home page and opens for votes when its launch week starts.

Kairn
Knowledge graph memory for Claude Code, Codex and other MCP clients
FreeCLIOpen SourceAI4 impressionslaunches Dec 81 comment
Maker links to DevHunt
Comments
>log in to comment
I built Kairn because every new Claude Code session starts from zero. It imports the sessions you already have (title and first prompt, offline, no AI calls), keeps decisions in a local SQLite knowledge graph, and gives your assistant summaries first, details on request. The weak spots are public too: 56.2% overall on LongMemEval-S, every category in BENCHMARKS.md. What should it remember for you first?
More CLI tools →83 free dev tools →
Looking for MCP servers to install? MCP servers list: 290 servers by category, official and community →
- Context‑aware knowledge engine with intelligent context routing
- Local knowledge graph with full‑text recall
- Skill for recalling project knowledge before acting
- Saving and recalling require no LLM call
Kairn stores AI-learned information in a local SQLite knowledge graph and retrieves it via keyword search.
- for
- Developers building AI agents with Claude Code, Codex or other MCP clients.
- pricing
- open source
- license
- MIT
Key features
- SQLite knowledge graph — Persists decisions, solutions, patterns and gotchas in a local SQLite database.
- Keyword context tool — Finds matching entries using full-text search and returns short summaries first.
- Optional reranking — Can rerank results with embeddings from a local Ollama server (off by default).
- MCP client integration — Provides plugins for Claude Code and Codex to automatically store and recall knowledge.
- MIT licence — Open-source license ensures free use and modification.
- Data stays local — All stored knowledge remains on the developer’s machine for privacy.
Use cases
- Recall past decisions when debugging code
- Provide concise summaries of known patterns during a chat session
- Fetch detailed solutions for recurring gotchas in a project
- Enhance Claude or Codex prompts with relevant prior knowledge
Kairn vs alternatives
Kairn | Zep | supermemory | LlamaIndex | ||
|---|---|---|---|---|---|
| Best for | Local knowledge-graph memory for LLM agents | Enterprise context layer for agents | Hosted AI memory service | General agent memory | LLM apps over external data |
| Pricing | Open source | Subscription | Subscription | Subscription | Free |
| DevHunt upvotes | 1 | 0 | 0 | 0 | 0 |
| Launched | Dec 2026 | — | — | — | — |
- Kairn vs Zep: Zep provides an enterprise-grade context layer with remote storage, while Kairn is local-only and open source.
- Kairn vs Mem0: Mem0 offers a hosted AI memory service; Kairn stores data locally in SQLite.
- Kairn vs supermemory: supermemory is a generic memory layer for agents, but Kairn adds full-text search and optional Ollama reranking.
- Kairn vs LlamaIndex: LlamaIndex focuses on indexing external data sources, whereas Kairn indexes the agent’s own learned knowledge locally.
Kairn FAQ
How is Kairn installed?+
Run pip install kairn-ai and then start the server with kairn serve or use the provided MCP plugin.
Where is the data stored?+
All knowledge is saved in a local SQLite file under the user’s .kairn directory, never sent to the cloud.
Is reranking enabled by default?+
No, reranking with Ollama embeddings is optional and disabled by default.
Which AI models can use Kairn?+
Kairn works with Claude Code, Claude Codex and any MCP-compatible client that can call the plugin.
What license does Kairn use?+
Kairn is released under the MIT licence.
Do I need any extra tools?+
The plugin requires uv to run and optionally a local Ollama server for embedding-based reranking.
Summarized by DevHunt from github.com · Dec 2, 2026. Details may change; check the official site.
Kairn
Zep
supermemory
LlamaIndex

