DeepLake memory plugin for OpenClaw — persistent cloud-backed agent memory with vector + BM25 search.
openclaw plugins install memory-deeplakeThis automatically sets DeepLake as your memory backend. Restart the gateway to apply.
The plugin replaces OpenClaw's default memory with DeepLake-backed storage. It provides two tools to the agent:
- memory_search — semantic search over stored memories (BM25 text search)
- memory_get — read a specific memory file by path
Plus automatic hooks:
- Auto-recall — injects relevant memories before each agent turn
- Auto-capture — saves conversation context before compaction
If you have deeplake CLI installed, the plugin auto-detects your mounts from ~/.deeplake/mounts.json. Memory files are read/written directly on the mounted filesystem.
npm install -g deeplake
deeplake init
# Plugin auto-detects the mount — no config neededWithout a FUSE mount, the plugin uses DeepLake's managed API directly. Set your API key:
# In your environment
export DEEPLAKE_API_KEY=dl_xxx
# Or in openclaw config
openclaw config set plugins.entries.memory-deeplake.config.apiKey "dl_xxx"The plugin checks for existing FUSE mounts first. If found, uses CLI mode. Otherwise, falls back to SDK mode.
All config is optional — the plugin works with zero config if deeplake CLI is installed.
// In openclaw.json → plugins.entries.memory-deeplake.config
{
"mode": "auto", // "auto" | "sdk" | "cli"
"apiKey": "dl_xxx", // DeepLake API key (SDK mode)
"apiUrl": "https://api.deeplake.ai", // Custom API endpoint
"workspaceId": "default", // DeepLake workspace (SDK mode)
"mountPath": "/path/to/mount", // Override FUSE mount path (CLI mode)
"autoCapture": true, // Auto-save memories before compaction
"autoRecall": true // Auto-inject memories before each turn
}MIT