🔐 Mem0 is now SOC 2 and HIPAA compliant! We're committed to the highest standards of data security and privacy, enabling secure memory for enterprises, healthcare, and beyond. Learn more
Our fully managed platform provides a hassle-free way to integrate Mem0’s capabilities into your AI agents and assistants. Sign up for Mem0 platform here.The Mem0 SDK supports both Python and JavaScript, with full TypeScript support as well.Follow the steps below to get started with Mem0 Platform:
messages = [ {"role": "user", "content": "Thinking of making a sandwich. What do you recommend?"}, {"role": "assistant", "content": "How about adding some cheese for extra flavor?"}, {"role": "user", "content": "Actually, I don't like cheese."}, {"role": "assistant", "content": "I'll remember that you don't like cheese for future recommendations."}]client.add(messages, user_id="alex")
Our open-source version is available for those who prefer full control and customization. You can self-host Mem0 on your infrastructure and integrate it with your AI agents and assistants. Checkout our GitHub repositoryFollow the steps below to get started with Mem0 Open Source:
# For a usermessages = [ { "role": "user", "content": "I like to drink coffee in the morning and go for a walk" }]result = m.add(messages, user_id="alice", metadata={"category": "preferences"})