Blocks

Mem0

Agent memory management

Add, search, retrieve, and delete memories using Mem0. Store conversation history, user preferences, and context across workflow executions for enhanced AI agent capabilities.

Back to Catalog
Toolsmem0

Block Preview

Mem0

Agent memory management

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the mem0 block with monitoring enabled in production.

Inputs (UI)

Operation

dropdown

Placeholder: Select an operation

Layout: half

Options: Add Memories, Search Memories, Get Memories

User ID

short-input

Placeholder: Enter user identifier

Layout: full

Messages

code

Placeholder: JSON array, e.g. [{"role": "user", "content": "I love Neura Parse!"}]

Layout: full

Condition: operation = "add"

Search Query

long-input

Placeholder: Enter search query to find relevant memories

Layout: full

Condition: operation = "search"

Memory ID

short-input

Placeholder: Specific memory ID to retrieve

Layout: full

Condition: operation = "get"

Start Date

short-input

Placeholder: YYYY-MM-DD

Layout: half

Condition: operation = "get"

End Date

short-input

Placeholder: YYYY-MM-DD

Layout: half

Condition: operation = "get"

API Key

short-input

Placeholder: Enter your Mem0 API key

Layout: full

Result Limit

slider

Layout: full

Condition: operation = ["search","get"]

Inputs (API)

operation

string

Required

apiKey

string

Required

userId

string

Required

version

string

Optional

messages

json

Optional

query

string

Optional

memoryId

string

Optional

startDate

string

Optional

endDate

string

Optional

limit

number

Optional

Outputs

Primary response type:

{
  "ids": "json",
  "memories": "json",
  "searchResults": "json"
}

Tool Access

mem0_add_memoriesmem0_search_memoriesmem0_get_memories
Mem0 | NowFlow Blocks