Mem0 Memory¶
Mem0 (pronounced "mem-zero") enhances AI assistants and agents with an intelligent memory layer, enabling personalized AI interactions. It remembers user preferences, adapts to individual needs, and continuously improves over time. This makes it ideal for applications such as customer support chatbots, AI assistants, and autonomous AI agents.
Mem0 offers a comprehensive suite of memory management features, allowing seamless integration into various AI-driven applications.
Using Mem0 with Akilibot¶
Follow these steps to integrate Mem0 with Akilibot:
1. Set Up Akilibot¶
- Open the Akilibot application and create a new canvas, or select a template from the Akilibot marketplace.
- In this example, we use the Conversation Chain template.
- Replace the default Buffer Memory with Mem0 Memory.

2. Obtain Your Mem0 API Key¶
- Navigate to the Mem0 API Key dashboard.
- Generate or copy your existing Mem0 API Key.

3. Configure Mem0 Credentials in Akilibot¶
- Enter the Mem0 API Key in the Mem0 Credentials section.

4. Save and Test the Chatflow¶
- Save your Akilibot configuration.
- Run a test chat and store some information.

5. Verify Stored Memories in Mem0 Dashboard¶
- Visit the Mem0 Dashboard to review stored memories.

6. Validate Memory Retention¶
- Clear the chat history in Akilibot.
- Ask a question based on previously stored information to confirm retention.

Additional Settings¶
Mem0 provides various customization options:

- Search Only Mode: Enables memory retrieval without creating new memories. Chat history remains until manually cleared.
- Mem0 Entities: Utilize identifiers such as
user_id,run_id,app_id, andagent_idfor granular memory control. - Project ID: Assign memory storage to a specific project. Manage projects via Mem0 Projects.
- Organization ID: Assign memory storage to a specific organization. Manage organizations via Mem0 Organizations.
Mem0 Platform Configurations¶
Additional configurations are available under Mem0 Project Settings:
- Custom Instructions: Define project-level instructions to refine memory extraction. Example: Extract only academic details.
- Expiration Date: Set an expiration period for stored memories, allowing for automatic data disposal when necessary.

Configuring Mem0 Credentials in Akilibot¶
To add credentials in Akilibot:
- Navigate to the credential settings.
- Add a new credential entry for Mem0.
- Paste your Mem0 API Key in the API Key field.

With these configurations, your Akilibot setup will integrate seamlessly with Mem0, providing enhanced memory retention and personalized AI interactions.