clawmemory-openclaw
v0.1.4
Published
ClawMemory plugin for OpenClaw - cloud-based semantic memory for AI agents
Maintainers
Readme
ClawMemory for OpenClaw
Cloud-based semantic memory for AI agents. Give your OpenClaw agent perfect memory with one command.
Installation
openclaw plugins install clawmemory-openclawQuick Start
Get your API key at clawmemory.dev/dashboard
Add to your
openclaw.json:
{
"plugins": {
"entries": {
"clawmemory": {
"config": {
"apiKey": "cm_your_api_key",
"autoRecall": true,
"autoCapture": true
}
}
}
}
}- Restart OpenClaw — that's it!
Features
Auto-Recall
When enabled, relevant memories are automatically injected into your agent's context before each response. Your agent will "remember" past conversations, preferences, and decisions.
Auto-Capture
When enabled, the plugin automatically detects and stores important information from conversations:
- User preferences ("I prefer dark mode")
- Decisions ("We decided to use React")
- Facts ("My name is Alex")
- Tasks ("Remember to deploy tomorrow")
- Events ("Deployed v1.2 to production")
Manual Tools
Your agent also gets two tools for manual memory management:
memory_store- Store a specific memorymemory_recall- Search for relevant memories
CLI Commands
# Search memories
openclaw clawmemory recall "user preferences"
# Store a memory
openclaw clawmemory store "User prefers concise responses" --type preferenceConfiguration Options
| Option | Type | Default | Description |
|--------|------|---------|-------------|
| apiKey | string | required | Your ClawMemory API key |
| autoRecall | boolean | true | Auto-inject relevant memories |
| autoCapture | boolean | true | Auto-store important info |
| agentId | string | - | Agent identifier (multi-agent setups) |
| recallLimit | number | 5 | Max memories to recall |
| recallThreshold | number | 0.3 | Min relevance score (0-1) |
Advanced Config Example
{
"plugins": {
"entries": {
"clawmemory": {
"config": {
"apiKey": "cm_your_api_key",
"agentId": "jarvis",
"autoRecall": true,
"autoCapture": true,
"recallLimit": 10,
"recallThreshold": 0.4
}
}
}
}
}How It Works
Before each response: ClawMemory searches for memories relevant to the user's message and injects them into the agent's context.
After each response: ClawMemory analyzes the conversation for important information (preferences, decisions, facts) and stores them automatically.
Semantic search: Unlike keyword search, ClawMemory understands meaning. "What color does the user like?" will find "I prefer dark themes."
Privacy
- All memories are stored in your ClawMemory account
- Memories are isolated per API key
- Use
agentIdto separate memories between agents - Delete memories anytime via dashboard or API
Links
License
MIT
