-
-
Notifications
You must be signed in to change notification settings - Fork 3
Quick Start Tutorial
Get SuperLocalMemory working in under 5 minutes — whether you're a new user or upgrading from V2.
npm install -g superlocalmemory
# or: pip install superlocalmemoryslm setupThe wizard asks you to pick a mode:
- A (Local Guardian) — Zero cloud. Your data never leaves your machine. Default.
- B (Smart Local) — Local LLM via Ollama for answer synthesis.
- C (Full Power) — Cloud LLM for maximum accuracy. Requires API key.
Most users should start with Mode A — you can switch anytime with slm mode b or slm mode c.
slm warmupDownloads the nomic-embed-text-v1.5 model (~500MB). If you skip this, it downloads automatically on first use.
slm remember "Our API uses JWT tokens with 24-hour expiry. Refresh tokens last 30 days."Output: Stored 1 facts.
slm recall "token expiry"Output shows the stored memory with a relevance score:
1. [0.82] Our API uses JWT tokens with 24-hour expiry. Refresh tokens last 30 days.
slm statusSuperLocalMemory V3
Mode: A
Provider: none
Base dir: ~/.superlocalmemory
Database: ~/.superlocalmemory/memory.db
DB size: 0.12 MB
slm healthMath Layer Health:
Total facts: 1
Fisher-Rao indexed: 1/1
Langevin positioned: 1/1
Mode: A
slm connect # Auto-configure all detected IDEs
slm connect --list # See what's configuredOr manually add to your IDE's MCP config:
{
"mcpServers": {
"superlocalmemory": {
"command": "slm",
"args": ["mcp"]
}
}
}Works with: Claude Code, Cursor, VS Code Copilot, Windsurf, Continue, Cody, ChatGPT Desktop, Gemini CLI, JetBrains, Zed, and more.
slm dashboardOpens at http://localhost:8765. 17 tabs: memory browser, knowledge graph, recall lab, trust scores, math health, compliance, and more.
If you already have SuperLocalMemory V2 (2.8.6 or earlier):
npm install -g superlocalmemoryV3 installs alongside V2. Your V2 data is untouched until you migrate.
slm migrateThis will:
- Show your V2 stats (memory count, DB size)
- Ask for confirmation
- Back up your V2 database automatically
- Copy data to the V3 location (
~/.superlocalmemory/) - Convert V2 memories to V3 atomic facts
- Create a symlink so old tools still find the data
slm setup # Choose mode (A/B/C)
slm warmup # Pre-download embedding modelslm status # Check V3 is running
slm health # Check math layers are active
slm recall "something you stored in V2" # Verify old memories are accessible| Feature | V2 | V3 |
|---|---|---|
| Retrieval | Cosine similarity only | 4-channel (Semantic + BM25 + Entity Graph + Temporal) |
| Similarity | Cosine distance | Fisher-Rao geodesic distance |
| Consistency | None | Sheaf cohomology (algebraic topology) |
| Lifecycle | Hardcoded thresholds | Self-organizing Langevin dynamics |
| Modes | Single mode | A (zero-cloud), B (local LLM), C (cloud LLM) |
| EU AI Act | Not addressed | Mode A/B compliant by design |
| Dashboard | 5 tabs | 17 tabs |
| MCP Tools | 6 | 24 |
| Tests | ~200 | 1400+ |
slm migrate --rollbackThis restores your V2 installation. No data is lost.
| Command | What It Does |
|---|---|
slm remember "..." |
Store a memory |
slm recall "..." |
Search memories (semantic + keyword + entity + temporal) |
slm forget "..." |
Delete matching memories (with confirmation) |
slm trace "..." |
Recall with per-channel score breakdown |
slm status |
System status (mode, DB size, path) |
slm health |
Math layer health (Fisher, Sheaf, Langevin stats) |
slm mode a/b/c |
Switch operating mode |
slm dashboard |
Launch web dashboard (http://localhost:8765) |
slm mcp |
Start MCP server (for IDE integration) |
slm connect |
Auto-configure IDE integrations |
slm profile list |
List memory profiles |
slm profile create work |
Create isolated memory space |
slm profile switch work |
Switch to a different profile |
Full reference: CLI Reference
- Modes Explained — Understand A vs B vs C
- MCP Tools — All 24 tools available in your IDE
- IDE Setup — Per-IDE configuration guides
- Auto-Memory — How auto-capture and auto-recall work
- Architecture Overview — How the system works under the hood
Part of Qualixar | Created by Varun Pratap Bhardwaj
SuperLocalMemory V3 — Your AI Finally Remembers You. 100% local. 100% private. 100% free.
Part of Qualixar | Created by Varun Pratap Bhardwaj | GitHub
SuperLocalMemory V3
Getting Started
Reference
Architecture
Enterprise
V2 Documentation