Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mem0

Skill by maomao-2001

Mem0 SDK reference skill for Python and TypeScript. It covers the Platform client, memory methods, configuration and framework integrations for developers building AI apps with mem0.

  • Score 65
  • 121 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mem0

Built from the published package, never by AI.

git clone --depth 1 https://github.com/maomao-2001/Whispera /tmp/Whispera && mkdir -p ~/.claude/skills && cp -r /tmp/Whispera/mem0/integrations/mem0-plugin/skills/mem0 ~/.claude/skills/mem0

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mem0 in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The mem0 skill is a reference for the mem0 SDK in Python and TypeScript. It covers installing and authenticating the Platform client, initializing MemoryClient or AsyncMemoryClient, and the core add, search, get all, update and delete methods. It also includes configuration notes, framework integration patterns and a list of common edge cases.

The skill describes a retrieve, generate and store pattern, where memories are searched before a model reply and the interaction is added afterward. It documents v3 API changes such as asynchronous add calls, entity linking and new defaults. It links to deeper reference files and a doc search script. It is aimed at developers writing code that calls mem0 APIs or adds memory to an application.

Written from the project's SKILL.md and checked against it.

What it can do

  • Add memoriesStores a list of user and assistant messages for a user_id using client.add().
  • Search memoriesSearches stored memories with a query and filters such as user_id.
  • Get all memoriesLists all memories matching a filter using client.get_all().
  • Update a memoryChanges the text of a memory by its UUID using client.update().
  • Delete memoriesDeletes one memory by UUID or all memories for a user with delete_all().
  • Chat memory patternShows a retrieve, generate and store integration example with OpenAI.
  • Edge case guidanceExplains empty search results, filter scoping, duplicates and Platform vs OSS imports.
  • Live docs searchProvides a script that searches docs.mem0.ai without an API key.

What you need

  • MEM0_API_KEY for the Mem0 Platform
  • Python 3.10+ or Node.js 18+
  • pip install mem0ai or npm install mem0ai
  • Internet access to api.mem0.ai

Try asking

  • Add a memory store for user alice to my chatbot using mem0
  • Search mem0 for a user's dietary preferences before replying
  • Show me how to call MemoryClient.add in TypeScript with userId

Good to know

  • v3 processes add() asynchronously, so searches may come back empty at first.
  • An AND filter on user_id and agent_id returns nothing because entities are stored separately.
  • Parameters org_id, project_id and enable_graph were removed from the SDK in v3.
  • Platform (MemoryClient) and OSS (Memory) imports should not be mixed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: mem0/integrations/mem0-plugin/skills/mem0/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mem0

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

mem0: common questions

Does this skill support TypeScript and Node.js?

Yes. The skill includes a TypeScript and Node.js reference covering MemoryClient and the Memory OSS class, and the TypeScript API uses camelCase names.

Why does search return nothing right after adding a memory?

The source says v3 processes add() asynchronously and returns an event ID immediately. It recommends waiting 2-3 seconds before searching.

Can I run mem0 locally instead of using the hosted API?

The skill covers OSS usage through the Memory class, which runs locally. MemoryClient talks to api.mem0.ai instead.

How do I install mem0?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mem0 free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is mem0 safe to use?

It scores 65 of 100. Grades: maintenance C, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mem0?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

Add to stack

Loading.