What’s new in
SuperLocalMemory.
Memory before every prompt, cues, disputes instead of silent overwrites, imports from other apps, a living wiki, trust controls with a decision log and a kill switch, and measured memory help. SLM ships often, so this page describes capabilities rather than release numbers; the full changelog is on GitHub.
Memory that arrives
before you ask twice.
Each part below is on by default and has its own off switch under slm flags. One kill switch, slm flags kill on, turns all of it off without a downgrade.
Asked only when needed
A per-prompt hook asks memory before your agent answers, but only when the prompt needs it. Greetings, arithmetic and slash commands are skipped, and a memory the conversation already has is never repeated.
Back at the right step
Save a memory with a file pattern, a command, an error text, a repository or a date, and it comes back right before or after that step. Editing a file that memories came from warns that they may be out of date.
Every result explains itself
Each result says which channels found it, whether it was judged supported, and whether it is current, disputed or from a file that changed.
Two sides, not a silent overwrite
When two memories give different values for the same thing, recall shows both, newest first, until an agent or you settle it. A settled dispute can be rolled back.
Bring memory in.
Read it back as pages.
ChatGPT, Claude, Mem0, Letta, Markdown
Preview what a file holds, run the import in the background, and undo the whole run at once. Imports never overwrite what you saved; a contradiction opens a dispute.
Import page → Guide →Every sentence cites a memory
slm wiki writes Markdown pages in which every sentence is quoted from a memory it cites. Your edits come back as proposals, never as silent writes.
Decisions you can undo.
Judges that earn trust.
Where every memory came from
Each memory records how it arrived, from your own words down to a model’s rewrite. A minimal instruction firewall stops text from a web page, tool output or an import from becoming a pinned rule by itself. It hides nothing from recall.
Every decision has an Undo
Settling a dispute, an import, an applied proposal: each is recorded with who, which channel and when, and the dashboard lists them with an Undo button.
Rules, then Laya, then Jev
Questions such as “are these two memories duplicates” go to rules, then Laya on your Mac, then Jev online, only after your consent. A judge acts only once blind audit labels support it at a stated error rate.
Does memory help?
SLM keeps receipts (ids and scores, never text) and reports with confidence intervals whether memories helped: slm health --memory. It stays on your computer, and slm measurement off stops it.
Secret screen, signed memories
Credentials in saved text are replaced with a typed placeholder before storage. Memories are signed with a key from your operating system’s keychain to detect tampering by a synced copy or disk image.
One command turns it all off
slm flags kill on turns off every one of these newer passes without a downgrade, and reads behave as before.
Fewer steps.
More reliable plumbing.
Set themselves up
On computers with 16 GB of memory or more, one download at a time and never under memory pressure; one click on smaller ones.
JSON for agents
slm tool list and slm tool NAME --json reach every MCP tool from a shell. Every slm command can answer in JSON with --json.
Deletes that finish
Deleting a memory that a backup already holds now succeeds and names the backups that still hold it. The installed service (launchd, systemd or Task Scheduler) owns one daemon, and slm doctor reports one it does not own.
Fit their time limits
The memory check before a web search ends within a few seconds and no longer replaces “nothing relevant” with weak matches. Hooks no longer lose events when a lock is busy.
Survive stray bytes
A stored value that holds bytes which are not text is read safely everywhere, and slm doctor shows whether your store has any.
Connect in one command
slm connect codex, then slm codex install for skills, agents and hooks.
Background: SuperLocalMemory on Qualixar · Claude Code memory guide · SLM films · by Varun Pratap Bhardwaj
Three answers.
No guessing.
Finding a result is not the same as having the answer. After ranking, recall makes one more decision — the support check — and every recall ends in exactly one of three tiers. A memory made mostly of ids and hashes sits close to almost every question, so a plain vector store returns something even for nonsense. SLM does not.
It has the answer
The supported results, with their scores.
At least one memory carries real support for the question. Memories that fell short are marked weak, not hidden from people.
You see: results with scores · agents get the same
Close, but not exact
“I don’t have this exactly — here are the closest memories.”
Nothing answers it, but the question reads as a real one. You get up to three of the closest memories, each marked related. An agent’s recall comes back empty with a pointer instead — it must ask with include_related to see them.
You see: up to 3 marked related · CLI shows [related]
Not in memory
“That isn’t in SuperLocalMemory.”
The question reads as nonsense, or nothing is close. Nothing is returned, and the reply says so in plain words instead of dressing up a bad match.
You see: the sentence, no results
As much as you asked for.
Never more.
An agent rarely needs every memory in full. Recall can be asked for less — or for more around one memory — and a token budget caps the whole reply. It is never exceeded: context is dropped first, then the last memory’s text is shortened, then memories are left out, and the reply says what was trimmed.
The cheapest look
Ids, tier, score and a one-line preview per result. Start here when an agent is deciding what is worth reading.
The full facts
What recall has always returned — the complete memory text. This is the default.
The story around it
Each result gains its source memory, up to three memories from the same session, up to three about the same entities, and the correction that replaced it, if there was one.
expand takes one result and returns that memory in full with its depth-2 context, under the same checks as a direct read. Checked answers.
Healthier memory.
Two background systems keep recall honest and the store tidy — one judges whether results answer the question, the other describes older memories and offers repairs you approve.
Laya runs here, on this machine
After ranking, a small on-device model looks at the top results and decides whether they actually answer the question. On Apple Silicon it is installed by default, so the check runs from the first day. Nothing about your questions or memories leaves the machine for it.
- To opt out: run
slm setup --no-laya. Answering no once is remembered. - Online option: stays off until you add your own key and tick consent. Auto never turns it on by itself.
Older memories get described, not rewritten
Older memories are often thinly described: no tags, no project, no dates. A background worker fills in what is missing — tags, project, names, dates — while your computer is idle. The text of a memory is never changed, and a kind you set is always kept.
- Repairs wait for you: anything that moves or deletes needs an explicit Fix.
- Undo: every automatic run can be undone from its own record.
- Dashboard: the Memory health card shows progress with the same Fix and Undo buttons.
Erasure reaches
the copies too.
Deleting a memory from the database was never enough on its own — SLM builds summaries, a persona and scene titles out of your memoriesand those quote them in words. SLM closes the gap.
Derived copies go first
The moment an erasure starts, anything derived from the memory that quotes it is withheld, then deleted and rebuilt from what remains: consolidated summaries, the persona, scene titles. If SLM cannot prove a copy is clean, it withholds it rather than showing it.
Scoped to your workspace
Memory health, restore and recovery need management permission for the workspace they change — counting and changing the whole store is an admin act, not a reader’s. Restores replace every workspace’s data, so they need installation-wide permission.
A safety copy, always
Before a restore writes anything, SLM takes a fresh recovery backup of the current state, so the moment before the restore can always be put back. A restore never brings back erased data, and settings merge without leaking secrets to a new provider.
Agents that talk,
work that is provably done.
Memory is shared, attributed and trust-scored. Beyond memory, agents coordinate and finish work with evidence.
Local agents and web bots, one conversation
Claude Code, Codex and Hermes sessions exchange messages, waits, locks and shared state, on one machine or several. ChatGPT, Claude on the web, Grok Bot and Muse join with your permission and can message a named agent. Messages arrive labelled as data, never as instructions.
Multi-machine guide →A document index and a health check
Every file is catalogued with its people, projects and dates, and a health check finds empty pages, unlinked and duplicate documents, and contradicted facts. Real hybrid search stays for the moment you need to find something.
The original idea →Done means a gate passed
A loop ends only when an independent gate passes: tests, a linter, a schema. Never the agent’s word. Multi-step graphs run in Bounded Loops, and SLM keeps their finished runs as read-only evidence.
Bounded Loops →More of your memory,
visible in one place.
Find the slide by describing it
Screenshots, photos and PDFs are remembered and found by what they show. Pictures run through a separate worker so a heavy model never competes with recall, text inside pictures is read on your computer, and each PDF page is indexed by both its picture and its text. The picture channel joins recall only while the feature is on.
Read the guide →Tabs with plain answers
- Answer Check tab — which check runs, a Try-it box, and how often recall said it had no answer.
- Documents & Images — turn media on, add files, connect a folder read-only.
- Memory health card — automatic description progress, repairs behind Fix, Undo beside them.
- Memories search — a Show-closest-matches box, and an empty search says why instead of “no results”.
Get SuperLocalMemory.
Install the package, run setup, and recall starts answering in three tiers on day one. Read the architecture for where each piece sits, or the answer-check page for the full contract. SuperLocalMemory remembers, Jev Decision Layer makes your agent’s bounded choices typed and checked, and Bounded Loops ends work only when an independent gate passes: together, the whole AI Reliability Engineering environment.