Memory System
Global Memory
Enable in Settings > Personalization > Global Memory. The agent automatically extracts noteworthy information:
- Your preferences (address, writing style, formats)
- Project background (tech stack, org structure, terminology)
- Recurring conventions (naming, delivery formats)
Memory persists across sessions: no need to repeat yourself; the agent recalls relevant context.
Project Memory
Each project maintains independent memory (MEMORY.md):
- Right-click project → Project Context → Memory tab
- Manually edit knowledge the agent should remember long-term
- Sits alongside AGENTS.md (guidelines) and RULES.md (hard constraints)
Good for: glossaries, historical decisions, API conventions, pitfalls.
How It Works
The agent:
- Recalls relevant memories when the topic comes up
- Proactively saves new information worth keeping
- Periodically tidies up and removes duplicates
Say “Remember I prefer tables for data” or “Forget what you know about X” to manage memory.
Index injection and two-hop recall
Memory is no longer pasted into the prompt wholesale. What gets injected is an index: titles, pointers, and a short digest, with the body kept under a soft budget. When detail is needed, LanMate takes a second hop through the index.
- Capacity: keep the index first, then the body; when the budget is exceeded, entries roll into the archive by watermark instead of being silently truncated
- Two-hop recall: the first hop locates the entry, the second reads the body; a mismatched pointer or title is repaired automatically
- Visibility: the memory panel shows index, body, and budget usage, so you can see which part is full
Management
Settings > Personalization > Memory:
- Enable/disable global memory: toggle
- Confirm before saving memories: found under Settings → Security (on by default) — LanMate asks you before saving a memory; turn it off to save automatically
- Edit entries: change or delete each memory individually; both ASCII and full-width colons are recognized
- Candidate review: newly extracted memories land as candidates for 7 days and only enter the canon after you confirm; expired candidates are cleaned up
- Archive: content past the watermark rolls into the archive and is distilled in the background when idle; archived entries can be moved back to the body
- Delete global memory: clears all stored memories (requires confirmation, irreversible)
Token Budget Memory
On long tasks nearing the budget limit, the agent proactively warns you instead of silently truncating, and key decisions are recorded so they can be recovered even after the context is cleared.
This works automatically—nothing to configure. Memory has its own budget too: the index is hard-checked, the body has a soft budget, and overflow is archived and downgraded rather than cut mid-sentence.