Captures coding-agent sessions on your machine and recalls them across tools. One shared store feeds Claude Code, Cursor, Codex, and other MCP-capable agents.
Overview
AgentMemory keeps durable memory across coding sessions and agents. It records supported agent activity, scrubs secrets, and indexes decisions, fixes, and lessons so later sessions can search and retrieve scoped context within a budget you control.
A local memory server sits between your agents and stored data. Capture hooks and plugins write events; recall uses keyword search without an API key in keyless mode, optional local or remote embeddings for semantic search, and optional structural graph matches. A loopback HTTP API and live viewer let you inspect, edit, export, replay sessions, and trace memories to their sources.
One command can install the runtime, start the server on localhost, and wire agents via MCP, hooks, or REST. Many coding agents are supported from a single server so project history is not siloed per tool. Memories default to directories outside your git tree on macOS, Linux, and Windows.
Compared with ad hoc notes, the product emphasizes automatic capture, hybrid recall, cross-agent sharing, and a local viewer. Keyword recall can run without a cloud account or model API; embeddings and LLM-assisted features are optional when you configure a provider.
Key features
- Cross-agent shared memory server
- Native hooks and MCP integration
- BM25 keyword recall without API keys
- Optional local or remote embeddings
- Session replay in local viewer
- Knowledge graph and lesson storage
- Scoped recall with context budgets
- JSONL transcript import
Use cases
- Resume work across different coding agents
- Find past fixes and auth decisions quickly
- Hand off half-finished tasks between sessions
- Store team rules that resurface on similar work
- Backfill searchable history from old transcripts