What it does
LaqrumCode gives Claude Code a persistent, queryable memory that grows with every session. It extracts concepts, causal chains, corrections, preferences, decisions, and skills from conversations automatically — then retrieves them with a multi-stage pipeline (BGE-M3 vectors → learned ACAN scoring → cross-encoder reranking, 98.2% R@5) backed by a SurrealDB graph running locally. After enough sessions, the agent earns an emergent identity (soul graduation) grounded in its actual working history.
| Capability | Stock Claude Code | With LaqrumCode |
|---|
| Memory | File-based, per-project, manual | Graph DB, cross-session, automatic |
| Context window | Sliding, lost on /clear or session end | Retrieval-augmented from prior turns and concepts |
| Knowledge extraction | None | Concepts, causal chains, monologues, corrections, preferences, artifacts, decisions, skills, reflections |
| Procedural memory | None | Skills mined from successful workflows, surfaced when preconditions match |
| Retrieval quality | None (no memory to retrieve) | Vector search → ACAN reranker → cross-encoder rerank → graph expansion (98.2% R@5 on LongMemEval) |
| Identity | Stateless on every turn | Earned soul after a graduation gate (volume + quality thresholds) |
Quick start
Install the plugin, set up the system prompt, and open a session. The daemon provisions SurrealDB, the embedding model, and everything else on first run.
Prerequisites
| Tool | When required |
|---|
| git | Always (Claude Code uses it to clone the marketplace repo) |
| Node.js >= 22.12 + npm | Always, for the plugin as installed from the marketplace: its MCP client, hooks and daemon are started with your own node. Only the standalone SEA binaries bundle their own Node. |
Quick installs (check node --version afterwards; some distro packages are older than 22.12):
- macOS:
brew install node git
- Windows (PowerShell, elevated):
winget install OpenJS.NodeJS.LTS Git.Git then restart your terminal AND Claude Code so the new PATH is picked up.
- Linux: distro package manager (
apt install nodejs npm git) or nvm.
1. Install the plugin
CLI:
/plugin marketplace add 42U/laqrumcode
/plugin install laqrumcode@laqrumcode-marketplace
VS Code / Cursor / JetBrains
The plugin system is shared across CLI and IDE extensions. Open a Claude Code session in your IDE, then:
-
Type /plugins and press Enter (shows Manage Plugins)
-
Go to the Marketplaces tab
-
Type 42u/laqrumcode in the input field and click Add

-
Switch to the Plugins tab
-
Toggle laqrumcode@laqrumcode-marketplace on

2. Set up prompts (before launching Claude Code)
LaqrumCode ships two template files that teach Claude how to use the memory graph. Set both up before your first session.
# Find the plugin cache (installed by step 1)
LAQRUMCODE_DIR=$(ls -d ~/.claude/plugins/cache/laqrumcode-marketplace/laqrumcode/* 2>/dev/null | head -1)