Open Source
Claude Mem is a JavaScript library that gives stateless AI agents durable memory. During a session it captures everything the agent does, compresses it with AI into a structured context summary, and automatically injects the most relevant memories into future sessions. It works across Claude Code, OpenClaw, Codex, Gemini CLI, Hermes, GitHub Copilot, OpenCode, and more. Over 83,000 GitHub stars make it one of the most popular agent infrastructure tools available.