
i got tired of re-briefing every new agent session, so i built a local memory they all share
i run a few coding agents on the same project (claude code, cursor, codex) and every new chat starts from zero. the decision, the reason, the half-finished work all disappear when the window closes, so i kept explaining it by hand.
cairntir is an MCP server that keeps that in a local database on your machine. you (or an agent you ask) save decisions, open work and outcomes word for word. new sessions get a handoff of what matters, and older stuff is searchable by meaning or by file.
no cloud, no account, no telemetry. MIT licensed. two commands to set up (python 3.11+):
pip install --upgrade cairntir then cairntir setup
site: https://cairntir.com
code: https://github.com/pnmcguire480/cairntir
been building it for a few months, new release a few weeks ago. tell me what breaks or what's missing.