thedotmack/claude-mem
Claude-Mem is a persistent memory compression system engineered to preserve contextual history across working sessions for AI coding agents. Designed for software developers operating tools such as Claude Code, Grok Bot, OpenCode, T3 Code, Antigravity, and OpenClaw gateways, the platform continuously captures tool usage observations, synthesizes semantic summaries, and injects pertinent context into subsequent sessions. The underlying operational model employs lifecycle hooks and a dedicated background worker runtime to maintain ongoing project awareness, enabling coding agents to retain architectural decisions and bug fixes after sessions end or reconnect.
The GitHub snapshot shows the repository is not archived and records an Apache-2.0 license. Package metadata specifies Node.js ^20.19.0 or >=22.12.0, unlike the README badge. Standard setup executes via `npx claude-mem install`, to configure an integration. For Grok Bot, the README describes hosted memory by default and `--provider host` for a local observer. Specific environment targets use dedicated installer flags, including `npx claude-mem install --ide grok-bot`, `npx claude-mem install --ide opencode`, or `npx claude-mem install --ide t3code`. Within Claude Code, installation proceeds through `/plugin marketplace add thedotmack/claude-mem` followed by `/plugin install claude-mem`. For OpenClaw gateways, deployment runs via `curl -fsSL https://install.cmem.ai/openclaw.sh | bash`. This downloads and immediately executes a script; inspect it before running. Running `npm install -g claude-mem` is explicitly restricted to installing the SDK library only, without registering plugin hooks or launching the worker service. For another agent memory approach, compare Hermes Agent; its scope and workflow differ.
Data as of : 111055 stars · 9680 forks.