Skip to content

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

  1. Open the Akilibot application and create a new canvas, or select a template from the Akilibot marketplace.
  2. In this example, we use the Conversation Chain template.
  3. Replace the default Buffer Memory with Mem0 Memory.
Akilibot Memory Integration
Akilibot Integration with Mem0

2. Obtain Your Mem0 API Key

  1. Navigate to the Mem0 API Key dashboard.
  2. Generate or copy your existing Mem0 API Key.
Mem0 API Key
Retrieve API Key from Mem0

3. Configure Mem0 Credentials in Akilibot

  1. Enter the Mem0 API Key in the Mem0 Credentials section.
Mem0 Credentials
Configure API Credentials

4. Save and Test the Chatflow

  1. Save your Akilibot configuration.
  2. Run a test chat and store some information.
Akilibot Test Chat
Testing Memory Storage

5. Verify Stored Memories in Mem0 Dashboard

  1. Visit the Mem0 Dashboard to review stored memories.
Mem0 Stored Memories
Reviewing Stored Memories

6. Validate Memory Retention

  1. Clear the chat history in Akilibot.
  2. Ask a question based on previously stored information to confirm retention.
Testing Memory Retention
Confirming Memory Persistence

Additional Settings

Mem0 provides various customization options:

Mem0 Settings
Mem0 Configuration Options
  1. Search Only Mode: Enables memory retrieval without creating new memories. Chat history remains until manually cleared.
  2. Mem0 Entities: Utilize identifiers such as user_id, run_id, app_id, and agent_id for granular memory control.
  3. Project ID: Assign memory storage to a specific project. Manage projects via Mem0 Projects.
  4. 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:

  1. Custom Instructions: Define project-level instructions to refine memory extraction. Example: Extract only academic details.
  2. Expiration Date: Set an expiration period for stored memories, allowing for automatic data disposal when necessary.
Mem0 Project Settings
Customize Project-Level Settings

Configuring Mem0 Credentials in Akilibot

To add credentials in Akilibot:

  1. Navigate to the credential settings.
  2. Add a new credential entry for Mem0.
  3. Paste your Mem0 API Key in the API Key field.
Adding API Key in Akilibot
Entering API Key in Akilibot

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