
SmartMemory
io.github.MauriceIsrael由 GitHub 账号 MauriceIsrael 发布v1.0.1更新于 Nov 3, 2026
Neuro-symbolic memory for LLMs (POC)
发布方自己的服务:Memory.fit
概览
实验性神经符号记忆服务器,把对话中的事实存入 RDF 知识图谱,并用 SPARQL/OWL 规则推导出可追溯的结论。
- 可以做什么
- 把对话中陈述的事实存入带来源记录、可审计的 RDF 知识图谱
- 学习并应用 SPARQL/OWL 规则,在后台推导出新结论
- 对含糊的事实或拟新增的规则,先请用户确认再写入
- 从自然语言中抽取事实与规则,支持复杂句、指代和 Turtle 写法
- 另提供仪表盘模式,可视化图谱并批量审核从 PDF 中抽取的规则
- 适用场景
- 适合希望助手长期记住事实、并能说明推理依据的场景,也适合试验神经符号推理与规则学习。项目自称为概念验证,宜用于研究与学习,而非生产环境。
- 运行要求
- 以 stdio 在本地运行,可用 Docker 镜像,或从源码安装(需 Python 3.11+ 与 pip)。抽取事实和规则需要 LLM 提供方:托管服务的 API 密钥(如 LLM_API_KEY,配合 LLM_PROVIDER、LLM_MODEL),或通过 LLM_BASE_URL 连接本地 Ollama。仪表盘模式还会开放 Web 端口,并需挂载卷以持久化图谱。
安装
在 SourceWeft 中
- 打开 控制台中的 SmartMemory,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
🧠 SmartMemory
Give your LLM structured, verifiable memory — turn conversations into knowledge graphs your AI can reason over.
An MCP server that teaches AI assistants business rules through natural dialogue.
[License: MIT] [Python 3.11+] [Model Context Protocol] [Neuro-symbolic] [Status: PoC] [PRs welcome]
[!CAUTION] Proof of Concept. SmartMemory is an experimental implementation of a neuro-symbolic architecture, built to explore how LLMs can interact with knowledge graphs to learn and apply rules. It is not intended for production use — treat it as a research and learning playground.
Why SmartMemory?
LLMs are brilliant talkers with no real memory. Across a conversation they forget, they can't explain why they concluded something, and they happily state things that were never verified.
SmartMemory adds the missing half: a symbolic brain.
- Facts you state are stored in an auditable knowledge graph (RDF), each with its provenance.
- Logic is captured as explicit, inspectable rules (SPARQL/OWL) — not hidden in weights.
- New conclusions are derived, traceable, and reversible — and ambiguous ones are sent back to you for validation.
The result is an assistant that doesn't just sound right — it can show its reasoning.
What it can do
SmartMemory turns your AI assistant into a domain expert that supports:
- Asynchronous reasoning — deductions run in the background (
InferenceManager) without slowing the conversation. - Uncertainty handling — ambiguous facts trigger a human-in-the-loop validation workflow.
- Smart NLP extraction — handles complex sentences, coreferences, and direct Turtle notation.
- Provenance & audit — every stored fact keeps its origin (UUID, source, timestamp).
- Dynamic rule engine — learns and applies new SPARQL rules on the fly.
How it works
The LLM is the language cortex (understanding and extraction); the knowledge graph and rule engine are the symbolic memory (storage, logic, proof). Neither alone is enough — together they are neuro-symbolic.
Two ways to use it
Quick start
Mode 1 — Conversational Setup (MCP)
Gives your LLM long-term memory and logical deduction.
Option A — Docker (recommended) 🐳
No Python required. The image is published on GitHub Container Registry.
Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json:
The same block works for any MCP client (e.g. Cline) — just point it at your client's mcp_settings.json. Restart the client and you're done. ✅
Option B — Local server (from source) 🔒
Best for developers and privacy-conscious users.
Then point Claude Desktop at your local install:
Restart Claude and try: "I know Bob. He goes to work by car. Can he vote?" — see the demo below.
Mode 2 — Supervision Setup (Docker)
Runs the web dashboard and API server — ideal for visualizing the knowledge graph, extracting rules from PDFs, and hosting a shared memory for a team.
Add
dashboardto start the web server; without it the container starts in MCP mode. The-vvolume persists your knowledge graph and rules. Open the dashboard athttp://localhost:8080.
LLM configuration
SmartMemory uses an LLM to extract facts and rules from natural language and documents. Configure it via the dashboard Admin page or via environment variables (-e LLM_PROVIDER=…).
Extracting rules from documents
- Upload a PDF (e.g.
Company_Policy.pdf). - Pick a provider — the server needs an API key (or a local Ollama) to read the document.
- Review & approve — the system proposes rules; you accept them in bulk from the dashboard.
Interactive demo — from facts to rules
What happens in Conversational Mode:
Every step is stored, attributed, and replayable — that's the point.
Tech stack
- Backend: Python 3.11+, RDFLib, FastAPI
- Frontend: SvelteKit, TypeScript, TailwindCSS
- Reasoning: Neuro-symbolic (LLM + SPARQL / OWL)
- Protocol: Model Context Protocol (MCP)
- Packaging & deploy: Docker, GitHub Container Registry, Google Cloud Run
Roadmap
- Broaden document ingestion (DOCX, HTML, web pages)
- Richer graph visualization and rule-conflict detection
- First tagged release (
v0.1.0)
Ideas and contributions welcome — see CONTRIBUTING.md.
License
MIT — see LICENSE.
来源:README.md,提交 f4a650c
工具
0版本历史
1- v1.0.1最新Sep 16, 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 翻译