mnemos-setuplisted
Install: claude install-skill unvulcanised-watercress762/mem9
# mnemos Setup
**Persistent memory for AI agents.** This skill helps you set up mnemos with any agent platform.
## Prerequisites
You need a running mnemo-server instance. See the [server README](https://github.com/mem9-ai/mem9/tree/main/server) for deployment instructions.
## Step 1: Deploy mnemo-server
```bash
cd mnemos/server
MNEMO_DSN="user:pass@tcp(host:4000)/mnemos?parseTime=true" go run ./cmd/mnemo-server
```
## Step 2: Provision a tenant
```bash
curl -s -X POST http://localhost:8080/v1alpha1/mem9s | jq .
# → { "id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "claim_url": "..." }
```
Save the returned `id`.
- For OpenClaw, this is the value you should store as `apiKey` (preferred).
- Legacy OpenClaw config can still store the same value as `tenantID`, but the plugin will still use v1alpha2.
- For Claude Code / OpenCode env vars, this remains the tenant ID value used by the current server API.
## Step 3: Configure your agent platform
Pick your platform and follow the instructions:
---
#### OpenClaw
Add to `openclaw.json`:
```json
{
"plugins": {
"slots": { "memory": "mnemo" },
"entries": {
"mnemo": {
"enabled": true,
"config": {
"apiUrl": "http://localhost:8080",
"apiKey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
}
}
}
```
Restart OpenClaw. You should see:
```
[mem9] Server mode (v1alpha2)
```
Compatibility note:
- Preferred config: `apiKey` -> plugin uses v1alpha2 with `X-API-Key`.
-