← Practical guides to AI coding memory

Comparisons

Cairn.ink Memory vs Basic Memory for AI coding assistants

Compare editable Markdown knowledge with private, source-backed Memory across storage, capture, Claude Code, Codex, Cursor, deletion and sharing.

By: Cairn

Updated:

Published:

Choose Basic Memory for a Markdown knowledge base you own, edit and connect to coding assistants. Choose Cairn.ink Memory for private Memories with Source Receipts, a shared Claude Code/Codex installer, and local or cloud storage. Both support cross-tool context; compare the installed capture workflow, inspection tools and sharing boundary.

What is the main difference in what I keep?

Basic Memory treats knowledge as editable documents. Its official repository, accessed 2026-11-15, describes Markdown notes with observations and wikilink relationships, backed locally by a SQLite index. Humans can edit the same files the AI reads and writes. That is a concrete advantage when notes should remain useful in your editor, Obsidian or a file-based review process.

Cairn.ink Memory treats a Memory as private context: a preference, decision or fact, with submitted source text called a Source Receipt. Its 0.6.7 README distinguishes saved conversations from Memories. In Local, conversations are saved automatically on supported platforms; a Memory is saved when you or your agent ask. Cloud sends conversations to cairn.ink for automatic or requested extraction and recalls relevant memories automatically.

Choose the durable object first. An architecture page you want to maintain over months is a strong Basic Memory use case. A private preference you want both coding tools to retrieve with its source is a strong Cairn.ink Memory use case.

How do the same dimensions compare?

Basic Memory entries follow its repository and the official integration and tool references linked below, all accessed 2026-11-15. Cairn.ink Memory entries follow its release README, installer guide, privacy page and connection guide.

DimensionCairn.ink MemoryBasic Memory
Stored materialConversations; private Memories with Source ReceiptsMarkdown notes, observations and relations
Where it runsLocal SQLite or cairn.ink CloudLocal files and index; optional managed Cloud
Claude CodeOne installer selects Local MCP or Cloud integrationLocal or remote MCP; optional native plugin
CodexSame installer and shared store; automatic hooks depend on supported hostLocal or remote MCP; documented Codex plugin
CursorSeparate hosted connector in the website guideDocumented local or remote MCP
Capture and retrievalLocal conversation capture plus requested Memory save/search; Cloud automatic extraction/recallExplicit note tools; plugins add briefings, checkpoints and lifecycle capture
Inspection and deletionLocal inspect/correct/forget; hosted recall with receipts and exact-ID forgettingEditable files; read, edit and delete tools
Team and sharingPrivate Memory; separately authorized shared Knowledge CardsFile workflows; Cloud shared workspaces and plan-dependent controls
License and service modelApache-2.0 toolkit; free Local; Cloud plans separateAGPL-3.0; free local; paid Cloud

When should I choose Basic Memory?

Choose Basic Memory when the knowledge base itself should be a set of readable, editable files. Its repository documents local cross-device workflows using Git or other file synchronization, and optional managed synchronization. You can review an architecture note as prose, change its relationships, and keep using the file through a familiar editor.

For Claude Code, the current integration guide gives this registration after installing Basic Memory locally:

claude mcp add basic-memory basic-memory mcp

Run /mcp to confirm the tools. The same guide documents a separate plugin, installed through the Basic Memory CLI on v0.24 or later:

bm install claude-code

Restart Claude Code and run /basic-memory:bm-setup to map the repository to a project. The MCP connection remains a prerequisite for the plugin's skills. The plugin adds a session-start briefing and a checkpoint before compaction.

The Codex guide likewise documents local and remote MCP plus a native plugin with startup briefings and post-compaction checkpoints. The shared lifecycle guide explains how those hooks coordinate capture and recall. These make Basic Memory a real option for session continuity as well as deliberate note-taking.

For Cursor, its official integration guide documents both a local process and Cloud MCP with browser authorization. Choose this when the same maintained notes should be available from these different clients.

When should I choose Cairn.ink Memory?

Choose Cairn.ink Memory when the workflow starts with private context shared between Claude Code and Codex and you want to inspect where a saved Memory came from. Start with:

npx @cairn-ink/memory setup

For Cloud, a first paired setup uses one browser sign-in and shares memory automatically. Close both clients and wait for background work before confirming sharing, then restart them and review the Cairn entries in Codex /hooks. Cloud saves conversation text after local masking, extracts Memories automatically or on request, and adds relevant memories to prompts.

For Local, choose no-account storage on one computer. Both clients use the same SQLite database and owner. Conversations are saved as plaintext automatically on Linux and WSL, and for Claude Code on macOS since 0.6.7. Ask to save a Memory, then ask to retrieve it. Keyword search, inspection, correction and forgetting work without a model key. A local server with OPENAI_API_KEY sends memories and search text to OpenAI for semantic search.

For Cursor, the separate hosted connection path uses the guide's Open in Cursor button or manual configuration, followed by popup authorization and a green-dot check for cairn. This is a separate connection from the installer-managed Claude Code/Codex setup.

How do I inspect, change and share knowledge?

Basic Memory's 1.0 tool reference documents bm_read, bm_edit and bm_delete. Reads can return a whole note or selected sections; a checksum from a read can guard a subsequent change. Compare this with directly editing the Markdown when deciding how people should maintain the knowledge base.

In Cairn.ink Memory Local, use inspect_memory for the saved wording, revision and Source Receipt. Correct or forget using that inspected revision. Hosted recall_memory returns Memories with receipts, and hosted forget_memory targets an exact memory_id. Review the submitted source text before using a saved statement in today's work.

For teams, Basic Memory's pricing page documents shared workspaces, with membership limits and access features depending on the plan. Choose it when shared notes are the intended durable knowledge. Cairn.ink Memory keeps Memory private, including project-scoped Memory. A person separately proposes a Knowledge Card, confirms it and authorizes publication to share knowledge with others.

What should I verify before choosing?

Cairn.ink Memory's Codex automatic conversation saving on macOS is not available in 0.6.7. Cloud masking is best effort, so sanitize private inputs before capture. A Cairn-style per-Memory Source Receipt is not documented in the cited Basic Memory sources; evaluate its notes and links as the evidence surface they provide.

For prices, compare Basic Memory's current plans with Cairn.ink Memory's pricing page; both document free local use and a separate paid hosted offer. For Basic Memory installation, follow the guide matching your installed version and inspect the available tools: its repository examples and online 1.0 tool reference carry different version context.

Try the same fictional decision in both products. Save it, restart the client, retrieve it in the other coding tool, change it, then delete or forget the test record. For team use, test with a second person in the intended workspace or collection. Judge the resulting maintenance workflow and visibility. The local versus hosted guide helps separate storage location from model processing.

For Cairn.ink Memory, follow the connection guide.

Frequently asked questions

Which should I choose for Markdown files I can edit?
Basic Memory. Its knowledge lives in ordinary Markdown files that people and assistants can read and change, with observations, links and a search index. Local use also supports file-based workflows such as Git and Obsidian.
Does Basic Memory support automatic coding workflows?
Yes. Its Claude Code and Codex plugins document session-start briefings and compaction checkpoints. The shared harness-capture guide describes lifecycle hooks; choose the documented plugin and capture settings rather than treating an MCP connection alone as automatic capture.
Does Cairn.ink Memory Local automatically save memories?
It automatically saves conversations on supported platforms. Memories are saved when you or your agent ask, and retrieval is on request. Cloud instead sends conversations to cairn.ink and provides automatic extraction and recall.
How do team models differ?
Basic Memory offers shared Cloud workspaces with plan-dependent membership and access features. Cairn.ink Memory keeps Memory private and uses separate human decisions to propose Knowledge Cards and authorize their publication.

Sources