@hqidea

memorylake-openclaw

MemoryLake memory backend for OpenClaw

Current version
v1.0.1
code-pluginCommunitysource-linked

memorylake-openclaw

Long-term memory for OpenClaw agents, powered by MemoryLake.

Your agent forgets everything between sessions. This plugin fixes that. It watches conversations, extracts what matters, and brings it back when relevant — automatically.

How it works

<!-- <p align="center"> <img src="../docs/images/openclaw-architecture.png" alt="Architecture" width="800" /> </p> -->

Auto-Recall — Before the agent responds, the plugin searches MemoryLake for memories and relevant document excerpts that match the current message and injects them into context.

Auto-Capture — After the agent responds, the plugin sends the exchange to MemoryLake. MemoryLake decides what's worth keeping — new facts get stored, stale ones updated, duplicates merged.

Auto-Upload — When a user sends a file (image, document, etc.), the plugin uploads it to MemoryLake as a project document.

Auto-Recall, Auto-Capture, and Auto-Upload run silently by default.

Setup

openclaw plugins install memorylake-openclaw

Get an API key from app.memorylake.ai, then add to your openclaw.json:

// plugins.entries
"memorylake-openclaw": {
  "enabled": true,
  "config": {
    "apiKey": "sk-...",
    "projectId": "proj-..."
  }
}

Agent tools

The agent gets eight tools it can call during conversations:

ToolDescription
memory_searchSearch memories by natural language
memory_listList all stored memories for a user
memory_storeExplicitly save a fact
memory_getRetrieve a memory by ID
memory_forgetDelete a memory by ID
document_searchSearch project documents for relevant paragraphs, tables, and figures
advanced_web_searchOptional tool for web search with plugin-level domain and locale constraints
open_data_searchSearch open data sources scoped to the project's configured industry categories

CLI

# Search memories
openclaw memorylake search "what languages does the user know"

# Stats
openclaw memorylake stats

Options

KeyTypeDefault
apiKeystringRequired. MemoryLake API key (supports ${MEMORYLAKE_API_KEY})
projectIdstringRequired. MemoryLake project ID
hoststringhttps://app.memorylake.aiMemoryLake server endpoint URL
autoRecallbooleantrueInject memories before each turn
autoCapturebooleantrueStore facts after each turn
autoUploadbooleantrueAuto-upload inbound files to MemoryLake
topKnumber5Max memories per recall
searchThresholdnumber0.3Min similarity (0–1)
rerankbooleantrueRerank search results
webSearchIncludeDomainsstring[]Optional allowlist for advanced_web_search results
webSearchExcludeDomainsstring[]Optional denylist for advanced_web_search results
webSearchCountrystringOptional ISO country code for localizing advanced_web_search
webSearchTimezonestringOptional IANA timezone for localizing advanced_web_search

advanced_web_search is registered as an optional OpenClaw tool, so agents must explicitly allow it before they can call it.

License

MIT

Source and release

Source repository

memorylake-ai/memorylake-openclaw

Open repo

Source commit

ccbd4cc

View commit

Install command

openclaw plugins install clawhub:memorylake-openclaw

Metadata

  • Package: memorylake-openclaw
  • Created: 2026/03/24
  • Updated: 2026/04/12
  • Executes code: Yes
  • Source tag: ccbd4cc

Compatibility

  • Built with OpenClaw: 2026.3.24-beta.2
  • Plugin API range: >=2026.3.24-beta.2
  • Tags: latest
  • Files: 20