Wyrm
lk.ghosts/wyrm
Documentation
Install
npm install -g wyrm-mcp
Start
Run the MCP server with wyrm-mcp and wire clients with wyrm-setup.
Storage
Wyrm stores data in a single SQLite database at ~/.wyrm/wyrm.db by default. Use --db to override the path.
Capabilities
- Persistent session memory for truths, lessons, quests, and artifacts
- Hybrid recall with FTS5 plus local semantic vectors
- Failure firewall / negative learning via
wyrm_failure_record,wyrm_failure_check, andwyrm_failure_resolve - Optional NVIDIA NIM embeddings and reranking for higher-accuracy retrieval
Configuration
Runtime environment variables documented upstream:
WYRM_VECTOR_PROVIDERto select the embedding provider, includingnimWYRM_RERANK_PROVIDERto select the reranker, includingnimWYRM_EMBED_MODELto override the embedding modelWYRM_RERANK_MODELto override the rerank modelNIM_BASE_URLto override the NVIDIA NIM endpointNIM_API_KEYfor hosted NIM accessWYRM_SKIP_TERMUX_FIXto skip the Termux install patch
Requirements and limitations
- Node.js 22 or newer
- Optional local Ollama with
nomic-embed-textfor local semantic recall - Optional NVIDIA API key and NIM access if hosted retrieval is enabled
- Native build tools may be required on platforms that fall back to source builds of
better-sqlite3 - Hosted NIM sends the selected text to the configured endpoint; local mode keeps data on-device
