📈 GH Trending Explorer 🎲 Surprise me

← all repos

thedotmack / claude-mem

git clone https://github.com/thedotmack/claude-mem.git v14.0.1 · 3d ago 🔥 on GitHub Trending today

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

—
stars, 24h
—
stars, 7 days
+8.0k
stars, 30 days · #44
102k
★ total
9.0k
forks · 96 open issues

Star history starts 2026-10-20; the chart appears after the second daily snapshot.

LanguageTypeScript
LicenseApache-2.0
Created2025-08-31 (1y ago)
Last pushtoday
Watchers321
OwnerUser

Seen on GitHub Trending

  • 2026-10-20 — #7 monthly in typescript · +8,030 ★

GitHub topics

Links

README excerpt
🇨🇳 中文 •
 🇹🇼 繁體中文 •
 🇯🇵 日本語 •
 🇵🇹 Português •
 🇧🇷 Português •
 🇰🇷 한국어 •
 🇪🇸 Español •
 🇩🇪 Deutsch •
 🇫🇷 Français •
 🇮🇱 עברית •
 🇸🇦 العربية •
 🇷🇺 Русский •
 🇵🇱 Polski •
 🇨🇿 Čeština •
 🇳🇱 Nederlands •
 🇹🇷 Türkçe •
 🇺🇦 Українська •
 🇻🇳 Tiếng Việt •
 🇵🇭 Tagalog •
 🇮🇩 Indonesia •
 🇹🇭 ไทย •
 🇮🇳 हिन्दी •
 🇧🇩 বাংলা •
 🇵🇰 اردو •
 🇷🇴 Română •
 🇸🇪 Svenska •
 🇮🇹 Italiano •
 🇬🇷 Ελληνικά •
 🇭🇺 Magyar •
 🇫🇮 Suomi •
 🇩🇰 Dansk •
 🇳🇴 Norsk 
 Persistent memory compression system built for Claude Code . 
 Quick Start •
 How It Works •
 Search Tools •
 Documentation •
 Configuration •
 Troubleshooting •
 License 
 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.
---
## Quick Start
Install claude-mem for Grok Bot:
 [code] 
Grok Bot has no host hooks, so we watch the chat log files. Default is CMEM Pro, the hosted memory. Local observer is opt-in: `--provider host`. Installing this plugin does not install Cursor.
**Awareness push pilot (LFG + Orifice):** needle observations (`decision`, `bugfix`, `security_alert`, `sensitive`) are appended as dated `- YYYY-MM-DD [awareness] …` lines into that bot's `memory/log/YYYY-MM.md`. Grok Bot already re-reads the log from disk. This does not write `profile.md`, user-memory, or project memory. Disable with `CLAUDE_MEM_GROK_BOT_AWARENESS_ENABLED=false`.
Install with a single command:
 [code] 
The installer sets everything up first, then asks you to sign in to claude-mem in your browser (email magic link — no card required). Signing in provisions a memory key for your account and unlocks the **claude-mem observer** with a **30 Day Free Trial**: memory runs off-plan, so you get up to 100% more usage from your plan. When the free trial ends, memory automatically falls back to your Anthropic plan unless you subscribe. After sign-in you pick your memory provider — the claude-mem observer, your own OpenRouter or Gemini key, or your Anthropic plan.
Prefer to skip the sign-in? Pass an explicit `--provider` flag, set `CLAUDE_MEM_ONLINE_OPTIN=false`, or run in CI/non-interactive shells — the installer completes without any account interaction.
Or install for OpenCode:
 [code] 
This works with OpenCode 1.3.4 or later, including OpenCode 2. Restart OpenCode after installing.
Or install for **T3 Code** (Codex and Claude Code providers):
 [code] 
The installer discovers T3 Code's enabled providers, registers native Claude-Mem plugins in their configured homes, and supports T3-managed Codex. Restart T3 Code, trust the provider's hooks when prompted, and start a new thread. See the T3 Code integration guide for custom server settings, status, and removal.
Or install for Antigravity CLI (setup guide):
 [code] 
Or install for OMP (Oh My Pi):
 [code] 
Or install the native Pi extension or DeepSeek Harness plugi