---
title: "superagent vs claude-mem"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/superagent-ai-superagent-vs-thedotmack-claude-mem"
tools: ["superagent-ai-superagent", "thedotmack-claude-mem"]
---

# superagent vs claude-mem

*GraphCanon updated Jul 12, 2026*

## Verdict

Pick superagent if superagent is an open-source SDK designed to protect AI applications from prompt injections, data leaks, and harmful outputs. It supports integration directly within TypeScript or Python applications; pick claude-mem if claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity.

[superagent](https://superagent.sh) reports 6.7k GitHub stars, 963 forks, and 9 open issues, last pushed Apr 11, 2026. [claude-mem](https://claude-mem.ai) has 87k stars, 7.5k forks, and 252 open issues, last pushed Jul 9, 2026. Figures are from public GitHub metadata via [superagent's repository](https://github.com/superagent-ai/superagent) and [claude-mem's repository](https://github.com/thedotmack/claude-mem).

| | [superagent](/tools/superagent-ai-superagent.md) | [claude-mem](/tools/thedotmack-claude-mem.md) |
| --- | --- | --- |
| Tagline | Superagent SDK | Persistent Context Across Sessions for Every Agent |
| Stars | 6,669 | 86,816 |
| Forks | 963 | 7,500 |
| Open issues | 9 | 252 |
| Language | TypeScript | JavaScript |
| Adopt for | Superagent is an open-source SDK designed to protect AI applications from prompt injections, data leaks, and harmful outputs. It supports integration directly within TypeScript or Python applications. | claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity. |
| Persona | - | - |
| Runtime | - | - |
| License | MIT License permits use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the SDK, provided that copyright notices and license texts accompany any distributed parts. | 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. |
| Categories | Evaluation & Observability | AI Agents, Inference & Serving |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [superagent](/tools/superagent-ai-superagent.md) | [claude-mem](/tools/thedotmack-claude-mem.md) |
| --- | --- | --- |
| Maintenance | Slowing (36%) | Very active (96%) |
| Days since push | 91d | 1d |
| Open issues (now) | 9 | 252 |
| Owner type | Organization | User |
| Full report | [trust report](/tools/superagent-ai-superagent/trust.md) | [trust report](/tools/thedotmack-claude-mem/trust.md) |

## Shared compatibility

- **Node.js**: [superagent](/tools/superagent-ai-superagent.md) - Node.js runtime; [claude-mem](/tools/thedotmack-claude-mem.md) - Node.js runtime
- **Python**: [superagent](/tools/superagent-ai-superagent.md) - Python runtime; [claude-mem](/tools/thedotmack-claude-mem.md) - Python runtime

## Decision facts: superagent

- **Hosting:** managed - Superagent requires integrating their API via an SDK for TypeScript or Python applications. Users must obtain an API key for accessing these services.
- **Adopt for:** Superagent is an open-source SDK designed to protect AI applications from prompt injections, data leaks, and harmful outputs. It supports integration directly within TypeScript or Python applications.
- **License detail:** MIT License permits use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the SDK, provided that copyright notices and license texts accompany any distributed parts.

## Decision facts: claude-mem

- **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.
- **Adopt for:** claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity.
- **License detail:** 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.

## Choose when

### Choose superagent if…

- superagent is primarily TypeScript; claude-mem is JavaScript.
- License: superagent is MIT, claude-mem is Apache-2.0.
- Superagent requires integrating their API via an SDK for TypeScript or Python applications. Users must obtain an API key for accessing these services.
- Tags unique to superagent: ai, anthropic, guardrails, llm.
- Also covers Evaluation & Observability.
- Use Superagent when you need a proactive solution that can detect and block malicious activities such as prompt injections and redact personal information automatically.

### Choose claude-mem if…

- claude-mem is primarily JavaScript; superagent is TypeScript.
- License: claude-mem is Apache-2.0, superagent is MIT.
- 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.
- Also covers AI Agents, Inference & Serving.
- When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.

## When NOT to use superagent

- Avoid using Superagent when your project does not require the specific safety measures it offers, such as prompt injection prevention or scanning GitHub repositories for malicious activities.
- If another tool in the same category provides better coverage or more advanced features that are critical to your application's security needs and aligns closer with your tech stack.

## 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.

## Common questions

### What is the difference between superagent and claude-mem?

superagent: Superagent SDK. claude-mem: Persistent Context Across Sessions for Every Agent. See the comparison table for live GitHub stats and shared categories.

### When should I choose superagent over claude-mem?

Choose superagent over claude-mem when superagent is primarily TypeScript; claude-mem is JavaScript; License: superagent is MIT, claude-mem is Apache-2.0; Superagent requires integrating their API via an SDK for TypeScript or Python applications. Users must obtain an API key for accessing these services; Tags unique to superagent: ai, anthropic, guardrails, llm; Also covers Evaluation & Observability; Use Superagent when you need a proactive solution that can detect and block malicious activities such as prompt injections and redact personal information automatically.

### When should I choose claude-mem over superagent?

Choose claude-mem over superagent when claude-mem is primarily JavaScript; superagent is TypeScript; License: claude-mem is Apache-2.0, superagent is MIT; 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; Also covers AI Agents, Inference & Serving; When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.

### When should I avoid superagent?

Avoid using Superagent when your project does not require the specific safety measures it offers, such as prompt injection prevention or scanning GitHub repositories for malicious activities. If another tool in the same category provides better coverage or more advanced features that are critical to your application's security needs and aligns closer with your tech stack.

### 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 superagent or claude-mem more popular on GitHub?

claude-mem has more GitHub stars (86,816 vs 6,669). Stars measure visibility, not whether either tool fits your constraints.

### Are superagent and claude-mem open source?

Yes - both are open-source projects on GitHub (superagent: MIT, claude-mem: Apache-2.0).

### Where can I find alternatives to superagent or claude-mem?

GraphCanon lists graph-backed alternatives at [superagent alternatives](/tools/superagent-ai-superagent/alternatives) and [claude-mem alternatives](/tools/thedotmack-claude-mem/alternatives) ([superagent markdown twin](/tools/superagent-ai-superagent/alternatives.md), [claude-mem markdown twin](/tools/thedotmack-claude-mem/alternatives.md)), 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](/compare/superagent-ai-superagent-vs-thedotmack-claude-mem.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, superagent or claude-mem?

superagent: Slowing. 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 superagent and claude-mem?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [superagent trust report](/tools/superagent-ai-superagent/trust); [claude-mem trust report](/tools/thedotmack-claude-mem/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=superagent-ai-superagent`](/api/graphcanon/graph?tool=superagent-ai-superagent)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
