Dual memory
by @dobrinalexandru
Run memory-core AND external memory providers (like SuperMemory) together in one slot — with full dreaming support. OpenClaw only allows one memory plugin, s...
Add to your OpenClaw config. Disable the individual plugins — the composite replaces them:
plugins:
entries:
# Disable individual plugins (composite handles both)
memory-core:
enabled: false
openclaw-supermemory:
enabled: false
# Enable composite
dual-memory:
enabled: true
config:
supermemory:
apiKey: "${SUPERMEMORY_OPENCLAW_API_KEY}"
containerTag: "my_agent"
autoRecall: true
autoCapture: true
maxRecallResults: 5
captureMode: "everything"
memoryCore:
dreaming:
enabled: true
frequency: "30 2 * * *"
SuperMemory Options
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| apiKey | string | env var | SuperMemory API key (supports ${ENV_VAR}) |
| containerTag | string | hostname | Isolates memories per agent/machine |
| autoRecall | boolean | true | Auto-inject relevant memories |
| autoCapture | boolean | true | Auto-store important info |
| maxRecallResults | number | 5 | Max memories per conversation (1-20) |
| captureMode | string | everything | Capture mode |
| profileFrequency | number | — | Profile refresh interval (1-500) |
| debug | boolean | false | Verbose logging |
| enableCustomContainerTags | boolean | false | Allow multiple containers |
| customContainers | array | — | Custom container definitions |
Memory Core Options
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| dreaming.enabled | boolean | true | Enable dreaming cycles |
| dreaming.frequency | string | cron expr | Dreaming schedule |
"both backends failed to load" — Check that openclaw-supermemory exists as a sibling extension and npm install was run in both directories.
"memory-core not available" — The plugin tries to resolve memory-core from OpenClaw's built-in extensions. Make sure your OpenClaw version is >= 2026.1.29.
No cloud memories appearing — Verify SUPERMEMORY_OPENCLAW_API_KEY is set in your environment or .env file.
Dreaming not running — Check that memoryCore.dreaming.enabled is true and you have a cron job configured for the dreaming schedule.
clawhub install dual-memory