mem0
Skill by maomao-2001
Mem0 is a skill that adds persistent memory to AI applications through the Mem0 Platform Python and TypeScript SDKs. It is aimed at developers building chatbots, agents, or AI apps that need long-term user memory.
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/skills/mem0 ~/.claude/skills/mem0Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/maomao-2001/Whispera /tmp/Whispera && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Whispera/mem0/skills/mem0 ~/.gemini/antigravity-cli/skills/mem0Antigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill teaches an AI assistant how to use the Mem0 Platform SDK, installed as mem0ai for Python or TypeScript. Mem0 is described as a managed memory layer that stores, retrieves, and manages user memories through an API, with no infrastructure to deploy. The skill covers adding, searching, listing, updating, and deleting memories, and shows a retrieve, generate, store pattern for chat apps.
The skill also points to framework integrations such as LangChain, CrewAI, OpenAI Agents SDK, LlamaIndex, AutoGen, and LangGraph, and mentions the open-source self-hosted Memory class. It includes a documentation search script that needs no API key. It is intended for developers who want personalization or long-term context in their AI products.
Written from the project's SKILL.md and checked against it.
What it can do
- Add memoriesStores a list of user and assistant messages as memories for a given user_id.
- Search memoriesRetrieves memories relevant to a query, filtered by user_id.
- Get all memoriesLists all stored memories for a user through a filter.
- Update a memoryChanges the text of an existing memory by its UUID.
- Delete memoriesDeletes one memory by UUID or all memories for a user.
- Framework integration patternsPoints to guides for LangChain, CrewAI, OpenAI Agents SDK, LlamaIndex, AutoGen, and LangGraph.
- Live docs searchRuns a script that searches docs.mem0.ai without an API key.
What you need
- MEM0_API_KEY environment variable
- Python 3.10+ or Node.js 18+
- pip install mem0ai or npm install mem0ai
- Internet access to api.mem0.ai
Try asking
- Add long-term memory to my chatbot using the Mem0 Python SDK
- Search a user's stored memories for their dietary preferences
- Show me how to use Mem0 with LangGraph in my agent
Good to know
- Memories are processed asynchronously, so wait 2-3 seconds after add() before searching.
- Mixing infer=True and infer=False for the same data can create duplicate memories.
- Default search settings changed in v3, so v2 users need to check top_k, threshold, and rerank.
- CLI tasks and Vercel AI SDK usage are handled by separate skills.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: mem0/skills/mem0/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mem0
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
mem0: common questions
Do I need a Mem0 account to use this skill?
The skill uses the Mem0 Platform, which requires a MEM0_API_KEY environment variable. The source says the key can be obtained from the Mem0 dashboard, or created with the mem0 init command.
Can I use Mem0 without a managed platform?
The source says the skill also covers the open-source self-hosted Memory class, with details in the client references.
Which languages does this skill support?
The source lists Python with mem0ai and TypeScript with mem0ai. It also notes that async Python uses AsyncMemoryClient.
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 66 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.
