Give coding agents persistent project memory with AgentMemory
Use AgentMemory to run a persistent memory service that lets coding agents recall project context, prior decisions, and reusable session knowledge.
Prerequisites
Node.js, npm or npx, AgentMemory service, and a supported coding agent client such as Claude Code, Codex, Cursor, Gemini CLI, OpenClaw, or another MCP-compatible client
Installation
Use the upstream install or setup path that matches your environment:
- npx @agentmemory/agentmemory
- npx @agentmemory/agentmemory demo
- npx caches per-version. If you ran npx @agentmemory/agentmemory@0.9.14 last week, a bare npx @agentmemory/agentmemory may serve the stale 0.9.14 from ~/.npm/_npx/, not the latest release. Install once and the bare age...
- npm install -g @agentmemory/agentmemory
Requirements and caveats from upstream:
If you hit EACCES on macOS/Linux system Node installs, retry with:
Programmatic access (Python / Rust / Node)
Basic usage or getting-started notes:
Quick Start •
From v0.9.16 onward, the first npx run prompts you to install globally inline — answer Y once and you're set. If you skip, fall back to either of these for a fresh fetch:
Extracted from upstream docs: https://raw.githubusercontent.com/rohitg00/agentmemory/HEAD/README.md