A local implementation of the Supermemory API for OpenClaw that stores all data locally on your machine.
# Start the server
cd ~/local-supermemory
npm start
# In another terminal, restart OpenClaw gateway
openclaw gateway --force- Local Storage: All memories stored in SQLite at
~/.local-supermemory/memories.db - No Cloud Required: Works entirely offline, no API keys needed
- Same API: Implements the same endpoints as the cloud Supermemory service
- Profile Building: Automatically extracts facts from conversations
In ~/.openclaw/openclaw.json:
{
"plugins": {
"slots": { "memory": "openclaw-local-supermemory" },
"entries": {
"openclaw-local-supermemory": {
"enabled": true,
"config": {
"baseUrl": "http://localhost:3456",
"containerTag": "my-memories",
"autoRecall": true,
"autoCapture": true,
"maxRecallResults": 10,
"debug": false
}
}
}
}
}supermemory_store- Save information to memorysupermemory_search- Search memories by querysupermemory_forget- Delete a memorysupermemory_profile- View user profile
/remember <text>- Save something to memory/recall <query>- Search your memories
The server implements these endpoints:
POST /api/v1/add- Add a memoryPOST /api/v1/search/memories- Search memoriesGET /api/v1/profile- Get user profilePOST /api/v1/memories/forget- Forget a memoryPOST /api/v1/documents/list- List documentsPOST /api/v1/documents/deleteBulk- Bulk deleteGET /api/v1/stats- Get statistics
LOCAL_SUPERMEMORY_PORT- Server port (default: 3456)LOCAL_SUPERMEMORY_DATA_DIR- Data directory (default: ~/.local-supermemory)
- Start the server before launching OpenClaw
- Use
debug: truein config to see detailed logs - Run
curl http://localhost:3456/healthto check server status