claude-mem: Persistent Cross-Session Memory for AI Agents

Repositorythedotmack/claude-memTool

The open-source project claude-mem (now also branded as Grok Mem) captures agent activity during active sessions, compresses it with AI, and injects relevant context back into future runs.

Key points

  1. Addresses context loss between separate sessions across coding and conversational AI agents.
  2. Logs session activity, compresses data via AI, and retrieves relevant memory for upcoming tasks.
  3. Employs JavaScript alongside SQLite and ChromaDB for vector storage and retrieval-augmented context injection.
  4. Works across diverse agent platforms including Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, and OpenCode.
  5. Designed to sit alongside existing agent memory mechanisms rather than fully replacing them.

Why it matters

Context resets between agent sessions force developers to repeatedly explain project structure and previous decisions. Persistent external memory makes multi-session coding workflows far more cohesive and lowers operational overhead.

Analysis

With over 93,000 stars, more than 8,000 forks, and documentation translated into dozens of languages, the project exhibits significant traction and community maturity. Broad compatibility across leading agent frameworks makes it a widely adopted utility for long-running agent workflows.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Repository:rohitg00/agentmemory

    agentmemory: Persistent Memory for AI Coding Agents

    agentmemory is an open-source TypeScript solution providing persistent memory for coding agents and MCP clients. Powered by the iii engine, it builds on Andrej Karpathy's LLM Wiki pattern by introducing confidence scoring, lifecycle management, knowledge graphs, and hybrid search.

    28kstarsTypeScript

    AI & LLMs· Tool

  • Repository:Gentleman-Programming/engram

    Engram: Persistent Memory System for AI Coding Agents

    Engram is an open-source, agent-agnostic memory engine written in Go that provides AI coding assistants with persistent memory across sessions.

    6.4kstarsGo

    AI & LLMs· Tool

  • Article:Anthropic

    How Claude Code Retains Project Context: CLAUDE.md and Auto Memory Explained

    Anthropic outlines the memory architecture of Claude Code. Because every session starts with a clean context window, the CLI tool relies on two complementary systems: user-defined CLAUDE.md files for explicit instructions and an auto memory feature that records learnings from user feedback.

    AI & LLMs· Resource

  • Repository:EveryInc/compound-engineering-plugin

    Compound Engineering: 33-Skill Plugin for AI Coding Agents

    Compound Engineering is an open-source plugin for AI coding agents designed to structure development workflows and systematically preserve learned context. It runs on 14 platforms, including Claude Code, Cursor, and Codex.

    24.9kstarsTypeScript

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.