---
name: "Give coding agents persistent project memory with AgentMemory"
slug: "give-coding-agents-persistent-project-memory-with-agentmemory"
description: "Use AgentMemory to run a persistent memory service that lets coding agents recall project context, prior decisions, and reusable session knowledge."
github_stars: 17238
verification: "security_reviewed"
source: "https://github.com/rohitg00/agentmemory"
author: "Rohit Goyal"
publisher_type: "individual"
category: "Developer Tools"
framework: "MCP"
tool_ecosystem:
  github_repo: "rohitg00/agentmemory"
  github_stars: 17238
  npm_package: "@agentmemory/agentmemory"
  npm_weekly_downloads: 40707
---

# 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:
- <a href="#quick-start">Quick Start</a> &bull;
- <h2 id="quick-start"><picture><source media="(prefers-color-scheme: dark)" srcset="assets/tags/light/section-quickstart.svg"><img src="assets/tags/section-quickstart.svg" alt="Quick Start" height="32" /></picture></h2>
- 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:

- Source: https://github.com/rohitg00/agentmemory
- Extracted from upstream docs: https://raw.githubusercontent.com/rohitg00/agentmemory/HEAD/README.md

## Documentation

- https://agent-memory.dev

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/give-coding-agents-persistent-project-memory-with-agentmemory/)
