-
-
Notifications
You must be signed in to change notification settings - Fork 3
Auto Memory
SuperLocalMemory can automatically capture and recall memories without explicit commands. This page explains how auto-capture and auto-recall work.
What it does: When you start a conversation in your IDE, SuperLocalMemory automatically retrieves relevant memories and injects them into the AI's context.
How it works:
- Your IDE sends the conversation context to the MCP server (
slm mcp) - SuperLocalMemory extracts key terms and entities from your message
- It runs a 4-channel retrieval (semantic, keyword, entity graph, temporal)
- The top results are returned to your IDE
- Your IDE includes these memories in the AI's system prompt
What this means for you: Your AI knows about your past work without you having to say "recall" or "remember." It just knows.
Example:
You: "Can you help me debug the auth service?"
AI: "Based on your previous work, the auth service uses JWT tokens with 24-hour expiry
and refresh tokens lasting 30 days. Last time you debugged it, the issue was
related to clock skew between services. Let me help..."
The AI referenced memories you stored days or weeks ago — automatically.
What it does: SuperLocalMemory can automatically store important information from your conversations without you running slm remember.
What gets captured:
- Decisions ("We chose PostgreSQL for the user service")
- Bug fixes ("Fixed the race condition in the queue processor")
- Configuration details ("Deploy to us-east-1, use t3.large instances")
- Preferences ("Always use TypeScript strict mode")
- Project context ("The frontend uses React 19 with Server Components")
What does NOT get captured:
- Casual conversation
- Questions without answers
- Temporary debugging output
- Sensitive data marked as excluded
How it works:
- Your IDE conversation flows through the MCP server
- An entropy gate evaluates each message for information density
- High-information messages are extracted into structured facts
- Facts are stored with entities, timestamps, and graph connections
- Low-information messages are ignored
Auto-capture and auto-recall behavior is configured through your IDE's MCP integration. The MCP server (slm mcp) handles both automatically when connected.
To check what's stored:
slm recall "recent" # See recent memories
slm trace "recent" # See with channel breakdown
slm health # Check overall system stateTo manually store something the auto-capture missed:
slm remember "The critical detail that was missed"To delete something auto-captured incorrectly:
slm forget "the incorrect memory"The entropy gate uses several signals:
- Information density — Messages with specific facts, names, numbers, or decisions score higher
- Novelty — Information that is not already stored scores higher
- Entity presence — Messages mentioning people, projects, tools, or services score higher
- Temporal markers — Messages with dates, deadlines, or time references are captured
- Decision language — Phrases like "we decided," "the fix was," "going with" trigger capture
Auto-capture only processes conversations that pass through the MCP server. It does not monitor your system, read files, or access anything outside the IDE conversation. All processing is local (Mode A/B) or uses the cloud provider you configured (Mode C).
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