mem0ai/mem0
Memory layer library/API for AI agents and apps
What
Memory layer for agents and apps: extracts facts from conversations, stores them per user/agent, and retrieves relevant ones later. Library or hosted platform.
How to use
# pip install mem0ai
from mem0 import Memory
m = Memory()
m.add("I'm vegetarian and allergic to nuts", user_id="alice")
print(m.search("what can alice eat?", user_id="alice"))Reach for it when
you are building a chatbot/agent that should remember users between sessions.