Keyoku

Upgrading

How to update each Keyoku component to the latest version. Your data is always preserved — the engine runs schema migrations automatically on startup.

Keyoku Engine

Packagekeyoku-engine
MethodBinary replace

Steps

  1. Check your current version: ./keyoku-engine --version
  2. Download the latest binary from GitHub Releases
  3. Stop the running engine: kill $(pgrep keyoku-engine)
  4. Replace the binary and restart

One-command upgrade

If you installed via the OpenClaw plugin, run npx @keyoku/openclaw update-engine to download and replace the binary automatically.

Note: Your SQLite database is preserved across upgrades — the engine runs migrations on startup. No data loss.

TypeScript SDK

Package@keyoku/memory
Methodnpm update

Steps

  1. Update the package: npm update @keyoku/memory
  2. Or pin a specific version: npm install @keyoku/memory@1.4.0

Note: The SDK is a stateless HTTP client — no migrations or config changes needed between versions.

OpenClaw Plugin

Package@keyoku/openclaw
Methodnpm update + engine update

Steps

  1. Update the plugin: npm update @keyoku/openclaw
  2. Update the engine binary: npx @keyoku/openclaw update-engine
  3. Restart your OpenClaw gateway: openclaw gateway restart

Note: The plugin and engine are versioned independently. Always update both to avoid compatibility issues.

Keyoku Bot

Package@keyoku/bot
MethodDocker pull

Steps

  1. Pull the latest images: docker compose pull
  2. Restart the stack: docker compose up -d

Note: Your .env, IDENTITY.md, and SOUL.md files are preserved. The engine database is stored in a Docker volume and persists across upgrades.

Version compatibility

The engine and SDK/plugin are versioned independently. We recommend keeping both up to date. If you encounter issues after upgrading one component, update the other to match.

EngineSDK / PluginStatus
0.4.x1.4.xLatest (recommended)
0.3.x1.3.xSupported
0.1.x–0.2.x1.0.x–1.2.xLegacy — upgrade recommended

Checking versions

# Engine version
./keyoku-engine --version
# or via API
curl http://localhost:18900/api/v1/health

# SDK / Plugin version
npm list @keyoku/memory @keyoku/openclaw

# Bot version
npm list @keyoku/bot

Related