Skip to content
FossShelf
Home / Categories / For AI Engineers

agentmemory

Persistent memory for AI coding agents

Replaces Contextpool, Cursor, Claude Code, Github Copilot

30.41K starsApache-2.0reviewed 29 May 2026last commit 13 Nov 2026
Screenshot of agentmemory

Who it's for

Best fit

agentmemory is best for developers and AI platform teams that run coding agents repeatedly on the same repositories and need durable project memory without a managed knowledge service. It fits teams that care about local control, repeatable context, and lower explanation overhead.

Consider alternatives when

Use it when the cost of re-orienting agents is visible in every session. Avoid it if your workflow already depends on a single proprietary IDE memory layer and you do not need cross-agent portability.

The problem

AI coding agents forget decisions, repo conventions, and partially explored architecture whenever a session ends or context gets compacted. That forces developers to re-explain the same background, which wastes time and increases the risk that the next agent repeats a bad path. The problem gets worse for teams that move between agents or machines. Without a local memory deployment, useful context either lives in chat history, inside a proprietary product, or nowhere durable enough for repeated engineering work.

How it works

Local memory storage keeps project knowledge

Local memory storage keeps project knowledge close to the repo and outside a hosted vendor workspace.

Agent integrations let different coding agents

Agent integrations let different coding agents share the same remembered context.

Retrieval combines lexical, vector, and graph-style

Retrieval combines lexical, vector, and graph-style memory so agents can find relevant past work.

A viewer helps developers inspect what

A viewer helps developers inspect what the memory server captured and debug recall quality.

npm installation makes setup practical for

npm installation makes setup practical for individual developers before team rollout.

Features

  • Local memory storage keeps project knowledge
  • Agent integrations let different coding agents
  • Retrieval combines lexical, vector, and graph-style
  • A viewer helps developers inspect what
  • npm installation makes setup practical for

How to install

Install agentmemory globally when you want one local memory server shared by your coding agents.
npm install -g @agentmemory/agentmemory

Recommended for this setup

Strengths

  • agentmemory runs a local memory server: agentmemory runs a local memory server that captures observations, consolidates them, and exposes retrieval through MCP, hooks, and REST.
  • The project is Apache-2.0 licensed, installs: The project is Apache-2.0 licensed, installs from npm, and stores memory without requiring an external database service.
  • This approach is built for AI: This approach is built for AI & Machine Learning workflows where code context needs to survive across many agent runs.

Trade-offs

  • When to choose another path: Use it when the cost of re-orienting agents is visible in every session. Avoid it if your workflow already depends on a single proprietary IDE memory layer and you do not need cross-agent portability.

Tech stack

Languages
TypeScript, JavaScript, HTML, Python, CSS, Shell, Dockerfile
Frameworks
Next.js, React
Databases
—
Tooling
—

FAQ

What is agentmemory best for?

agentmemory is best for developers and AI platform teams that run coding agents repeatedly on the same repositories and need durable project memory without a managed knowledge service. It fits teams that care about local control, repeatable context, and lower explanation overhead.

How does agentmemory compare to paid tools?

Unlike Pieces' commercial developer memory tools, agentmemory gives AI coding agents a local, open-source memory layer that can work across multiple clients. Compared to paid commercial tools in this category, agentmemory prioritizes agent recall, local deployment, and inspectable data flow.

How do I install agentmemory?

Install agentmemory globally when you want one local memory server shared by your coding agents. npm install -g @agentmemory/agentmemory

Similar tools

More in AI Engineers