Comparison
PurpleLlama vs claude-mem
Verdict
Pick PurpleLlama when purpleLlama is primarily Python; claude-mem is JavaScript; pick claude-mem when claude-mem is primarily JavaScript; PurpleLlama is Python.
Markdown twin · PurpleLlama alternatives · claude-mem alternatives
GraphCanon updated today
vs
Trust & integrity
| Signal | PurpleLlama | claude-mem |
|---|---|---|
| Maintenance | Active (10d since push) As of today · github_public_v1 | Very active (1d since push) As of today · github_public_v1 |
| Provenance | Not a fork · Organization account As of today · github_public_v1 | Not a fork · Personal account As of today · github_public_v1 |
| Security (OSV) | No lockfile As of today · none | No lockfile As of today · none |
Tagline
- PurpleLlama
- Set of tools to assess and improve LLM security.
- claude-mem
- Persistent Context Across Sessions for Every Agent
Stars
- PurpleLlama
- 4.3k
- claude-mem
- 87k
Forks
- PurpleLlama
- 747
- claude-mem
- 7.5k
Open issues
- PurpleLlama
- 75
- claude-mem
- 252
Language
- PurpleLlama
- Python
- claude-mem
- JavaScript
Adopt for
- PurpleLlama
- -
- claude-mem
- claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity.
Persona
- PurpleLlama
- -
- claude-mem
- -
Runtime
- PurpleLlama
- -
- claude-mem
- -
License
- PurpleLlama
- Other
- 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.
Last pushed
- PurpleLlama
- Jul 1, 2026
- claude-mem
- Jul 9, 2026
Categories
- PurpleLlama
- AI Agents, Inference & Serving, LLM Frameworks
- claude-mem
- AI Agents, Inference & Serving
Trust and health
Maintenance
- PurpleLlama
- Active (82%)
- claude-mem
- Very active (96%)
Days since push
- PurpleLlama
- 10d
- claude-mem
- 1d
Open issues (now)
- PurpleLlama
- 75
- claude-mem
- 252
Owner type
- PurpleLlama
- Organization
- claude-mem
- User
Full report
- PurpleLlama
- Trust report
- claude-mem
- Trust report
Choose PurpleLlama if…
- PurpleLlama is primarily Python; claude-mem is JavaScript.
- License: PurpleLlama is Other, claude-mem is Apache-2.0.
- Tags unique to PurpleLlama: python.
- Also covers LLM Frameworks.
When NOT to use PurpleLlama
- AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism.
- Inference & Serving: Self-hosting rarely beats a hosted API on cost until you have steady, high-volume traffic.
- LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.
Choose claude-mem if…
- claude-mem is primarily JavaScript; PurpleLlama is Python.
- License: claude-mem is Apache-2.0, PurpleLlama is Other.
- 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-agents, ai-memory, chromadb, claude.
- 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
- When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate.
- 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.
Explore
Sources
Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.
- GitHub stars (meta-llama/PurpleLlama) · observed Jul 11, 2026
- GitHub forks (meta-llama/PurpleLlama) · observed Jul 11, 2026
- Last push (meta-llama/PurpleLlama) · observed Jul 1, 2026
- License file (Other) · observed Jul 11, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
- GitHub stars (thedotmack/claude-mem) · observed Jul 11, 2026
- GitHub forks (thedotmack/claude-mem) · observed Jul 11, 2026
- Last push (thedotmack/claude-mem) · observed Jul 9, 2026
- License file (Apache-2.0) · observed Jul 11, 2026
- Decision facts (enrichment) · observed Jul 11, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
GitHub stars on cards: PurpleLlama 4.3k · claude-mem 87k (synced Jul 11, 2026).
Common questions
- What is the difference between PurpleLlama and claude-mem?
- PurpleLlama: Set of tools to assess and improve LLM security.. claude-mem: Persistent Context Across Sessions for Every Agent. See the comparison table for live GitHub stats and shared categories.
- When should I choose PurpleLlama over claude-mem?
- Choose PurpleLlama over claude-mem when PurpleLlama is primarily Python; claude-mem is JavaScript; License: PurpleLlama is Other, claude-mem is Apache-2.0; Tags unique to PurpleLlama: python; Also covers LLM Frameworks.
- When should I choose claude-mem over PurpleLlama?
- Choose claude-mem over PurpleLlama when claude-mem is primarily JavaScript; PurpleLlama is Python; License: claude-mem is Apache-2.0, PurpleLlama is Other; 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-agents, ai-memory, chromadb, claude; When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.
- When should I avoid PurpleLlama?
- AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism. Inference & Serving: Self-hosting rarely beats a hosted API on cost until you have steady, high-volume traffic. LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.
- When should I avoid claude-mem?
- When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate. 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.
- Is PurpleLlama or claude-mem more popular on GitHub?
- claude-mem has more GitHub stars (86,816 vs 4,269). Stars measure visibility, not whether either tool fits your constraints.
- Are PurpleLlama and claude-mem open source?
- Yes - both are open-source projects on GitHub (PurpleLlama: Other, claude-mem: Apache-2.0).
- Where can I find alternatives to PurpleLlama or claude-mem?
- GraphCanon lists graph-backed alternatives at PurpleLlama alternatives and claude-mem alternatives (PurpleLlama markdown twin, claude-mem markdown twin), ranked by typed relationship edges rather than popularity votes.
- 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, PurpleLlama or claude-mem?
- PurpleLlama: Active. claude-mem: 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 PurpleLlama and claude-mem?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: PurpleLlama trust report; claude-mem trust report.