Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/thedotmack/claude-mem
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/thedotmack/claude-mem.md
Description: ai-agent-book and claude-mem share 5 technologies: React, Vite, Postgres, Anthropic, and PostHog. ai-agent-book is written in Python and claude-mem in TypeScript.

# ai-agent-book vs claude-mem

ai-agent-book and claude-mem share 5 technologies: React, Vite, Postgres, Anthropic, and PostHog. ai-agent-book is written in Python and claude-mem in TypeScript.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [thedotmack/claude-mem](https://seerepo.com/r/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

## What they share and what sets them apart

- In common: React, Vite, Postgres, Anthropic, PostHog
- Only in ai-agent-book: Next.js, Astro, Express, FastAPI, OpenAI, Google
- Only in claude-mem: MCP

## Side by side

| | ai-agent-book | claude-mem |
|---|---|---|
| Size | 422,452 lines written, 1,096 code files | 488,121 lines written, 766 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 61.2% of its commits signed by AI. With Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit |
| Activity | Last push October 8, 2026, 1,610 commits, 56,304 stars | Last push October 29, 2026, 3,427 commits, 104,050 stars |
| Tests | 624 test files. 34.1% of its code files have a test that imports them | 1,220 test files. 68.9% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, ai-agent-book or claude-mem?

claude-mem, with 488,121 lines written in 766 code files; ai-agent-book has 422,452 in 1,096.

The proof: [thedotmack/claude-mem's code at commit d7c2da3](https://github.com/thedotmack/claude-mem/tree/d7c2da3e5f9397b394dbc6b6966f4b261b489f7b)

### Which has more GitHub stars, ai-agent-book or claude-mem?

claude-mem, with 104,050 stars; ai-agent-book has 56,304.

The proof: [thedotmack/claude-mem on GitHub](https://github.com/thedotmack/claude-mem)

### Which has more tests, ai-agent-book or claude-mem?

claude-mem, with 1,220 test files; ai-agent-book has 624.

The proof: [thedotmack/claude-mem's code at commit d7c2da3](https://github.com/thedotmack/claude-mem/tree/d7c2da3e5f9397b394dbc6b6966f4b261b489f7b)

### Which was updated more recently, ai-agent-book or claude-mem?

claude-mem: its last push was on October 29, 2026, and ai-agent-book's on October 8, 2026.

The proof: [thedotmack/claude-mem's commits on GitHub](https://github.com/thedotmack/claude-mem/commits)

### Which has more commits signed by AI, ai-agent-book or claude-mem?

claude-mem: an AI signed 61.2% of its commits, with Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit; in ai-agent-book, 20.8%.

The proof: [the commits each tool signed in thedotmack/claude-mem](https://seerepo.com/r/thedotmack/claude-mem/ai)

## Sources

- bojieli/ai-agent-book: Read on October 28, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- thedotmack/claude-mem: Read on October 29, 2026, at commit d7c2da3 (https://github.com/thedotmack/claude-mem/tree/d7c2da3e5f9397b394dbc6b6966f4b261b489f7b)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
