agentmemory vs claude-mem

agentmemory and claude-mem share 4 technologies: Anthropic, @clack/prompts, Zod, and typebox. Both are written in TypeScript.

Read it as markdown

What they share and what sets them apart

rohitg00

agentmemory

#1 Persistent memory for AI coding agents based on real-world benchmarks

TypeScript30.2kRead on November 7, 2026, at commit 50a5501What is agentmemory built with?

Only in agentmemory

In common

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

TypeScript112.5kRead on November 4, 2026, at commit d8bf121What is claude-mem built with?

Only in claude-mem

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
agentmemory176,141 lines written268 code files
claude-mem516,621 lines written808 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
agentmemory2.3% of its commits signed by AIWith Claude Code, Devin, Cursor, Factory, GitHub Copilot, and CodeRabbit
claude-mem61.1% of its commits signed by AIWith Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit
ActivityFrom GitHub and its history, on the day SeeRepo read it.
agentmemoryLast push November 7, 2026596 commits30,189 stars
claude-memLast push November 4, 20263,582 commits112,476 stars
TestsThe files that test the code, and the share of code files a test imports.
agentmemory365 test files79.9% of its code files have a test that imports them
claude-mem1,299 test files70.3% of its code files have a test that imports them

Frequently asked questions

Which is bigger, agentmemory or claude-mem?
claude-mem, with 516,621 lines written; agentmemory has 176,141.

The proof: thedotmack/claude-mem's code at commit d8bf121

Which has more GitHub stars, agentmemory or claude-mem?
claude-mem, with 112,476 stars; agentmemory has 30,189.

The proof: thedotmack/claude-mem on GitHub

Which has more tests, agentmemory or claude-mem?
claude-mem, with 1,299 test files; agentmemory has 365.

The proof: thedotmack/claude-mem's code at commit d8bf121

Which was updated more recently, agentmemory or claude-mem?
agentmemory: its last push was on November 7, 2026, and claude-mem's on November 4, 2026.

The proof: rohitg00/agentmemory's commits on GitHub

Which has more commits signed by AI, agentmemory or claude-mem?
claude-mem: an AI signed 61.1% of its commits, with Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit; in agentmemory, 2.3%.

The proof: the commits each tool signed in thedotmack/claude-mem

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →