Built something? We create video reels & spotlights for GitHub projects.Promote your project →
thedotmack
Home / TypeScript / claude-mem

thedotmack/claude-mem

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

TypeScript ◇ ai Apache-2.0
★94.7KSTARS
⑂8.4KFORKS
!309ISSUES
🏆#89GLOBAL RANK
🔥6DAYS TRENDING
🚀
Maintainer Growth Kit for claude-mem

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for thedotmack/claude-mem
CSV

Momentum

+2.4K

STARS · LAST 30 DAYS

79

PER DAY

#22

MOST-STARRED TypeScript

Window7 days30 days90 days
Stars gained+553+2.4K+7.1K
Per day797979
Forks gained+42+168+419

claude-mem gained 2.4K stars in the last 30 days, about 79 a day, and now has 94.7K. It is about 1 year old and has averaged roughly 94.7K stars a year. It ranks #22 among TypeScript repositories and #89 across all languages on GitHubRepo.

Trending Record

claude-mem has maintained a continuous presence across global trending indexes, peaking at #83. Below is the 30-day activity profile:

💡 Overview

claude-mem is an open-source project written in TypeScript: 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.

Engineered for speed, consistency, and developer ease, it solves common hurdles in ai, ai-agents, ai-memory. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in TypeScript for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ npm install claude-mem

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

Node.js >= 18, npm, pnpm or bun

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

claude-mem coordinates its core functionality through a modular TypeScript pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Autonomous AI Agents

Orchestrate intelligent workflows and tool-calling routines with claude-mem.

Model Inference & Prompting

Integrate fast, local or cloud-hosted generative AI models directly into production code.

Context Memory & RAG

Augment language models with dynamic vector retrieval and structured project memory.

Developer Productivity

Automate repetitive engineering tasks, code generation, and test creation using AI agents.

🚀 Getting Started

1

Install claude-mem using your package manager: `npm install claude-mem`

2

Initialize your project workspace or configuration file for claude-mem.

3

Import claude-mem into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `claude-mem --help` to verify successful setup.

👍 Strengths

Active community backing with 94,536 GitHub stars and verified adoption.
Permissive open-source distribution under the Apache-2.0 license.
Built in TypeScript for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with TypeScript and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

F
freeCodeCamp/freeCodeCamp ★ 456.3K TypeScript

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

Compare ↗
D
deepseek-ai/deepseek-harness ★ 237.6K TypeScript

DeepSeek Harness: Everything is a Plugin.

Compare ↗
V
vuejs/vue ★ 212.8K TypeScript

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

Compare ↗
O
anomalyco/opencode ★ 210.6K TypeScript

The open source coding agent.

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with TypeScript, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

thedotmack/claude-mem is currently ranked #89 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#84 hacksider/Deep-Live-Cam Python ★ 96.8K Compare ↗
#85 microsoft/playwright TypeScript ★ 96.7K Compare ↗
#86 puppeteer/puppeteer TypeScript ★ 95.6K Compare ↗
#87 punkpeye/awesome-mcp-servers — ★ 95.6K Compare ↗
#88 ruvnet/RuView Rust ★ 95.2K Compare ↗
#89 thedotmack/claude-mem This Project TypeScript ★ 94.7K
#90 3b1b/manim Python ★ 94.3K Compare ↗
#91 sherlock-project/sherlock Python ★ 92.8K Compare ↗
#92 vllm-project/vllm Python ★ 92.8K Compare ↗
#93 paperclipai/paperclip TypeScript ★ 92.5K Compare ↗
#94 louislam/uptime-kuma JavaScript ★ 91.9K Compare ↗

Frequently Asked Questions

What does claude-mem do? +

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

What language is claude-mem written in? +

The primary language is TypeScript. Topics include: ai, ai-agents, ai-memory, anthropic, artificial-intelligence.

Is claude-mem actively maintained? +

Yes, the last recorded push was on Sep 26, 2026 with 309 open issues being tracked.

How many stars does claude-mem have? +

claude-mem has 94,741 stars and 8,379 forks on GitHub.

How does claude-mem rank among GitHub repositories? +

With 94,741 stars, thedotmack/claude-mem is ranked #89 globally across all repositories tracked on GitHubRepo and #22 among TypeScript projects.

What license is claude-mem distributed under? +

The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.