Detect OpenClaw
Locates your OpenClaw installation and verifies the version is compatible.
The fastest way to install @keyoku/openclaw is the setup wizard. One command handles everything — binary download, plugin registration, LLM configuration, and health verification.
| Dependency | Version |
|---|---|
| Node.js | >= 20 |
| OpenClaw | Installed and configured |
| Platform | macOS (arm64/x64), Linux (arm64/x64), Windows (x64) |
Run the interactive setup wizard. It will walk you through every step.
npx @keyoku/openclaw initThe wizard runs 11 steps in sequence.
Locates your OpenClaw installation and verifies the version is compatible.
Downloads the correct keyoku-engine binary for your platform to ~/.keyoku/bin/.
Registers keyoku-memory in the plugins.entries block of openclaw.json and assigns it to the memory slot.
Sets the SQLite database path. Default: ~/.keyoku/data/keyoku.db.
Configures embedding provider (Gemini, OpenAI, or Ollama) and extraction provider (Gemini, OpenAI, Anthropic, or Ollama) with model selection and API keys.
Sets the initial autonomy mode: observe, suggest, or act.
Configures your timezone and quiet hours window for heartbeat suppression.
Turns off OpenClaw's built-in heartbeat so Keyoku's 14-signal scan takes over.
Writes the SKILL.md file that teaches the LLM how to use memory naturally.
If OpenClaw has existing memory data, offers to import it into Keyoku's store.
Starts the engine, verifies /api/v1/health responds, and confirms all hooks are registered.
If you prefer to configure things yourself, install the package directly and register it in your OpenClaw config.
npm install @keyoku/openclawAdd the plugin to the plugins.entries block in your openclaw.json and assign it to the memory slot.
{
"plugins": {
"entries": {
"keyoku-memory": {
"enabled": true,
"config": {
"keyokuUrl": "http://localhost:18900",
"autoRecall": true,
"autoCapture": true,
"heartbeat": true,
"topK": 5
}
}
},
"slots": {
"memory": "keyoku-memory"
}
}
}Reload OpenClaw so the plugin hooks are registered and the engine sidecar starts.
openclaw gateway restartOnce installed, the plugin will automatically start the Keyoku Engine as a sidecar process. You can verify the installation by checking the engine health endpoint.
curl http://localhost:18900/api/v1/healthSee Configuration to customize behavior, or Hooks & Tools for the full hook and tool reference.