Cairn
Provide persistent, project-aware memory, context caching, and governance for AI coding agents across development sessions.
Cairn is an open-source, self-hosted context and reliability layer designed to give AI coding agents persistent, project-aware memory. By capturing bounded activity during development sessions, it brings relevant historical decisions, failed approaches, and operational procedures into future tasks. Operating via a local Rust daemon with an SQLite spool paired with a central PostgreSQL server, Cairn exposes retrieval and governance endpoints over the Model Context Protocol (MCP) while maintaining strict privacy boundaries to prevent sensitive credentials and raw transcripts from leaking.
주요 기능
01Local-first architecture utilizing a lightweight Rust daemon (`cairnd`) and SQLite delivery spool with offline resilience
020 GitHub stars
03Centralized self-hosted Rust server with PostgreSQL backend and a web control plane for inspecting and correcting memory
04Native Model Context Protocol (MCP) interface supporting context retrieval, search, memory storage, and session handoffs
05Strict privacy boundaries ensuring raw diffs, transcripts, credentials, and unbounded payloads are excluded from storage
06Project-aware binding linked directly to repository remotes for seamless context scoping across teams
사용 사례
01Maintaining resilient, cached context and bounded local memory capture during network interruptions
02Preserving architectural decisions and failed implementation attempts across coding agent sessions
03Auditing, inspecting, and manually correcting agent memory and evidence records via a web control plane