en un clic
mnemos-setup
// Setup mnemos persistent memory with mnemo-server. Triggers: "set up mnemos", "install mnemo plugin", "configure memory plugin", "configure openclaw memory", "configure opencode memory", "configure claude code memory".
// Setup mnemos persistent memory with mnemo-server. Triggers: "set up mnemos", "install mnemo plugin", "configure memory plugin", "configure openclaw memory", "configure opencode memory", "configure claude code memory".
| name | mnemos-setup |
| description | Setup mnemos persistent memory with mnemo-server. Triggers: "set up mnemos", "install mnemo plugin", "configure memory plugin", "configure openclaw memory", "configure opencode memory", "configure claude code memory". |
Persistent memory for AI agents. This skill helps you set up mnemos with any agent platform.
You need a running mnemo-server instance. See the server README for deployment instructions.
cd mnemos/server
MNEMO_DSN="user:pass@tcp(host:4000)/mnemos?parseTime=true" go run ./cmd/mnemo-server
curl -s -X POST http://localhost:8080/v1alpha1/mem9s | jq .
# → { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "claim_url": "..." }
Save the returned id.
apiKey (preferred).tenantID, but the plugin will still use v1alpha2.Pick your platform and follow the instructions:
Add to openclaw.json:
{
"plugins": {
"slots": { "memory": "mem9" },
"entries": {
"mem9": {
"enabled": true,
"hooks": {
"allowConversationAccess": true
},
"config": {
"apiUrl": "http://localhost:8080",
"apiKey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
}
}
}
Restart OpenClaw. You should see:
[mem9] Server mode (v1alpha2)
Compatibility note:
apiKey -> plugin uses v1alpha2 with X-API-Key.tenantID -> plugin treats it as an alias for apiKey and still uses v1alpha2.plugins.entries.mem9.hooks.allowConversationAccess = true so mem9 can read conversation messages in agent_end and upload them. Older OpenClaw builds that reject this hook policy should omit the hooks block and upgrade for full automatic conversation upload.Set environment variables (add to shell profile or .env):
export MNEMO_API_URL="http://localhost:8080"
export MNEMO_TENANT_ID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Add to opencode.json:
{
"plugin": ["mnemo-opencode"]
}
Restart OpenCode. You should see:
[mem9] Server mode (mnemo-server REST API)
Add to ~/.claude/settings.json:
{
"env": {
"MNEMO_API_URL": "http://localhost:8080",
"MNEMO_TENANT_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
Install plugin:
/plugin marketplace add mem9-ai/mem9
/plugin install mnemo-memory@mnemos
Restart Claude Code.
After setup, test memory:
The agent should recall the information from memory.
| Problem | Fix |
|---|---|
No MNEMO_API_URL configured | Set MNEMO_API_URL env var or apiUrl in plugin config |
MNEMO_TENANT_ID is not set | Set MNEMO_TENANT_ID for env-based clients, or use apiKey (preferred) / legacy tenantID in OpenClaw plugin config |
| Plugin not loading | Check platform-specific config format |