Mem0
PlatformMemory layer that gives AI agents long-term memory of users
- Price
- Free tier, then paid
- Access
- API key
About
Mem0 extracts memories from conversations and retrieves them later, so agents remember users across sessions. It is a hosted platform with a free monthly quota, plus an Apache-2.0 open-source version you run with your own LLM and vector store.
What you can do with it
- Remember user preferences and facts across chat sessions
- Search past memories to add relevant context to a prompt
- Give coding assistants shared memory through the hosted MCP server
Get started
- Create an API key in the Mem0 dashboard
- Add memories for a user_id, then search them
Example
curl -X POST https://api.mem0.ai/v3/memories/add/ \
-H "Authorization: Token $MEM0_API_KEY" \
-H "Content-Type: application/json" \
-d '{"messages":[{"role":"user","content":"I am vegetarian and allergic to nuts."}],"user_id":"user123"}'Details
- Hosting
- Hosted service, Self-hosted, Runs locally
- Available in
- Worldwide
- Official SDKs
- Python, JavaScript/TypeScript
- MCP server
- Remote