@hippocortex/openclaw-plugin
v2.3.1
Published
Automatic persistent memory for OpenClaw agents (unified plugin with capture, retrieval, and circuit breaker)
Downloads
460
Maintainers
Readme
@hippocortex/openclaw-plugin
Automatic persistent memory for OpenClaw agents, powered by Hippocortex.
Your agent remembers every conversation and uses past experience to improve future responses. Zero code changes required.
Install
openclaw plugins install @hippocortex/openclaw-pluginConfigure
Add to plugins.entries in your openclaw.json:
{
"hippocortex": {
"enabled": true,
"config": {
"apiKey": "hx_live_..."
}
}
}Then restart:
openclaw gateway restartThat's it. Every conversation is now automatically captured and recalled.
How it works
- Before each prompt: Retrieves relevant memories and injects them into the system prompt
- After each response: Captures the conversation turn for future recall
- Circuit breaker: If the API is unreachable, the plugin silently backs off. Your agent keeps working normally.
Configuration options
| Option | Default | Description |
|--------|---------|-------------|
| apiKey | — | Your Hippocortex API key (required) |
| baseUrl | https://api.hippocortex.dev | API endpoint |
| sessionId | openclaw-default | Session scope for memories |
| capture | true | Auto-save conversations |
| retrieval | true | Auto-inject memories into prompts |
| tokenBudget | 2000 | Max tokens for injected memory context |
| timeoutMs | 5000 | HTTP request timeout in milliseconds |
Agent tools
The plugin registers two tools your agent can use:
hippocortex_remember— Store facts explicitly ("remember that the deploy key is X")hippocortex_health— Check connection status and circuit breaker state
Get an API key
Sign up at dashboard.hippocortex.dev — free tier available.
