Failed attempts
What was tried, why it didn’t work, and what to do instead. The knowledge no commit or doc ever captures, and the one that saves the most hours.
Shared team memory for AI coding agents
When a developer runs the save command, their agent writes short markers — decisions, dead ends, constraints. The next session on that repo starts with them.
01 / The problem
What your agent learned yesterday is gone today. What your teammate’s agent learned was never yours to begin with.
The same failed approach gets tried again and again — by another developer, another agent, sometimes the same afternoon.
Commits record what worked. What didn’t work, and why, never reaches git or the docs.
02 / How it works
Nothing changes about how you work. Plan, build, debug and hit walls with Claude Code. Cursor and Copilot coming later.
Your own agent writes the markers: short notes on what was decided, what failed and what’s still open.
/cairn:save
Whoever opens that repo next — you tomorrow, or a teammate today — gets the key markers automatically.
03 / What it remembers
What was tried, why it didn’t work, and what to do instead. The knowledge no commit or doc ever captures, and the one that saves the most hours.
What was chosen and the reason, so nobody reopens it by accident.
Rules the code has to respect, whether technical, legal or regulatory.
How things actually behave, beyond what the README claims.
Loose ends worth picking up, ready when a later session asks.
04 / Privacy
Built for teams in careful industries, where “we send your transcripts to the cloud” is a non-starter.
Your agent writes the markers locally. The transcript is never sent to Cairn.
A few lines of text per marker, plus who saved it and when.
Markers are scoped to the repository they came from and the team that owns it.
05 / Install
First on your team? Email us for an invite code. Teammates run the same command and paste the shared key.
Needs Claude Code, Node 20+ and a repo with a git remote, on macOS or Linux.
# in your terminal, inside your repo
# (once per machine)
npx @maaniz/cairn init
# then restart Claude Code
# in Claude Code, when a chunk of work is done
/cairn:save
Cairn is opening to a small number of teams. Tell us about yours: how many developers, which agents you use, and what keeps getting lost.