Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
Sign inSign up free
catalog / Agentic capability / Mem0
◆SkillAgentic capabilityFree

Mem0

Intelligent memory layer for AI agents — automatically extracts, stores, and retrieves relevant context across sessions.

@ai-supply
Installs93k
⟳ upstream ts-v3.1.2 · updated 1d ago
↗ Source repository
← More Agentic capabilityAgentic capability leaderboard →How we grade security →Source ↗
! Grade B · 75/100 · ReviewSecurity assessment
✓No compromise signals33capabilities surfaced1known CVE6of 20 OWASP controls clear
Broad capability surfacePotentially unbounded loopSuspicious network referencesBroad capability surface
scanned 19h ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

Mem0

Mem0 provides AI agents and assistants with a persistent, intelligent memory layer. Unlike simple conversation buffers, Mem0 uses an LLM to extract salient facts from conversations, deduplicates them, and retrieves only the most relevant memories for each new interaction — enabling truly personalized long-running agents.

Key Features

  • Auto-extraction — LLM-powered fact extraction from raw conversations
  • Multi-level memory — user-level, agent-level, session-level, and org-level memory scopes
  • Hybrid storage — vector store (semantic search) + graph store (entity relationships) + key-value (fast facts)
  • Provider-agnostic — works with OpenAI, Anthropic, Groq, and local models; Qdrant, Pinecone, Chroma for storage
  • MCP server — official Mem0 MCP server exposes add_memory and search_memory as tool calls
  • REST API — managed cloud option or self-hosted OSS

Quick Start

pip install mem0ai
from mem0 import Memory

mem = Memory()

# Store a memory
mem.add("I prefer Python over JavaScript", user_id="alice")

# Retrieve relevant memories
results = mem.search("What language does Alice prefer?", user_id="alice")
for r in results:
    print(r["memory"])

Install via ai-supply

npx ai-supply add mem0-agent-memory

Curated mirror of the open-source Mem0 project (Apache-2.0). Install upstream from the repository.

Rating rank
#1
of 35 in Agentic capability
Install rank
#19
of 35 in Agentic capability
Security score
75/100 · B
review
Security rank
#23
of 35 in Agentic capability
Installs
93k
cat avg 186k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Agentic capability leaderboard →
! Security: Review · 7575/100 · grade Bscanned 19h ago
✓ no compromise signals34 risk-surface · 9/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · high confidence (static)
Tools (4)
mem0add_memorysearch_memoryget_all_memory
⚑ filesystem⚑ shell⚑ network⚑ secretsinstall: script:mem0ai-mem0-b357a5a/examples/nemoclaw/setup-mem0-nemoclaw.sh
egress → discord.gg, docs.mem0.ai, platform.claude.com, test.pypi.org, registry.npmjs.org, www.conventionalcommits.org, hatch.pypa.io, pnpm.io +32
skill: mem0-context-loader30 scripts

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM03Supply Chaincritical
Vulnerable/compromised dependencies, models or archives in the artifact.
•Dependency manifest — 12 npm dependencies declared · mem0ai-mem0-b357a5a/cli/node/package.jsonrisk surface
•Dependency manifest — 38 npm dependencies declared · mem0ai-mem0-b357a5a/examples/mem0-demo/package.jsonrisk surface
•Dependency manifest — 37 npm dependencies declared · mem0ai-mem0-b357a5a/examples/multimodal-demo/package.jsonrisk surface
•Dependency manifest — 3 npm dependencies declared · mem0ai-mem0-b357a5a/examples/openai-inbuilt-tools/package.jsonrisk surface
•Dependency manifest — 9 npm dependencies declared · mem0ai-mem0-b357a5a/examples/yt-assistant-chrome/package.jsonrisk surface
•Dependency manifest — 4 npm dependencies declared · mem0ai-mem0-b357a5a/integrations/mem0-plugin/.opencode-plugin/package.jsonrisk surface
•Dependency manifest — 1 pip requirements declared · mem0ai-mem0-b357a5a/integrations/mem0-plugin/requirements.txtrisk surface
•Dependency manifest — 8 npm dependencies declared · mem0ai-mem0-b357a5a/integrations/pi-agent-plugin/package.jsonrisk surface
•Dependency manifest — 20 npm dependencies declared · mem0ai-mem0-b357a5a/integrations/vercel-ai-sdk/package.jsonrisk surface
•Dependency manifest — 19 npm dependencies declared · mem0ai-mem0-b357a5a/mem0-ts/package.jsonrisk surface
•Dependency manifest — 16 npm dependencies declared · mem0ai-mem0-b357a5a/mem0-ts/src/community/package.jsonrisk surface
•Dependency manifest — 25 npm dependencies declared · mem0ai-mem0-b357a5a/mem0-ts/src/oss/package.jsonrisk surface
•Dependency manifest — 20 pip requirements declared · mem0ai-mem0-b357a5a/openmemory/api/requirements.txtrisk surface
•Dependency manifest — 62 npm dependencies declared · mem0ai-mem0-b357a5a/openmemory/ui/package.jsonrisk surface
•Dependency manifest — 66 npm dependencies declared · mem0ai-mem0-b357a5a/server/dashboard/package.jsonrisk surface
•Dependency manifest — 17 pip requirements declared · mem0ai-mem0-b357a5a/server/requirements.txtrisk surface
•Vulnerable dependencies — 345 known vulnerabilities in: postcss@8.5.15, axios@1.16.1, form-data@4.0.5, mongoose@9.6.3, protobufjs@7.6.1, undici@5.28.5, axios@1.17.0, mongoose@9.7.0 (CWE-1395)known CVE · -25 pts
⚠LLM01Prompt Injectionhigh
Adversarial instructions embedded in an artifact that hijack a downstream LLM.
•Prompt-injection phrasing — instruction-subversion language detected · mem0ai-mem0-b357a5a/examples/mem0-demo/app/api/chat/route.ts (CWE-77)expected
⚠LLM05Improper Output Handlinghigh
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — destructive rm -rf / · mem0ai-mem0-b357a5a/.github/workflows/ci.yml (CWE-78)expected
•Suspicious code patterns — child_process exec · mem0ai-mem0-b357a5a/cli/node/src/telemetry.ts (CWE-78)expected
•Suspicious code patterns — OS command execution · mem0ai-mem0-b357a5a/cli/python/src/mem0_cli/telemetry.py (CWE-78)expected
•Suspicious code patterns — OS command execution; dynamic code execution · mem0ai-mem0-b357a5a/cli/python/tests/test_agent_mode.py (CWE-78)expected
•Suspicious code patterns — pipe-to-shell install · mem0ai-mem0-b357a5a/docs/integrations/hermes.mdx (CWE-494)expected
•Suspicious code patterns — environment/secret exfiltration · mem0ai-mem0-b357a5a/docs/templates/api_reference_template.mdx (CWE-200)expected
•Suspicious code patterns — dynamic code execution · mem0ai-mem0-b357a5a/examples/mem0-demo/components/mem0/markdown.tsx (CWE-95)expected
•Suspicious code patterns — destructive rm -rf /; pipe-to-shell install · mem0ai-mem0-b357a5a/examples/nemoclaw/setup-mem0-nemoclaw.sh (CWE-78)expected
⚠LLM06Excessive Agencyhigh
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 2 distinct host(s) · mem0ai-mem0-b357a5a/.github/ISSUE_TEMPLATE/config.ymlexpected
•External endpoints declared — 1 distinct host(s) · mem0ai-mem0-b357a5a/.github/ISSUE_TEMPLATE/documentation_issue.ymlexpected
•External endpoints declared — 4 distinct host(s) · mem0ai-mem0-b357a5a/.github/scripts/infer-component-labels.test.jsexpected
•External endpoints declared — 3 distinct host(s) · mem0ai-mem0-b357a5a/.gitignoreexpected
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · mem0ai-mem0-b357a5a/AGENTS.md (CWE-272)risk surface
•External endpoints declared — 5 distinct host(s) · mem0ai-mem0-b357a5a/CONTRIBUTING.mdexpected
•External endpoints declared — 10 distinct host(s) · mem0ai-mem0-b357a5a/LLM.mdexpected
•External endpoints declared — 15 distinct host(s) · mem0ai-mem0-b357a5a/README.mdexpected
•Egress to a private/loopback host — 127.0.0.1 · mem0ai-mem0-b357a5a/cli/node/tests/agent-mode.test.ts (CWE-918)expected
•Broad capability surface — 4 high-impact capability categories referenced — verify least-privilege · mem0ai-mem0-b357a5a/cli/python/src/mem0_cli/telemetry_sender.py (CWE-272)risk surface
•External endpoints declared — 17 distinct host(s) · mem0ai-mem0-b357a5a/docs/cookbooks/integrations/openai-tool-calls.mdxexpected
•External endpoints declared — 8 distinct host(s) · mem0ai-mem0-b357a5a/docs/docs.jsonexpected
•Egress to a private/loopback host — 0.0.0.0 · mem0ai-mem0-b357a5a/examples/misc/vllm_example.py (CWE-918)expected
•External endpoints declared — 7 distinct host(s) · mem0ai-mem0-b357a5a/examples/nemoclaw/quickstart.mdexpected
•External endpoints declared — 6 distinct host(s) · mem0ai-mem0-b357a5a/examples/nemoclaw/setup-mem0-nemoclaw.shexpected
•Egress to a private/loopback host — 10.0.0.100, 192.168.1.1, 192.168.200.83 · mem0ai-mem0-b357a5a/mem0-ts/src/oss/tests/config-manager.test.ts (CWE-918)expected
⚠LLM07System Prompt Leakagemedium
Secrets, internal hosts or proprietary logic exposed in shipped prompts.
•Internal host / private infrastructure reference — shipped content references a private IP range or internal-only host · mem0ai-mem0-b357a5a/integrations/openclaw/tests/oss-wizard.test.ts (CWE-200)risk surface
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · mem0ai-mem0-b357a5a/README.md (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM02Sensitive Information DisclosurePassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML06AI Supply Chaincritical
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Dependency manifest — 12 npm dependencies declared · mem0ai-mem0-b357a5a/cli/node/package.jsonrisk surface
•Dependency manifest — 38 npm dependencies declared · mem0ai-mem0-b357a5a/examples/mem0-demo/package.jsonrisk surface
•Dependency manifest — 37 npm dependencies declared · mem0ai-mem0-b357a5a/examples/multimodal-demo/package.jsonrisk surface
•Dependency manifest — 3 npm dependencies declared · mem0ai-mem0-b357a5a/examples/openai-inbuilt-tools/package.jsonrisk surface
•Dependency manifest — 9 npm dependencies declared · mem0ai-mem0-b357a5a/examples/yt-assistant-chrome/package.jsonrisk surface
•Dependency manifest — 4 npm dependencies declared · mem0ai-mem0-b357a5a/integrations/mem0-plugin/.opencode-plugin/package.jsonrisk surface
•Dependency manifest — 1 pip requirements declared · mem0ai-mem0-b357a5a/integrations/mem0-plugin/requirements.txtrisk surface
•Dependency manifest — 8 npm dependencies declared · mem0ai-mem0-b357a5a/integrations/pi-agent-plugin/package.jsonrisk surface
•Dependency manifest — 20 npm dependencies declared · mem0ai-mem0-b357a5a/integrations/vercel-ai-sdk/package.jsonrisk surface
•Dependency manifest — 19 npm dependencies declared · mem0ai-mem0-b357a5a/mem0-ts/package.jsonrisk surface
•Dependency manifest — 16 npm dependencies declared · mem0ai-mem0-b357a5a/mem0-ts/src/community/package.jsonrisk surface
•Dependency manifest — 25 npm dependencies declared · mem0ai-mem0-b357a5a/mem0-ts/src/oss/package.jsonrisk surface
•Dependency manifest — 20 pip requirements declared · mem0ai-mem0-b357a5a/openmemory/api/requirements.txtrisk surface
•Dependency manifest — 62 npm dependencies declared · mem0ai-mem0-b357a5a/openmemory/ui/package.jsonrisk surface
•Dependency manifest — 66 npm dependencies declared · mem0ai-mem0-b357a5a/server/dashboard/package.jsonrisk surface
•Dependency manifest — 17 pip requirements declared · mem0ai-mem0-b357a5a/server/requirements.txtrisk surface
•Vulnerable dependencies — 345 known vulnerabilities in: postcss@8.5.15, axios@1.16.1, form-data@4.0.5, mongoose@9.6.3, protobufjs@7.6.1, undici@5.28.5, axios@1.17.0, mongoose@9.7.0 (CWE-1395)known CVE · -25 pts
⚠ML02Data Poisoninghigh
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
•Prompt-injection phrasing — instruction-subversion language detected · mem0ai-mem0-b357a5a/examples/mem0-demo/app/api/chat/route.ts (CWE-77)expected
⚠ML09Output Integrityhigh
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — destructive rm -rf / · mem0ai-mem0-b357a5a/.github/workflows/ci.yml (CWE-78)expected
•Suspicious code patterns — child_process exec · mem0ai-mem0-b357a5a/cli/node/src/telemetry.ts (CWE-78)expected
•Suspicious code patterns — OS command execution · mem0ai-mem0-b357a5a/cli/python/src/mem0_cli/telemetry.py (CWE-78)expected
•Suspicious code patterns — OS command execution; dynamic code execution · mem0ai-mem0-b357a5a/cli/python/tests/test_agent_mode.py (CWE-78)expected
•Suspicious code patterns — pipe-to-shell install · mem0ai-mem0-b357a5a/docs/integrations/hermes.mdx (CWE-494)expected
•Suspicious code patterns — environment/secret exfiltration · mem0ai-mem0-b357a5a/docs/templates/api_reference_template.mdx (CWE-200)expected
•Suspicious code patterns — dynamic code execution · mem0ai-mem0-b357a5a/examples/mem0-demo/components/mem0/markdown.tsx (CWE-95)expected
•Suspicious code patterns — destructive rm -rf /; pipe-to-shell install · mem0ai-mem0-b357a5a/examples/nemoclaw/setup-mem0-nemoclaw.sh (CWE-78)expected
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (22) · hygiene / uncategorized
•Unrecognized file type — '.gitignore' is not on the allowlist · mem0ai-mem0-b357a5a/.gitignorerisk surface
•Unrecognized file type — '.gitmodules' is not on the allowlist · mem0ai-mem0-b357a5a/.gitmodulesrisk surface
•Unrecognized file type — '.?' is not on the allowlist · mem0ai-mem0-b357a5a/LICENSErisk surface
•Unrecognized file type — '.cjs' is not on the allowlist · mem0ai-mem0-b357a5a/cli/node/telemetry-sender.cjsrisk surface
•Suspicious network references — raw IP URL (2 URLs) · mem0ai-mem0-b357a5a/cli/node/tests/agent-mode.test.tsrisk surface
•Unrecognized file type — '.mdx' is not on the allowlist · mem0ai-mem0-b357a5a/docs/_snippets/async-memory-add.mdxrisk surface
•Unrecognized file type — '.mjs' is not on the allowlist · mem0ai-mem0-b357a5a/examples/mem0-demo/eslint.config.mjsrisk surface
•Suspicious network references — raw IP URL (4 URLs) · mem0ai-mem0-b357a5a/examples/misc/vllm_example.pyrisk surface
•Unrecognized file type — '.gitattributes' is not on the allowlist · mem0ai-mem0-b357a5a/examples/multimodal-demo/.gitattributesrisk surface
•Unrecognized file type — '.npmrc' is not on the allowlist · mem0ai-mem0-b357a5a/integrations/openclaw/.npmrcrisk surface
•Suspicious network references — raw IP URL (3 URLs) · mem0ai-mem0-b357a5a/integrations/openclaw/Makefilerisk surface
•Unrecognized file type — '.prettierignore' is not on the allowlist · mem0ai-mem0-b357a5a/mem0-ts/.prettierignorerisk surface
•Suspicious network references — raw IP URL (1 URLs) · mem0ai-mem0-b357a5a/mem0-ts/src/oss/tests/baidu.test.tsrisk surface
•Suspicious network references — raw IP URL (50 URLs) · mem0ai-mem0-b357a5a/mem0-ts/src/oss/tests/config-manager.test.tsrisk surface
•Unrecognized file type — '.dockerignore' is not on the allowlist · mem0ai-mem0-b357a5a/openmemory/api/.dockerignorerisk surface
•Unrecognized file type — '.python-version' is not on the allowlist · mem0ai-mem0-b357a5a/openmemory/api/.python-versionrisk surface
•Unrecognized file type — '.ini' is not on the allowlist · mem0ai-mem0-b357a5a/openmemory/api/alembic.inirisk surface
•Unrecognized file type — '.mako' is not on the allowlist · mem0ai-mem0-b357a5a/openmemory/api/alembic/script.py.makorisk surface
•Suspicious network references — raw IP URL (5 URLs) · mem0ai-mem0-b357a5a/openmemory/compose/milvus.ymlrisk surface
•Unrecognized file type — '.scss' is not on the allowlist · mem0ai-mem0-b357a5a/openmemory/ui/styles/notfound.scssrisk surface
•Unrecognized file type — '.webmanifest' is not on the allowlist · mem0ai-mem0-b357a5a/server/dashboard/public/site.webmanifestrisk surface
•Unrecognized file type — '.dockerfile' is not on the allowlist · mem0ai-mem0-b357a5a/server/dev.Dockerfilerisk surface
✔ verified source · pinned mem0ai-mem0-b357a5a · changed since last scan · +egress platform.claude.com
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/mem0-agent-memory/check). Click a policy:

Consume Mem0 programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/mem0-agent-memory

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/mem0-agent-memory/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add mem0-agent-memory

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/mem0-agent-memory/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "mem0-agent-memory" })
OpenAPI spec →
vlatest
! Security: Review · 751mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

Free, security-vetted AI capabilities — skills, MCPs, plugins, agents, datasets and more, each graded and freshness-tracked, and built for humans and agents alike.

api · v3.1status · all green
Contact
support@ai-supply.storesecurity@ai-supply.store
Catalog
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
  • Security
  • Scan a repo
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
Account
  • Create account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy