Yesterday's work in Claude Code,
picked up in Codex today
Whether you return to the same tool or switch to another, your project's memory stays in Markdown files you own. Each step below runs only when you invoke it.
- End of a session · Claude Code
/memtomem:handoff saveWrites one checkpoint record into the project's
.memtomem/memories.local. - Next session · Codex CLI
$memtomem-brief$memtomem-handoff resumeLists active handoffs, then loads one and checks it against the live commit.
- After a few commits · Claude Code
/memtomem:updateSaves decisions, bug causes, and preferences back into the same files.
CLI
uv tool install --python 3.12 'memtomem[all]' Installmm initmm addmm search 10-minute Quick Start →
Claude Code
/plugin marketplace add memtomem/memtomem /plugin install memtomem@memtomem /reload-pluginsmm mem init --scope project_local/memtomem:handoff save Before you start →
Install the CLI first, then run mm mem init --scope project_local once from your repository root.
Codex CLI
codex plugin marketplace add memtomem/memtomem codex plugin add memtomem@memtomem New threadmm mem init --scope project_local$memtomem-brief Before you start →
Install the CLI first, then run mm mem init --scope project_local once from your repository root.
A memory layer. Tools have MCP, safety has Guardrails, observability has Langfuse. Memory needs a layer of its own.
Searchable Long-Term Memory
Finds exact identifiers and meaning-based matches across your notes, docs, and code. The minimal preset searches by keyword; enable embeddings to fuse BM25 with dense vectors.
LTMMemory Across Sessions & Agents
Carry work between Claude Code, Codex, and Antigravity CLI with handoff, brief, and update. Namespaces scope searches; they are not access-control boundaries.
Context Gateway
Keep master skills, commands, and subagents in the .memtomem/ Store. Pull runtime copies in after a preview, then Push the reviewed version to selected runtimes.
Proactive Surfacing
The optional STM proxy can attach relevant memories to the MCP tool responses it routes. Each item carries an id, so your agent can rate or invalidate it.
STMToken-Aware Compression
STM can compress responses from the MCP tools it routes before they reach your agent. Configured budgets and gates decide when, and actual savings depend on the response.
STMLocal-First & Private
SQLite storage and local ONNX inference need no GPU or cloud account. Ollama, OpenAI-compatible, Cohere, and Langfuse integrations are optional and can contact the services you configure.
LTM + STMTwo layers. A long-term memory server and an optional STM proxy, connected over MCP.
Other MCP clients and framework adapters connect through the same MCP standard.