aiagent.club
中文
GitHub repo

thedotmack/claude-mem

TypeScript Tracked since 2025-08-31 Updated 2026-09-12 View source ↗

#12 of 803 by Stars among GitHub repos

93.7k Stars

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

About

Persistent memory compression system built for Claude Code.

Claude-Mem seamlessly preserves context across sessions by automatically capturing tool usage observations, generating semantic summaries, and making them available to future sessions. This enables Claude to maintain continuity of knowledge about projects even after sessions end or reconnect.

Or install from the plugin marketplace inside Claude Code:

Restart Claude Code. Context from previous sessions will automatically appear in new sessions.

Note: Claude-Mem is also published on npm, but npm install -g claude-mem installs the SDK/library only — it does not register the plugin hooks or set up the worker service. Always install…

Excerpted from github.com/thedotmack/claude-mem

Latest metrics

Stars 93.7k 2026-09-12
Forks 8.2k 2026-09-12
Commits 2.7k 2026-09-12
Releases 344 2026-09-12
Watchers 300 2026-09-12
Open issues 22 2026-09-12
Open PRs 171 2026-09-12