
SuperLocalMemory
io.github.qualixar由 GitHub 账号 qualixar 发布v4.2.13更新于 Oct 30, 2026
Local-first memory for AI agents: recall with sources, answer checks, documents, mesh, governance.
发布方自己的服务:Memory.fit
概览
本地优先的记忆服务器,让 AI 助手在你自己的电脑上保存、检索并治理事实、决策、文档和图片。
- 可以做什么
- 记住与回忆记忆,支持分层深度、token 上限、expand 深入查看,以及可撤销的更正替换旧事实
- 跨语义、关键词、实体图、时间与图片等多通道检索,支持时间旅行查询和按项目、代理、类型、标签精确过滤
- 索引并查询文档、PDF、截图和图片,可按描述找图,含 OCR、文档索引与文档健康检查
- 通过 SLM-Mesh 让多个代理交换消息、等待、加锁和共享状态,并可索引代码仓库查询调用方与影响范围
- 以角色、工作区、作用域、准入回执、哈希链审计轨迹和 GDPR 导出与删除来治理记忆
- 提供记忆健康、摘要、保存视图、诊断和工具集配置
- 适用场景
- 适合希望编码代理和聊天助手跨会话保留上下文、又不愿把记忆交给云服务的场景,也适合需要明确回答“没有这条记忆”而非猜测的检索。团队需要对文档和图片做分权、可审计记忆时同样适用。
- 运行要求
- 作为本地进程运行,仅限桌面端。可用 npm(Node 18+)、pip(Python 3.12 至 3.14)或 uv 安装,然后运行 setup 并连接各应用;stdio 命令为 slm mcp,另有可选的本地 HTTP 端点。图片与文档功能约需 1.5 GB 空间和 16 GB 内存。可选的在线答案校验需自备服务商密钥并同意。
安装
在 SourceWeft 中
- 打开 控制台中的 SuperLocalMemory,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[SuperLocalMemory mascot, a fluffy caped helper with the SLM logo, arms open]
The governed memory brain for every AI agent. It lives on your machine. It never bluffs.
One memory for every agent you and your team use — Claude Code, Codex, Cursor, Copilot, Antigravity, Hermes, ChatGPT, Claude on the web, Grok Bot, Muse and any harness that speaks MCP or runs a command. Decisions, documents, screenshots and PDFs, recalled the way you ask for them, governed like company data, shared through a mesh where your local agents and web bots talk to each other, and answered honestly: when the answer isn't there, your agent hears "That isn't in SuperLocalMemory." — not a confident guess.
[PyPI] [npm] [PyPI downloads] [npm downloads] [GitHub stars] [License: AGPL-3.0] [Research: 4 arXiv papers]
Install · See it work · Full demo · Every capability · Docs · Website
⭐ If SuperLocalMemory keeps your agents from guessing, star the repo. It helps other developers find it.
[Recall in the dashboard: a real question gets its answer; a gibberish question gets 'That isn't in SuperLocalMemory.'; a real question memory cannot answer exactly gets the closest memories, labelled]Agents forget everything between sessions. The usual fix — a vector store with a save button — makes it worse: it always returns something, even when nothing it holds answers the question, and your agent builds on it. This is a memory brain, not a bucket: it understands what was saved (who, what, when, which project), keeps it true over time, governs who may see it, and refuses to bluff. Four arXiv papers describe how it works.
In Mode A, core remember and recall make no model-provider call: no API key, no cloud account, no Docker. Anything that sends data out is a choice you make, and the docs say exactly what goes.
Install
The easiest way: let your AI agent install it. Copy the block below into Claude Code, Codex, Cursor or any agent that can run commands. It reads the setup guide, asks you one question, sets everything up and tells you what works. No terminal commands for you to learn.
No AI agent? One line in Terminal (macOS and Linux). It brings its own Python, sets everything up, connects the AI tools it finds and opens the dashboard; no Python or npm needed beforehand:
Add pictures and documents from the start with sh get-slm.sh --media at the end. It downloads the script first, so you can read it before it runs. Windows: use the agent prompt above, or npm or pip below.
Prefer the terminal? Both routes end in the same setup: your text memory on this machine, and, if you say yes, your pictures and documents too.
npm, the primary route (Node 18+). It installs SLM into a package-owned virtual environment:
pip, the other primary route (Python 3.12 to 3.14), in a Python virtual environment you activate:
uv: uv tool install --python 3.12 superlocalmemory installs slm as an isolated tool, with nothing to activate; see Linux install.
Claude Code plugin: claude plugin marketplace add qualixar/superlocalmemory, then claude plugin install superlocalmemory@qualixar. Codex: slm connect codex, then slm codex install.
Two models, one memory. Text is searched with a small local text model (nomic). If you turn on pictures and documents, a second local model (Google's EmbeddingGemma 2) reads them, and one recall returns both. The picture model unloads after 30 minutes without use, so it holds no memory while you only work with text. Details: pictures and documents, getting started, agent setup steps.
Repository clone: ./scripts/install.sh install (macOS, Linux) or .\scripts\install.ps1 -Action Install (Windows). Runs on Windows, Linux and Apple Silicon macOS (platforms).
30-second example
Real output from a fresh Mode A install, trimmed. Scores rank memories; they are not probabilities.
Why SuperLocalMemory: twelve superpowers
1. It knows when it doesn't know. Every recall comes back in one of three tiers: a supported answer; the closest memories, labelled "I don't have this exactly — here are the closest memories"; or "That isn't in SuperLocalMemory." for nonsense. Just after a start it says it is still warming up and shows what it has found, so you never hear "empty" when the truth is "not ready yet". Your agent stops building on the wrong memory.
2. A second opinion that never leaves your Mac. On Apple Silicon, SLM installs Laya, a small on-device model that judges whether the memories found actually answer the question. Prefer the cloud, or not on a Mac? Jev does the same check online, only after you tick its consent.
3. Your documents and screenshots become a knowledge base you can ask. Save a photo, a screenshot or a PDF and find it weeks later by describing it — "the slide with the quarterly numbers". The picture model is [Google] Google's EmbeddingGemma 2, running on your computer: one model reads both your words and your pictures, so a description finds the image. OCR runs locally too, every PDF page is indexed by its picture and its text, and every answer cites its file and page. No generative model ever looks at your files.
4. Karpathy's LLM-wiki idea, built in — with search kept. Andrej Karpathy's LLM-wiki pattern turns raw documents into an organised knowledge base with an index and a health check. SLM does that from the data it already stores — a document index of every file with its people, projects and dates, and a document health check that finds empty pages, unlinked documents, duplicate pages and contradicted facts — while keeping real hybrid search for the moment you need to find something.
5. It looks after itself. Memory health describes your older memories in the background — dates, names, projects, kinds — only ever by adding, never touching what you wrote. Anything that moves or deletes waits for your Fix, and Undo puts it back.
6. Governed, not just stored. Every save passes an admission check and gets a receipt. Every read respects roles, workspaces and scopes. Every erasure reaches every copy — summaries, caches, indexes, picture mirrors — and comes with a verifiable receipt. Every action lands in a hash-chained audit trail. Built for teams and for GDPR, not bolted on.
7. Memory with a sense of time. Every fact knows when it happened and when SLM learned it. Ask what was true last month, or what SLM knew before a date. Corrections replace a fact and stay undoable; unused memories fade the way human memory does.
8. It never floods your context window. Layered recall gives an agent a one-line glance, the facts, or the full surrounding context — under a hard token budget it sets. The agent digs deeper with expand only when it needs to, and cache and reversible compression stop you paying for the same output twice.
9. Many agents, one brain. Every write records which agent made it, with trust scores against memory poisoning, so ten agents can share one memory without poisoning it.
10. Your agents talk to each other — even across the internet. Through SLM-Mesh, the agents on your computer and the bots on the web finally share one conversation. Claude Code, Codex and Hermes sessions exchange messages, waits, locks and shared state, on one machine or several, so one agent can hand work to another and two never edit the same file at once. And the bots you allow — ChatGPT, Claude on the web, Grok Bot, Muse — join the same mesh: a bot in your browser can message the agent on your laptop by name and read its reply. Every message arrives labelled as data, never as instructions; a web bot reads new messages when its next turn starts.
11. It learns every day, and it can't quietly get worse. Every reported outcome teaches it: ranking learns which memories actually helped, stable habits become soft prompts for new sessions, and agent skills are measured and revised. A new ranker is promoted only on a statistically valid win and rolled back automatically if it slips. Work runs as bounded loops that end only when an independent gate passes — never on an agent's word — and multi-step pipelines run as bounded graphs with Bounded Loops, whose finished runs SLM keeps as read-only evidence.
12. Science, not vibes. Four arXiv papers back every layer: information-geometric retrieval, biologically inspired forgetting, Bayesian trust against memory poisoning, and governed memory with measured costs. The core math runs without a language model, and the published benchmarks state exactly how they were measured.
SuperLocalMemory is part of Qualixar's AI Reliability Engineering work: agent memory that is observable, bounded and honest about what it doesn't know.
Watch it work
The full eight-minute demo: one memory shared by your coding agents and bots, every tab.
Add SuperLocalMemory to your app
You do not need to wait for an app store. Every app below can take SuperLocalMemory straight from this GitHub repository, qualixar/superlocalmemory, in two steps.
Step 1, once per computer. Install SuperLocalMemory: npm install -g superlocalmemory (or pipx install superlocalmemory). Your memory lives on this computer from then on.
Step 2, in each app you use:
Restart the app after adding SuperLocalMemory. Then ask it something like "What do you remember about this project?" The plugin guide has the details for each app, and slm doctor checks your setup.
Works with your agents
Every harness, every bot, one memory. Any harness that speaks MCP (slm mcp, or http://127.0.0.1:8765/mcp/) or can run a command (slm remember, slm recall) can use SuperLocalMemory. The packaged plugins are ready-made examples, not a limit.
What the plugins teach your agent. Every plugin is built from one source, so every host gets the same 16 skills (recall, remember, sessions, governance, scopes and profiles, the knowledge graph, mesh, bounded loops, cache, compression, Web access, pictures, and two for bot computers) and 4 agents (a memory advisor, an optimize advisor, a governance advisor and a loop runner). Hooks run at session start, after tool use and at the end of a session, and every hook fails open: a hook problem never blocks your agent. Plugins, skills and hooks
Everything SLM does
Recall that knows when it doesn't know
The answer check: Laya and Jev
The verdict is one input to the support decision, with its own time budget, and the Answer Check tab shows verdicts, timing and how often memory had no answer — without storing your questions. Answer check
Documents, pictures and your notes
Memory health
The living brain
Governance and compliance
Engineering controls that support a compliance program, not a certification.
Many agents, one memory
Context savings
Modes, dashboard and scale
MCP memory server: tool profiles
Every app, plugin and extension gets full (58 tools: all of memory, SLM-Mesh, optimize, loops; 5 more while images are on) unless you choose otherwise. That fits hosts that cap the total number of MCP tools at about 100, with room for your other servers. To change it for every app at once, run one command and restart your apps:
To change one app only, set SLM_MCP_PROFILE in that app's MCP config (slm connect <app> --profile <name> writes it); it wins over the saved choice for that app. Per-app details
stdio: {"command": "slm", "args": ["mcp"]} · HTTP: http://127.0.0.1:8765/mcp/ · MCP tools
See it
Recorded on a test install with fictional memories. The eight-minute full demo walks through every pane.
Architecture
[SuperLocalMemory architecture: local harnesses, web bots and your code reach one SLM service on your computer through four doors (MCP, CLI, REST and dashboard, Web access); SLM-Mesh lets local agents and web bots talk to each other; inside, recall runs hybrid channels, fusion, the answer gate with three tiers, the Laya or Jev answer check and layered output; saves pass admission, redaction and understanding; the living brain runs Memory health, consolidation, daily learning and bounded loops; storage is SQLite with verified LanceDB and CozoDB copies, pictures and documents, the knowledge graph, the audit chain and encrypted backup; governance applies to every call]The free local core is complete on its own; Web access is optional. Architecture in detail
Privacy
[SuperLocalMemory mascot holding a shield: privacy and governance]Nothing leaves your computer unless you turn on a feature that sends it, and each one says exactly what goes:
Pictures, documents, Laya and Mode A never send anything. Secrets in memory text are redacted on every outbound path. Security policy
Benchmarks
These numbers come from the published architecture paper (arXiv:2603.14588), whose retrieval core SLM still runs. They are not a fresh run of the current package.
A LoCoMo score is comparable only when the subset, answer model and judge match. Method and ablations
Research
Four arXiv preprints by Varun Pratap Bhardwaj describe SLM:
- SuperLocalMemory 4.0: The Governed Memory Operating System for AI Agents, with Garima Singh and Arun Pratap Bhardwaj. arXiv:2608.08253
- SuperLocalMemory V3.3: The Living Brain, arXiv:2604.04514
- SuperLocalMemory V3: Information-Geometric Foundations for Zero-LLM Enterprise Agent Memory, arXiv:2603.14588
- Privacy-Preserving Multi-Agent Memory with Bayesian Trust Defense Against Memory Poisoning, arXiv:2603.02240
Cite with CITATION.cff or GitHub's "Cite this repository".
Documentation
Start: Getting started · IDE setup · Plugins · Quick proof Use: Recall · Memory health · Answer check · Pictures and documents · Auto-memory · Web access · Optimize Reference: CLI · MCP tools · Configuration · Troubleshooting · Compliance · Wiki · Release notes
Upgrade
Upgrades never move or delete memory, and a store update takes a restore point first. Host upgrades
Platform support
Python 3.12+, Node 18+ for npm. Pictures and documents need 16 GB of memory.
Star history
[SuperLocalMemory GitHub star history]
Contributing and license
Issues and pull requests are welcome: CONTRIBUTING.md. Security reports: SECURITY.md. Licensed under AGPL-3.0-or-later; for a commercial license see COMMERCIAL-LICENSE.md.
Built by Qualixar
SuperLocalMemory is made by Varun Pratap Bhardwaj at Qualixar: AI Reliability Engineering — memory, contracts, tests and loops that make AI agents dependable enough to trust with real work.
Stronger together. SuperLocalMemory remembers. Jev Decision Layer makes your agent's bounded choices typed and checked. Bounded Loops ends work only when an independent gate passes. Use them together and Qualixar gives your agents the whole AI Reliability Engineering environment: memory they can trust, decisions they can defend, and work that is provably done.
If SLM keeps your agents from forgetting, star the repository. It's how other developers find it.
More from Qualixar: Qualixar OS · SkillFortify · SLM Mesh · AgentAssert · AgentAssay · Bounded Loops · Jev Decision Layer · SLM MCP Hub
来源:README.md,提交 a3b4f99
工具
0版本历史
8- v4.2.13最新Oct 29, 2026
- v4.2.11Oct 22, 2026
- v4.2.10Oct 17, 2026
- v4.2.9Oct 17, 2026
- v4.2.8Oct 17, 2026
- v4.2.7Oct 15, 2026
- v4.2.6Oct 14, 2026
- v4.2.5Oct 14, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Memory 集成

Memory.fit
fit.memory官方发布者
托管式 Memory.fit 服务器,让 AI 读取你的训练、睡眠、恢复与饮食数据,并写回每周计划、每日目标和饮食计划。
pg.ddx.io: the PostgreSQL community's memory
io.ddx.pg官方发布者
pg.ddx.io: the PostgreSQL community's memory 的托管 MCP 服务,由 pg.ddx.io 发布;无需登录;Streamable HTTP;29 个工具。
var.gg Naming Memory
gg.var官方发布者
远程 MCP 服务器,可根据领域概念推荐并检索韩、日、中、越、英多语言的代码标识符名称,并提供 ERD 结构查询。

Counterparts
ai.counterparts
面向 Claude Code 与 Claude Desktop 的本地优先长期记忆:助手自行写下关于你和项目的笔记,并在之后的会话中回忆起来。

LAHZE - Persian AI Memory Platform
由 GitHub 账号 pedramgholizadeh 发布
以波斯语为先的地理记忆平台:发现地点,起草并发布仅限波斯语的记忆。AI 翻译