Tutorial·

    Give Your OpenClaw Agent Long-Term Memory

    Install the MemoryStack plugin in minutes and transform your AI agent into a memory-powered assistant that remembers everything.

    OpenClaw + MemoryStack Integration

    Imagine an AI assistant that actually remembers you. Not just for a single chat, but forever. Your preferences, your projects, your communication style — all stored and ready to use in every future conversation.

    That's exactly what the MemoryStack plugin for OpenClaw does. In this guide, we'll show you how to set it up in just a few minutes.

    What you'll get

    Persistent Memory

    Your agent remembers facts, preferences, and context across all conversations

    Auto-Capture

    Memories are extracted automatically — no manual work needed

    Smart Recall

    Relevant memories are injected into every conversation automatically

    Privacy First

    Your data stays secure with end-to-end encryption

    Before you start

    You'll need two things:

    1. 1OpenClaw installed on your machine
    2. 2A MemoryStack accountsign up free

    Step 1: Get your API Key

    Head over to memorystack.app and sign up for an account. Once you're in, go to your dashboard to find your API key.

    MemoryStack Dashboard showing API Key

    Find your API key in the Settings section of your dashboard

    Step 2: Install the plugin

    You have two options to install the plugin. Choose whichever works best for you:

    Method 1: Automatic Install (Recommended)

    The easiest way! Let your OpenClaw agent do all the work:

    1. 1. Go to memorystack.app/docs
    2. 2. Click the Copy prompt button
    3. 3. Paste it into your OpenClaw agent
    4. 4. The agent will automatically install and configure everything!
    MemoryStack Docs page with Copy prompt button

    Method 2: Manual Installation

    If you prefer to install manually, run this command:

    Terminal
    openclaw plugins install @memorystack/openclaw-memorystack

    Then add your API key to ~/.openclaw/openclaw.json:

    openclaw.json
    {
      "plugins": {
        "slots": {
          "memory": "openclaw-memorystack"
        },
        "entries": {
          "openclaw-memorystack": {
            "enabled": true,
            "config": {
              "apiKey": "mem_live_..."
            }
          }
        }
      }
    }

    Step 3: Start chatting!

    That's it! Restart OpenClaw and start chatting. Your agent will now automatically:

    • Remember important facts from your conversations
    • Recall relevant context in future chats
    • Build a personalized profile over time

    Here's what it looks like when your agent uses MemoryStack:

    OpenClaw using MemoryStack to recall memories

    View your memories

    Want to see what your agent has learned about you? Head to your MemoryStack Dashboard to browse all stored memories.

    Memories Dashboard

    Browse, search, and filter all your memories. You can filter by agent, project, end user, or memory type (Facts, Preferences, Skills, Habits, Goals, Knowledge).

    MemoryStack Memories Dashboard

    Memory Graph

    See how your memories connect! The Memory Graph visualizes all your memories as connected nodes — showing how different facts and preferences relate to each other.

    MemoryStack Memory Graph visualization

    Bonus: Slash commands

    You can also interact with memory directly from the chat:

    Slash Commands
    /memorystack search <query>    # Find specific memories
    /memorystack add <content>     # Save something important
    /memorystack stats             # See your memory usage
    /memorystack reflect           # Get insights from your memories
    /memorystack consolidate       # Merge duplicate memories

    Ready to give your agent memory?

    Sign up for MemoryStack and install the plugin in minutes. Free tier available.