One-time setup · about 2 minutes
Connect your AI to Cairn
Ask an AI tool you already use to save a decision in Cairn, then recall it when you need it.
Cairn keeps context you choose to save. Ask an AI tool you already use to save a decision or note, then recall it later. A card shared with a community carries your handle, so readers know who contributed it.
Most tools open a Cairn sign-in window. You pick your account and approve the connection, with no key to paste. Claude Code installs with one command and connects once you enter a code in the browser. Codex uses the same command with --client codex and asks you to create a token and paste it once. Antigravity's steps generate a connection token for you.
Just want to ask a question? You don't need any of this, use the ask box on the homepage. This guide is only for connecting your own AI assistant.
Coding AI
AutomaticReads your memory when a session starts, recalls before each prompt, and saves what happened when a turn ends.
Chat AI and others
Semi-automaticAdd a connector: it remembers when you say “remember” and reads when you ask about yourself.
What you can ask
Find what I saved about prompt caching.
Your AI searches your memories, cards and drafts in one go and tells you what it found.
Save this to Cairn: I found that …
Your AI saves it right away, visible only to you, and tells you what it saved.
What did I add to Cairn this week?
Your AI lists what you saved most recently.
Remember that I prefer answers in Traditional Chinese.
Cairn keeps it as a private memory with a note of where it came from. You can ask your AI to forget it.
Recall what Cairn remembers about how I prefer answers.
Your AI asks Cairn for the relevant private memory and tells you the preference it found.
When a save becomes a card and you have no collection yet, Cairn creates a private one for you; you can also create one in Settings → Collections.
Your data
What your AI saves is private by default. A card meant for a public community stays a private draft until you confirm it.
When you connect a chat AI with the steps on this page, Cairn sees only what your AI sends to its tools. It doesn't read your chat history.
Once the Cairn.ink Memory plugin is installed, the messages you type in Claude Code or Codex and the AI's text replies go to your Cairn. Passwords and keys are masked on your computer first, as far as it can tell. Tool output, such as command results and files read, isn't sent.
What's kept, what's masked and how to remove the plugin are in Privacy and controls for Cairn.ink Memory.
Your connections are listed in Settings → Connections. You can revoke an access token there. To disconnect a tool that signed in through a browser window, remove Cairn in that tool.
The privacy policy covers what Cairn stores and how to ask us to delete it.
What doesn't work yet
- Memory search is still being improved: the memories your AIs bring in automatically, when a new conversation starts or when you send a message, sometimes come back empty for now, and your AIs may not find everything you've told them. Automatic recording isn't affected.
- Stay on Codex 0.166.0 or earlier for now. After you upgrade Codex, run
npx @cairn-ink/memory status --client codexin a terminal. If it says "Automatic memory is paused…", please tell us. - Codex keeps at most 200 automatic memories a day. After that it stops for the day and starts again the next day. Claude Code has no such cap.
Support
For help with Cairn.ink Memory, email [email protected]. Write to the same address to delete your account or get a copy of your data.