claude-mem

A plugin that records what an AI coding agent does in each session, compresses it, and feeds relevant context back into later sessions. It gives agents like Claude Code persistent memory across sessions.

Share on XLicense: Apache-2.0

Overview

claude-mem is a TypeScript plugin that gives AI coding agents memory that lasts across sessions. It records the tool usage and observations from each session, compresses them into semantic summaries, and makes the relevant parts available to later sessions. This lets an agent such as Claude Code keep track of project knowledge even after a session ends or reconnects. It is installed with an npx command and also lists other agent hosts.

Key features

  • Captures tool usage and observations during sessions
  • Compresses them into semantic summaries with AI
  • Injects relevant context into future sessions
  • Installs with an npx command for several agent hosts

Best for

Developers who are tired of re-explaining a project to their coding agent at the start of every session.

Upstream
thedotmack/claude-mem
Fork on GitHub
Guo-astro/claude-mem
Upstream stars
95k
Category
AI agents and LLM tools
Language
TypeScript
License
Apache-2.0
Forked
2026-01-07
Sync status
In syncLast synced 2026-09-29