Introduction
Welcome to the Mem0 documentation
Mem0 is the long-term memory for AI Agents.
Installation
Usage
Instantiate
Mem0 uses Qdrant by default for storing the semantic memories. If you want to use Qdrant in server mode, use the following method to instantiate.
Run qdrant first:
Then, instantiate memory with qdrant server:
Store a Memory
Retrieve all memories
1. Get all memories
2. Get memories for specific user
3. Get memories for specific agent
4. Get memories for a user during an agent run
Retrieve a Memory
Search for related memories
Update a Memory
Get history of a Memory
Delete a Memory
Delete memories of a user or agent
Delete all Memories
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
License
Was this page helpful?