Font Size:
Ask Joget AI

Mem0 Chat Memory Tool

Introduction

The Mem0 Chat Memory Tool enables your AI agent to store and recall context, user preferences, and relevant information for each user or session. This enhances the agent’s ability to provide personalized and context-sensitive responses.

Get started

How to use it

To use the Mem0 Chat Memory Element, add the Mem0 Chat Memory Tool:

  1. Locate the Mem0 Chat Memory element under the Tools section of the palette.
  2. Drag and drop the element into the Drop a tool to here section.

Configure form properties

To properly integrate and configure the Mem0 Chat Memory, set the following fields:

  • Base URL: The endpoint URL for the Mem0 memory storage service. Enter the full URL provided by Mem0 (e.g., https://api.mem0.ai).
  • API Key: Your Mem0 API key is used to authenticate memory storage requests. Obtain the API key from your Mem0 account.
  • Auto Sync Mode: Toggle to switch between automatic and manual sync modes.
  • Store: Store conversation content in memory for use in future interactions. Use this function when a message or data needs to be retained for continuity or reference. The input should contain the content to store. This helps preserve context across conversations and supports more consistent responses.
  • Recall: Recall previously saved memory entries to answer the user's message. Use this function whenever the user's message references prior discussions, lacks clear context, or might benefit from continuity. No input is needed. This returns relevant past data to support a better response. 
  • Query: Search stored memory using keywords or filters to find specific information. Use this function when you need to locate precise data or messages from past interactions. Input is a search query string describing what to look for. Returns matching memories to inform the current conversation.
  • Clear: Remove all memory entries for the current user. Use this function only when explicitly requested to forget all stored information. No input is needed. This clears the user's entire memory to reset context.
  • Delete by ID: Delete a very specific memory entry using its unique ID. Use this to remove an individual stored message or data item. Input should be the memory's unique identifier. This helps manage and clean up stored memories selectively.
  • Batch Delete: Delete multiple memory entries in a single operation by providing an array of memory IDs. Use this to efficiently remove groups of memories at once. Input is a list of IDs to delete (up to 1000). This is useful for bulk cleanups after querying, recalling, or reviewing stored memories.
Created by Gabriel Last modified by Debanraj Ravindran on Apr 24, 2026