Your AI forgets everything.

Git stores your code. CAIRN stores your engineering intelligence.

Every time you start a new chat with Claude or Cursor, it has no idea what you decided yesterday. It re-reads your entire codebase. It contradicts itself. It burns your tokens. CAIRN fixes that.

terminal
$cargo install cairn

Why you care

The 3 Pain Points

The Decision Graveyard

You told Claude to use JWT last week. This week it suggests sessions again. That decision is buried in chat history you'll never find.

The Token Burn

Claude re-reads 5,000 lines of code to change one function. 7,500 tokens. Every. Single. Session. That's your money.

The "Who Decided This?"

Your teammate left. No one knows why PostgreSQL was chosen. The PR comment is gone. The Slack thread is lost.

How to use it

Install. Vibe. Remember.

1
cargo install cairn

One command. No cloud. No signup. No credit card.

2
claude > "Build me auth with JWT"

CAIRN captures the decision automatically. You don't type anything. The AI documents itself.

3
> "Now add refresh tokens"

Claude already knows you chose JWT with RS256. No re-reading. No contradictions. No wasted tokens.

Living structure

Every decision becomes architecture.

Files orbit decisions. Commits bind to rationale. AI sessions attach to the concepts they changed. The graph is not a diagram; it is a navigable substrate for future work.

Mass and measurement

Statistics have weight.

76.6%Less repeated context in agent sessions
313Decision links recovered from one repository pass
~1sStructured context retrieval for the next task

Orbital workflow

Commands assemble the machine.

cairn init

The repository appears as an addressable memory space.

cairn mark

A decision becomes a node with files, commits, and rationale attached.

cairn dashboard

The graph awakens for humans and AI agents at the same time.

Final orbit

Git records history. CAIRN preserves intelligence.

Nothing else matters.