aicoolies logo
Claude-Mem logo
Claude-Mem logo

Claude-Mem

Persistent memory plugin for Claude Code with automatic context injection

open sourceupdated Aug 16, 2026

Claude-Mem is a persistent memory plugin for Claude Code with 44,000+ GitHub stars that captures session context and injects it into future sessions. It features progressive disclosure with token cost visibility, automatic compression, and privacy controls with private tags to manage what gets remembered across coding sessions.

Claude-Mem addresses the critical memory limitation in Claude Code where each session starts without context from previous interactions. The plugin automatically captures important decisions, code patterns, architectural choices, and project-specific knowledge during coding sessions, then injects relevant context into future sessions. This persistent memory layer means developers do not have to repeatedly explain their project setup, coding conventions, or past decisions to the AI agent.

The plugin implements progressive disclosure with token cost visibility, showing developers exactly how much context is being injected and its token cost before each session. Automatic compression using Claude's agent SDK keeps memory efficient by summarizing older context while preserving key details. Privacy controls through private tags allow developers to mark certain information as session-only, ensuring sensitive data like API keys or credentials are never persisted to the memory store.

With over 44,000 GitHub stars and 217 releases, Claude-Mem has become one of the most popular extensions in the Claude Code ecosystem. The active Discord community drives feature development and shares best practices for memory management across different project types. The AGPL-3.0 license covers the core plugin while the ragtime directory uses a PolyForm Noncommercial license. Regular updates ensure compatibility with the latest Claude Code releases and incorporate community-requested improvements to memory retrieval accuracy.

Pricing

Free and open-source (AGPL-3.0)

Platforms

Claude Code plugin; macOS, Windows, Linux

Categories

Tags

Use Cases

Serena logo

Serena

LSP-powered semantic coding agent via MCP

Serena is a free, open-source coding agent toolkit that provides IDE-like semantic code retrieval and editing capabilities to any LLM via the Model Context Protocol (MCP). Built on Language Server Protocol (LSP) integration, it enables symbol-level navigation, cross-file refactoring, and relational code understanding across Python, TypeScript, Go, Rust, Java, PHP, and more — without requiring file-level reads or text-based search.

Open Source
Claude-Flow logo

Claude-Flow

Multi-agent orchestration platform for Claude Code

Claude-Flow is an open-source multi-agent orchestration platform that deploys dozens of concurrent Claude Code agents with shared memory and coordinated workflows. It enables parallel task execution, hierarchical agent coordination, and persistent context across sessions. Run via npx with zero setup. Described as the leading agent orchestration platform for Claude by industry analysts, it has 9,100+ GitHub stars and is used for complex codebase-wide refactoring and multi-file development tasks.

Open Source
Baton logo

Baton

Desktop app for running AI coding agents in parallel

Baton is a desktop application for running multiple AI coding agents in parallel inside isolated git worktrees. It supports Claude Code, Codex CLI, OpenCode, Gemini CLI, visual diffs, status notifications, MCP server support, built-in Git operations, and one-click PRs to GitHub or GitLab.

freemiumOpen Source
WOZCODE logo

WOZCODE

Cut Claude Code token costs by up to 50% with a local plugin that never uploads your code.

WOZCODE is a Claude Code plugin that reduces token consumption by 25–55% using smarter context reads, batched file edits, AST truncation, and Haiku subagents. It installs in seconds with two CLI commands, runs entirely locally with no code upload, and requires no account sign-up. Developers report finishing the same tasks in fewer tokens without changing their existing editor or workflow.

freemium
Omnara logo

Omnara

Command center for Claude Code and Codex — monitor, steer, and voice-control your AI agents from any device.

Omnara is a command center for Claude Code and Codex sessions across desktop, web, mobile, and Apple Watch. Its public site supports cross-device supervision, parallel agents, worktrees, Git, and session-continuity language, with free-offer metadata; teams should verify detailed pricing, relay, privacy, and enterprise controls before standardizing it.

freemium
agentmemory logo

agentmemory

Persistent memory layer for AI coding agents — keeps Claude Code, Codex, Cursor, and any MCP agent in context across sessions

agentmemory is an open-source MCP server that gives AI coding agents persistent, cross-session memory. Built on hybrid vector-graph search, it achieves 95.2% recall on the LongMemEval-S benchmark while using up to 92% fewer context tokens than naive context injection. Works out of the box with Claude Code, Codex, Cursor, Windsurf, Cline, OpenCode, Kilo Code, Hermes, and any MCP client through 51 MCP tools plus 12 hooks and 4 skills.

Open Source

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Grok logo

Grok Build

Top Pick

xAI's terminal coding agent with parallel subagents and worktree-aware automation

Grok Build is xAI's terminal-first coding agent for planning, editing, testing, and reviewing code from a local CLI. The early beta exposes subagent controls, worktree mode, headless JSON output, best-of-N parallel attempts, sandbox profiles, and experimental memory. It fits developers comparing Claude Code, Codex, and Gemini CLI for local agentic workflows with deeper parallel execution.

paid
Ghostty logo

Ghostty

Top Pick

Fast, native terminal emulator

GPU-accelerated terminal emulator written in Zig by Mitchell Hashimoto (HashiCorp co-founder). Native UI rendering on macOS and Linux. Supports ligatures, true color, Kitty graphics protocol, and splits/tabs. Configurable via a simple key-value file with sensible defaults. Open-source with 20K+ GitHub stars and a focus on correctness, speed, and minimal resource usage. Growing as a modern alternative to iTerm2, Alacritty, and WezTerm.

Open Source
Claude Code logo

Claude Code

Top Pick

Anthropic's agentic coding CLI

Anthropic's agentic CLI coding tool that delegates complex tasks to Claude directly from the terminal. Understands entire codebases via automatic context gathering, edits multiple files, runs shell commands, and manages Git workflows autonomously. Supports CLAUDE.md for persistent project instructions, integrates with VS Code and JetBrains, and uses Claude Opus/Sonnet with extended thinking for complex architectural decisions. Built for terminal-first developers.

paid
Codex logo

Codex

Top Pick

OpenAI coding agent for app, editor, terminal, and cloud work

Codex is OpenAI's coding agent for software development across the Codex app, editor, terminal, and cloud tasks. It helps write, review, debug, refactor, and automate code, with ChatGPT plan access for managed surfaces and API-key usage for CLI, SDK, and IDE workflows. The open-source CLI and SDK support local repository work, while cloud features add GitHub review, Slack/Linear integrations, worktrees, skills, MCP, and automations.

freemium
Agent Skills logo

Agent Skills

Open standard for portable skills across AI agents

Agent Skills is the open SKILL.md folder specification for packaging reusable instructions, scripts, references, and assets that compatible AI agents load through progressive disclosure. Originally developed by Anthropic and released as an open standard, it defines the portable format itself—not an example library, marketplace, or hosted agent product.

Open Source
roborev logo

roborev

Continuous local code-review loops for commits produced by AI coding agents

roborev is an MIT-licensed local review system that checks every commit in the background, stores findings in a review queue, and feeds actionable issues back into AI coding sessions. Git hooks, a TUI, branch and dirty-tree analysis, Codex and Claude agent hooks, plus iterative fix/refine commands turn review into a continuous agent workflow.

Open SourceTelemetry

Comparisons

agentmemory vs claude-mem — Protocol-First Memory Server vs Claude Code-Native Extension

Both agentmemory and claude-mem solve the same problem — AI coding agents that forget everything between sessions — but they approach it from opposite directions. agentmemory is a protocol-first MCP server built to work across the entire coding agent ecosystem, with a hybrid vector-graph architecture and a 95.2% recall score on the LongMemEval-S benchmark. claude-mem is a lightweight, Claude Code-native extension that trades cross-agent portability for zero-configuration simplicity.

agentmemoryClaude-Mem

FAQ

What is Claude-Mem?

Claude-Mem is a persistent memory plugin for Claude Code with 44,000+ GitHub stars that captures session context and injects it into future sessions. It features progressive disclosure with token cost visibility, automatic compression, and privacy controls with private tags to manage what gets remembered across coding sessions.

Is Claude-Mem free?

Yes — Claude-Mem is open source and free to use. Free and open-source (AGPL-3.0)

Is Claude-Mem open source?

Yes — Claude-Mem is open source.

What are the best Claude-Mem alternatives?

The top editor-verified Claude-Mem alternatives are Serena, Claude-Flow, Baton, and more.