Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.2 KB

openclaw.md

File metadata and controls

33 lines (25 loc) · 1.2 KB

OpenClaw integration

Automatic, hands-off memory for OpenClaw. See the README for how this compares to other clients.

Most MCP clients load memory on demand — the agent calls a tool when it needs context. OpenClaw goes further and makes the whole loop hands-off through its own lifecycle events.

session starts  → memory snapshot injected automatically
you work        → facts and decisions captured as you go
session ends    → session summarized and saved automatically

foundation connect openclaw:

  1. Registers the Minerva MCP server in ~/.openclaw/openclaw.json.
  2. Installs two hooks in ~/.openclaw/hooks/:
    • foundation-bootstrap (gateway:startup, agent:bootstrap) — loads the snapshot and injects it into the agent at startup.
    • foundation-session (gateway:shutdown, /new, /reset) — saves the session back into memory in the background.

Enable the hooks once and restart the gateway:

foundation connect openclaw
openclaw hooks enable foundation-bootstrap foundation-session

See memory.md for how session review turns a captured session into durable, structured memory.