gitwtfhub

wtf is cmem?

helixdb/cmem — explained in plain English

Analysis updated 2026-08-08 · repo last pushed 2026-07-31

Audience · developerComplexity · 3/5ActiveLicenseSetup · moderate

TL;DR

Claude-Mem gives AI coding assistants persistent memory across sessions by capturing, summarizing, and replaying context automatically so you never re-explain your project to your AI again.

Mindmap

mindmap
  root((repo))
    What it does
      Captures session activity
      Generates semantic summaries
      Injects context into new sessions
    Search and storage
      Local SQLite database
      Vector database for semantic search
      Natural language query tools
    Supported agents
      Claude Code
      OpenCode and Codex
      Gemini and Copilot
    Integrations
      Slack via OpenClaw
      Discord via OpenClaw
      Telegram via OpenClaw
    Privacy and sync
      Private tags to exclude content
      Optional cloud sync backup
      Workflow mode configuration
    Audience
      Developers using AI assistants
      Founders on ongoing projects

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Resume debugging a bug in a new AI session without re-explaining the problem you solved yesterday.

REASON 2

Search past coding sessions in natural language to find decisions and context from weeks ago.

REASON 3

Send real-time updates of AI coding activity to Slack, Discord, or Telegram via the OpenClaw gateway.

REASON 4

Keep sensitive code snippets private by wrapping them in private tags so they are never stored.

What's in the stack?

SQLiteVector DatabaseNode.jsOpenClaw

How it stacks up

helixdb/cmem000madz000/rfid-attendance00kaku/gallery-slider-block
LanguageTypeScriptJavaScript
Last pushed2026-07-312024-07-222021-05-19
MaintenanceActiveDormantDormant
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires installing the tool, configuring hooks into your AI coding agent, and setting up a local SQLite plus vector database for semantic search.

Use freely for any purpose including commercial use and embedding in production systems, as long as you include the license notice.

Wtf does this do

Claude-Mem gives AI coding assistants a persistent memory across sessions. Normally, when you end a conversation with an AI coding tool like Claude Code, it forgets everything that happened. This project fixes that by capturing what your agent does during each session, compressing it into summaries, and feeding relevant context back into future sessions automatically. The tool hooks into the lifecycle of your AI coding sessions. As you work, it observes what tools get used and what happens, then stores those observations in a local database. A background worker service processes everything and generates semantic summaries. When you start a new session, relevant memories from past sessions get injected so the AI has continuity about your project. It also provides search tools that let the AI query past history using natural language, with a layered approach designed to save tokens, first getting a compact index of results, then pulling full details only for the ones that matter. This is for developers and founders who use AI coding assistants regularly on ongoing projects and are tired of re-explaining context every time they start a new session. If you spent yesterday debugging an authentication bug with Claude Code, today's session can pick up where you left off without you re-describing the problem. It works with several coding agents including Claude Code, OpenCode, Codex, Gemini, Copilot, and others listed in the README. The project also supports optional real-time feeds to messaging platforms like Slack, Discord, or Telegram via the OpenClaw gateway integration. A few things stand out about how it's built. It uses a hybrid search system combining a local SQLite database with a vector database for semantic search, meaning it can find related context even when the wording doesn't match exactly. It also offers privacy controls, you can wrap sensitive content in <private> tags to exclude it from being stored. The README notes an available cloud sync feature for backing up memories, and configuration options let you switch between different workflow modes and languages. The project is Apache 2.0 licensed, chosen specifically so it can be embedded in various developer tools and production systems.

Yoink these prompts

Prompt 1
I use Claude Code for my project but I keep re-explaining context every session. Set up Claude-Mem so my AI coding assistant remembers what happened in previous sessions automatically.
Prompt 2
I want my AI coding sessions to send real-time updates to my Slack channel so my team can follow along. Configure Claude-Mem with the OpenClaw gateway integration for Slack.
Prompt 3
Help me install Claude-Mem and configure it to work with both Claude Code and OpenCode, including setting up the SQLite and vector database for hybrid semantic search.
Prompt 4
Set up Claude-Mem privacy controls so that any code I wrap in private tags gets excluded from being stored in the memory database.
Prompt 5
Configure Claude-Mem cloud sync so my AI coding session memories get backed up and I can restore them across machines.

Frequently asked questions

wtf is cmem?

Claude-Mem gives AI coding assistants persistent memory across sessions by capturing, summarizing, and replaying context automatically so you never re-explain your project to your AI again.

Is cmem actively maintained?

Active — commit in last 30 days (last push 2026-07-31).

What license does cmem use?

Use freely for any purpose including commercial use and embedding in production systems, as long as you include the license notice.

How hard is cmem to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is cmem for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.