Cairn Memory provides a lightweight, local-first memory layer designed to bridge context across AI agent sessions in tools like Claude Code and Codex. Operating via Model Context Protocol (MCP) and backed by a local SQLite database, it stores important preferences and project decisions alongside "Source Receipts"—the exact text submitted when each memory was created. Users maintain complete auditability and control through explicit tools that allow inspecting, correcting revision histories, and logically forgetting outdated preferences without requiring cloud dependencies or accounts for local operation.
主要功能
01Source Receipts that link memories to their original submitted context for transparency
02Semantic recall capabilities via optional model-guided retrieval integration
03Local-first architecture storing data securely in a local SQLite database
04Model-free core operations allowing save, inspect, correct, and forget actions without calling an LLM
0534 GitHub stars
06Seamless support for Claude Code and Codex workflows through MCP tools and automated plugins
使用案例
01Retaining developer preferences and architectural decisions across multiple coding sessions
02Auditing and correcting outdated or incorrect AI agent assumptions via revision inspection
03Sharing contextual memory across different developer agents like Claude Code and Codex