Skip to the collection

agent-native · Memory & State · Verified 2026-10-19

Memoir

Listed on The Agent-Native Index

Git for AI Memory

What it does

Memoir replaces opaque vector memory with a local-first, taxonomy-structured, Git-versioned store. Official homepage: recall by path (memoir get api.v2.auth), time-travel to reproduce bugs, branch to test risky strategies. Claude Code hooks shadow git branches so a git checkout does not contaminate main memory. Merges review feature-branch lessons into the main knowledge base.

Alpha: APIs, plugins, and taxonomy may change. Treat as an early coding-agent memory VCS, not a frozen production SLA.

Distinct from Memoria (also git-like, different product) and from Claude-Mem (compressed observation firehose): Memoir’s claim is hierarchical semantic paths + cryptographic git operations (blame / checkout / merge), not session-log compression.


Agent-facing interfaces

How agents onboard

Interaction pattern: SDK / CLI + plugins / MCP

pip install memoir-ai
# Claude Code:
#   /plugin marketplace add zhangfengcdt/memoir
#   /plugin install memoir@memoir

See the full onboarding section in the dossier.

Protocol surface

Interface Detail
PyPI pip install memoir-ai (import memoir, CLI memoir)
MCP memoir-mcp via uvx --from memoir-ai[mcp]
Plugins Claude Code, Codex, Hermes, OpenClaw, community OpenCode
SDK Async MemoryClient; LangGraph LangGraphMemoryStore
UI memoir ui — local explorer (secondary)

Verification

Last verified 2026-10-19.

Sources: