Home/Compare/claude-mem vs cognee

Comparison

claude-mem vs cognee

Verdict

Unverified catalog guidance: claude-mem: claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity. cognee: When evaluating Cognee, consider its self-hosted persistence capability and the extensive support it offers through multiple programming languages (Python, Rust, TypeScript). It uses vector databases to provide efficient.

Markdown twin · claude-mem alternatives · cognee alternatives

GraphCanon updated Sep 20, 2026

claude-mem logo

claude-mem

thedotmack/claude-mem

★ 91kpushed Aug 17, 2026
vs
cognee logo

cognee

topoteretes/cognee

★ 31kpushed Sep 19, 2026

Trust & integrity

Signalclaude-memcognee
Maintenance
Very active (0d since push)
As of Aug 18, 2026 · github_public_v1
Very active (0d since push)
As of Sep 20, 2026 · github_public_v1
Provenance
Not a fork · Personal account
As of Aug 18, 2026 · github_public_v1
Not a fork · Organization account
As of Sep 20, 2026 · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of Jul 11, 2026 · osv@v1
No lockfile (source not queried)
As of Jul 11, 2026 · osv@v1
deps.dev advisories
Not queried
deps.dev@v1
Not queried
deps.dev@v1
OpenSSF Scorecard
Not queried
openssf-scorecard@v1
Not queried
openssf-scorecard@v1

Tagline

claude-mem
Persistent Context Across Sessions for Every Agent
cognee
Cognee is the open-source AI memory platform for agents.

Stars

claude-mem
91k
cognee
31k

Forks

claude-mem
8.0k
cognee
3.1k

Open issues

claude-mem
200
cognee
482

Language

claude-mem
JavaScript
cognee
Python

Adopt for

claude-mem
Unverified catalog guidance: claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity.
cognee
Unverified catalog guidance: When evaluating Cognee, consider its self-hosted persistence capability and the extensive support it offers through multiple programming languages (Python, Rust, TypeScript). It uses vector databases to provide efficient

Persona

claude-mem
-
cognee
-

Runtime

claude-mem
-
cognee
-

License

claude-mem
Claude-Mem is distributed under the Apache License 2.0, allowing it to be freely used in a variety of development and production environments while maintaining clear licensing terms.
cognee
Apache-2.0

Last pushed

claude-mem
Aug 17, 2026
cognee
Sep 19, 2026

Categories

claude-mem
AI Agents, Inference & Serving
cognee
AI Agents, Vector Databases

Trust and health

Open issues (recorded)

claude-mem
200
cognee
482

Stars delta

claude-mem
+3.3k (30d)
cognee
+729 (30d)

Open issues delta

claude-mem
-116 (30d)
cognee
+123 (30d)

Owner type

claude-mem
User
cognee
Organization

Full report

claude-mem
Trust report

Stored relationship proposal (unverified)

claude-mem proposed alternative cogneeUnverified rationale: Both tools provide persistent memory solutions for AI agents, making them alternatives in solving the same problem.

Choose claude-mem if…

  • claude-mem is primarily JavaScript; cognee is Python.
  • Requirements: Requires Node.js v20.0.0 or higher.; Must have the latest version of Claude Code with plugin support.; Auto-installs Bun (JavaScript runtime and process manager) if not already present.; Requires uv (Python package for vector search), auto-installation supported..
  • Tags unique to claude-mem: ai-memory, chromadb, claude, long-term-memory.
  • Also covers Inference & Serving.
  • Unverified catalog guidance: When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.

When NOT to use claude-mem

  • Unverified catalog guidance: When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate.
  • Unverified catalog guidance: If your specific AI agent or tool does not integrate with the supported frameworks listed (e.g., Claude Code, OpenClaw), making context persistence ineffective for your workflow.

Choose cognee if…

  • cognee is primarily Python; claude-mem is JavaScript.
  • Tags unique to cognee: agent-memory, docker, knowledge-graph, open-source.
  • Also covers Vector Databases.
  • Unverified catalog guidance: - You are developing AI agents that require persistent long-term memory across different sessions.

When NOT to use cognee

  • Unverified catalog guidance: - Your project does not require persistent memory storage, or your agents operate fully within short-lived sessions without the need for past context.
  • Unverified catalog guidance: - You are aiming for minimal setup overhead and prefer a cloud-based solution that requires less maintenance on your infrastructure side.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: claude-mem 91k · cognee 31k (synced Sep 20, 2026).

Common questions

What is the difference between claude-mem and cognee?
claude-mem: Persistent Context Across Sessions for Every Agent. cognee: Cognee is the open-source AI memory platform for agents.. See the comparison table for recorded GitHub metadata and shared categories.
When should I choose claude-mem over cognee?
For claude-mem, compare these recorded points with cognee: claude-mem is primarily JavaScript; cognee is Python; Requirements: Requires Node.js v20.0.0 or higher.; Must have the latest version of Claude Code with plugin support.; Auto-installs Bun (JavaScript runtime and process manager) if not already present.; Requires uv (Python package for vector search), auto-installation supported.; Tags unique to claude-mem: ai-memory, chromadb, claude, long-term-memory; Also covers Inference & Serving; Unverified catalog guidance: When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.
When should I choose cognee over claude-mem?
For cognee, compare these recorded points with claude-mem: cognee is primarily Python; claude-mem is JavaScript; Tags unique to cognee: agent-memory, docker, knowledge-graph, open-source; Also covers Vector Databases; Unverified catalog guidance: - You are developing AI agents that require persistent long-term memory across different sessions.
When should I avoid claude-mem?
Unverified catalog guidance: When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate. Unverified catalog guidance: If your specific AI agent or tool does not integrate with the supported frameworks listed (e.g., Claude Code, OpenClaw), making context persistence ineffective for your workflow.
When should I avoid cognee?
Unverified catalog guidance: - Your project does not require persistent memory storage, or your agents operate fully within short-lived sessions without the need for past context. Unverified catalog guidance: - You are aiming for minimal setup overhead and prefer a cloud-based solution that requires less maintenance on your infrastructure side.
Is claude-mem or cognee more popular on GitHub?
claude-mem has more recorded GitHub stars (91,018 vs 30,850). Stars measure visibility, not whether either tool fits your constraints.
Which licenses are recorded for claude-mem and cognee?
claude-mem: Apache-2.0. cognee: Apache-2.0. Check each repository's current license and terms before use. Public GitHub hosting alone does not establish open-source licensing.
Where can I find alternatives to claude-mem or cognee?
GraphCanon lists candidates at claude-mem alternatives and cognee alternatives (claude-mem markdown twin, cognee markdown twin). The discovery order uses stored relationship proposals and shared categories; it is not a verified replacement ranking.
Is there a machine-readable version of this comparison?
Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
Which is better maintained, claude-mem or cognee?
claude-mem: Very active. cognee: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
Where are the full trust reports for claude-mem and cognee?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: claude-mem trust report; cognee trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.