aicoolies logo

Claude-Mem

Persistent memory plugin for Claude Code with automatic context injection

Share
open-sourceOpen Source
Visit Website →

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

Alternatives

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-sourceOpen Source

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-sourceOpen 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

Related Tools

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-sourceOpen 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.

paidOpen Source
Hermes Agent logo

Hermes Agent

Top Pick

Open-source AI agent framework with persistent memory, reusable skills, tools, and messaging gateways

Hermes Agent is an open-source AI agent framework with persistent memory, reusable skills, 40+ tools, cron jobs, and messaging gateways.

open-sourceOpen Source
pi dev code

Pi

Top Pick

Minimal terminal coding harness

Pi Coding Agent is an MIT-licensed Node.js CLI from earendil-works for building and running coding agents in a local terminal. The current package describes a read/bash/edit/write toolset and session management, while the repo positions Pi as a unified LLM API, agent loop, TUI, and coding-agent CLI. It is best framed as a lean, self-extensible BYO-model toolkit rather than a managed IDE.

open-sourceOpen Source
OpenCode logo

OpenCode

Top Pick

Open-source AI coding agent for the terminal

Open-source terminal-based AI coding agent built in Go by the SST team, with a rich TUI (Bubble Tea) supporting 75+ model providers including OpenAI, Anthropic, Gemini, Bedrock, Groq, and OpenRouter. Features vim-like editing, persistent SQLite sessions, and LSP integration for 40+ languages. Fully free with no vendor lock-in, it has rapidly grown to 95k+ GitHub stars.

open-source
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.

freemiumOpen Source

Comparisons