Documentation Index
Fetch the complete documentation index at: https://docs.memorycrystal.ai/llms.txt
Use this file to discover all available pages before exploring further.
Recommended: universal installer
Use the universal installer first. It can configure this target for hosted cloud or local Docker Convex and creates config backups before writing.Agent Instructions
Copy and paste this directly into your OpenClaw agent:--backend local in Bash or -Backend local in PowerShell. See Local-First Setup.
The OpenClaw plugin is the automatic version of Memory Crystal.
Instead of waiting for your AI to remember to use tools, the plugin quietly does memory work for you in the background.
What this means in practice
If you use OpenClaw, this is usually the easiest and most automatic Memory Crystal integration. It can:- capture conversations after model output
- recall relevant context before the next model call
- wire tools and memory behavior into the OpenClaw runtime
Quick install
If you want the fastest public install path, run:How it actually works
Key files:plugin/index.js— main plugin entryplugin/handler.js— legacy compatibility entryplugin/capture-hook.js— capture flowplugin/recall-hook.js— recall flowplugin/openclaw.plugin.json— modern plugin manifestplugin/openclaw-hook.json— legacy hook manifest
scripts/crystal-enable.shscripts/crystal-disable.shscripts/crystal-bootstrap.shscripts/crystal-doctor.sh
Universal installer path
The recommended first install path is the universal installer:Commands / examples
Useful commands:openclaw plugins info crystal-memory verifies that OpenClaw loaded the plugin and shows its registered capabilities. openclaw crystal_status is the quick installed status check with version and backend state. openclaw crystal_doctor is the deeper installed health check. The npm run ... commands are for source checkouts.
Safe dry-run checks:
Uninstall
Use the public uninstall script when you want to disconnect Memory Crystal cleanly:Common mistakes
- editing
~/.openclaw/openclaw.jsondirectly from a running AI session - deleting
handler.jseven though older installs may still use it - assuming the plugin and MCP-only mode are the same thing
- assuming local mode removes hosted account/license checks
Source of truth
Primary files behind this page:plugin/index.jsplugin/openclaw.plugin.jsonplugin/openclaw-hook.jsonscripts/crystal-enable.shscripts/crystal-doctor.shREADME.md