Common Memory

Up and running in five steps.

Your agent can look up everything you have built. Free for individual developers, on macOS.

  1. Build it

    From the repository root. You need a Rust toolchain.

    cargo build --release
  2. Index your projects

    Point it at the folder your projects live in. The folder is remembered, and later runs only read what changed.

    ./target/release/commonmemory index --root ~/code
  3. Connect your agent

    Adds it to Claude Code for every project. There is no path to type.

    ./target/release/commonmemory connect
  4. Ask

    Any range you would say out loud works: a month, “last 2 weeks”, or 2026-08.

    ./target/release/commonmemory recall november
  5. Keep it current

    Optional. Starts the daemon at login so answers are never more than a moment behind.

    ./target/release/commonmemory daemon install

Free for individual developers

It starts on your own Mac.

Connect it once and every agent session starts with where you left off. Your agent can look up what was built, where it lives, why it changed and who calls it, across every project at once. Nothing is uploaded.

./target/release/commonmemory connect

All four tools are read-only, and every agent query is appended to ~/.commonmemory/queries.log, so you can read what an agent asked.

The four tools an agent can call

recall
What was I working on in a stretch of time? “november”, “last 2 weeks”, 2026-08.
find
Where is this thing? A project from a half-remembered description, or exact text in any file, across every project at once.
history
Why did this file change, and what past work mentions this topic?
code
Where is this symbol defined, who calls it, and what could a change reach?

Ask from the terminal.

Pick a question to see the command and what comes back. Agents ask the same four things through their own tools.

Sample projects. Timings are each tool's bench median on a real index: the engine's own response time, not an agent's.

$ commonmemory recall 2026-11-08..2026-11-15
index_as_of: 2026-12-01T09:14:02+11:00 (1s ago, daemon not running)
stale: false
paths_relative_to: /Users/you/code
recall 2026-11-08 → 2026-11-15: 3 projects with activity, top 2 by activity
1. [ledger-api] ledger-api/ 2026-11-08..2026-11-14, 5 active days: 12 commits, 57 AI prompts in 6 sessions
   commit 2026-11-09 "Move invoices to Stripe pricing tables"
   commit 2026-11-12 "Checkout: fall back to the legacy price when a plan has no table row"
   AI session 2026-11-08 "Stripe pricing tables or our own plan picker"
   AI session 2026-11-12 "Why does checkout 500 for annual plans"
2. [storefront] storefront/ 2026-11-11..2026-11-13, 3 active days: 4 commits, 19 AI prompts in 2 sessions
   commit 2026-11-11 "Show the plan price from the API, not the hardcoded table"
   AI session 2026-11-11 "Price shown at checkout does not match the invoice"
(3.6 ms)

Fast enough to askon every step.

The reading is done ahead of time, so checking context never slows an agent down.

Median response time, by tool

codeto find where a symbol is defined
0.4 ms
findto find a project or exact text
1.7 ms
historyto search past commits and prompts
1.7 ms
recallto recall what was worked on
3.6 ms

Medians from commonmemory bench, 240 runs per tool on a real 4,054-file index; p99 45 ms. The engine’s own response times, not an agent’s.

What it reads on your machine.

See exactly what is read, and what is skipped

Entries shown are from sample projects.

git
Every commit in every repo under your project folders, with the files it touched.2026-11-09 git commit 4be19c07a [ledger-api] Move invoices to Stripe pricing tables: the legacy table could not express annual plans
AI sessions
Your prompts and session titles from Claude Code and Codex.AI session 2026-11-12 "Why does checkout 500 for annual plans"
files
Names, modified times and the text inside. Respects .gitignore; skips hidden files, lockfiles, binaries, files over 512 KB and anything named like a key.gateway/src/limits.rs:22: /// Token-bucket rate limit, keyed by API key.
code
Functions, classes, methods and types, and where each is used, in JavaScript, TypeScript, Python and Rust.definition ledger-api/src/billing/prices.rs:14 function price_for
READMEs
The one at each project root.why: README mentions limit, rate
shell history
Only if zsh records timestamps (setopt EXTENDED_HISTORY).

No one starts from zero.

Every person and every agent, sharing what the company already knows.

Need a security review first? See how your data is handled.