Skip to content
DevUtils Online

AI Agents

claude-mem vs langchain

Too close to call · 97.2 to 97.9

A · level

claude-mem

97.2

117,865 stars · Apache-2.0

B · level

langchain

97.9

149,766 stars · MIT

claude-mem versus langchain is a AI Agents comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. claude-mem is written mainly in TypeScript; langchain is written mainly in Python. The composite score is 97.2 for claude-mem and 97.9 for langchain.

langchain has 149,766 GitHub stars to claude-mem's 117,865, a gap of 31,901 (1.27×). Forks are 10,242 for claude-mem and 25,149 for langchain. On the log scale used inside this pair, adoption is 98 versus 100, and the fork community is 91 versus 100.

Push history: claude-mem was last pushed on 17 November 2026 (0 days ago), and langchain was last pushed on 17 November 2026 (0 days ago). Open issues stand at 159 for claude-mem (0.001 per star) and 759 for langchain (0.005 per star). Issue-health scores are 96 and 84; activity scores are 100 and 100.

claude-mem is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. langchain is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. License scores in this pair are 96 for claude-mem and 96 for langchain. This is a procurement signal, not legal advice.

In AI Agents, both claude-mem (117,865 stars) and langchain (149,766 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: claude-mem is open source, langchain is open source.

The lead is split. claude-mem is furthest ahead on issue health (96 to 84), while langchain is furthest ahead on fork community (100 to 91). Choose the dimension a rollout cannot compromise on.

Composite score: claude-mem 97.2, langchain 97.9. The margin is under one point, so this page calls a tie. Use the dimension breakdown rather than the headline number.

Scores are computed inside this pair only. Method and weights.

Where they separate

The numbers

Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.

claude-mem versus langchain metrics
Signal claude-mem langchain
GitHub stars 117,865 149,766
Forks 10,242 25,149
Open issues 159 759
Adoption 98 100
Activity 100 100
Community 91 100
Issue health 96 84
License 96 96
Self-hosting 100 100
Composite 97.2 97.9

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

Project site · GitHub · Full profile

Questions this page answers

Which has more GitHub stars, claude-mem or langchain?

langchain has more GitHub stars: 149,766 versus 117,865 for claude-mem. The gap is 31,901 stars.

Which was updated more recently, claude-mem or langchain?

Both were last pushed on 17 November 2026.

Can I self-host both claude-mem and langchain?

Yes. This catalog marks both claude-mem and langchain as self-hostable. Confirm each project's deploy docs before you plan a migration.

Which license is easier to embed in a commercial product, claude-mem or langchain?

claude-mem is listed as Apache-2.0, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. langchain is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. Read both grants before you embed either codebase in a hosted product. This is not legal advice.

Who wins the claude-mem vs langchain score?

Neither tool clears a one-point margin. claude-mem scores 97.2 and langchain scores 97.9.

Related comparisons