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 Hermes for hosted cloud, local Docker Convex, or an external self-hosted backend and creates config backups before writing.Agent Instructions
Copy and paste this directly into your Hermes Agent:/dev/tty. The installer supports browser device authorization without /dev/tty, and prompt fallback through stdin when MEMORY_CRYSTAL_ALLOW_STDIN_PROMPTS=1 is set. If an agent-run install still cannot accept prompts, run it under a real pseudo-terminal:
--backend local. See Local-First Setup.
What this gives Hermes
Memory Crystal uses two Hermes integration points:- a native Hermes plugin for automatic recall before model calls, transcript logging after model calls, and pre-tool guardrail checks
- Hermes MCP configuration for the full Memory Crystal tool surface
auto mode by default. If Hermes exposes a native memory-provider registration surface, Memory Crystal registers as a provider. If that surface is unavailable, it falls back to lifecycle hooks. Either mode keeps recall and capture automatic; MCP remains configured for the broad tool surface.
That keeps the integration compatible across Hermes builds while still exposing recall, remember, update/supersede, search messages, recent, wake, stats, preflight, trace, checkpoint, forget/edit, knowledge-base tools, reasoning tools, and ideas tools through Hermes MCP.
How it installs
The installer writes:~/.hermes/plugins/crystal-memory/plugin.yaml~/.hermes/plugins/crystal-memory/__init__.py~/.hermes/.env~/.hermes/config.yaml
crystal-memory under plugins.enabled and adds a mcp_servers.memory_crystal entry with the selected Memory Crystal backend and bearer token.
Verify
Restart Hermes after installation, or reload MCP from an active Hermes session:mcp_memory_crystal_crystal_stats. Hermes can still choose them during normal reasoning.
Troubleshooting
If the plugin is installed but not active, check~/.hermes/config.yaml:
mcp_servers.memory_crystal block and run /reload-mcp.
If recall/capture does not work, check ~/.hermes/.env for:
/api/mcp/turn.
If your backend is older and does not expose that route, the plugin falls back to
the older two-message /api/mcp/log capture path and reports the fallback in
crystal_status.
crystal_status also reports the active lifecycle mode (provider, hooks,
disabled, or degraded), backend auth, recent hook/provider counts, capture
mode, skip reasons, and circuit-breaker state. Group/public chats, cron, flush,
and subagent contexts skip writes by default.
Uninstall
Use the universal uninstall script when removing Hermes support:--purge to remove the staged ~/.hermes/plugins/crystal-memory bundle.
The uninstall path removes Memory Crystal keys from ~/.hermes/.env and removes
the crystal-memory plugin plus mcp_servers.memory_crystal config entries
while preserving unrelated Hermes config.
Source of truth
Primary files behind this page:integrations/hermes/crystal-memory/plugin.yamlintegrations/hermes/crystal-memory/__init__.pyintegrations/hermes/crystal-memory/CONTRACT.mdapps/web/public/install.shapps/web/app/install-assets/hermes-plugin/[...file]/route.ts