Cross-session memory: SQLite with a human-editable Markdown mirror, background consolidation (dedup, merge, conflict resolution), and six memory tools.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:modusensus/dsh-mneme
GitHub-sourced plugins run build scripts on your machine at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
把记忆主权还给人的记忆插件 —— 记忆不再是黑盒,而是你读得懂、改得动的 Markdown。
dsh-mneme 是一个 DeepSeek Harness (DSH) 插件,为 Agent 提供持久的跨会话记忆能力。Mneme(Μνήμη)——希腊记忆女神 Mnemosyne 之名,掌管记忆与梦境,正如 autoDream 在后台巩固记忆。
不同于把记忆锁进数据库的插件,Mneme 把记忆写成你读得懂的 Markdown——你始终握着记忆的主权:看得见、改得动、删得掉,记忆这回事不该让 Agent 一个人说了算。
✨ 特性一览
- 🧠 记忆主权:SQLite + 可人工编辑的 Markdown 镜像,双向同步——记忆透明、可审查、归你所有
- autoDream 梦境巩固:后台自动去重 / 合并 / 归档 / 冲突裁决(fail-safe 校验),越用越精炼
- 6 个模型工具:
memory_save/memory_search/memory_list/memory_update/memory_delete/memory_forget - 自动注入 + 会话摘要:新会话自动带入相关记忆,会话结束自动提炼偏好 / 决策 / 教训
- Web 记忆面板:官方设置面板内嵌,按类型浏览、全文搜索 + 语义(向量)搜索
- 用户设置:用户画像 + 行为规则,每轮注入系统提示
- 自定义指令:注册斜杠命令(/名称),触发时交给 Agent
- 向量搜索:接入 OpenAI 兼容 embeddings API,语义匹配字面不同但意思相近的记忆
📦 安装(DSH)
dsh plugin --profile web add @modusensus/dsh-mneme
dsh web
需要 Node 24+(
node:sqlite)。安装 / 配置 / 架构详见 插件完整文档。
📁 仓库结构
dsh-mneme/ 插件本体(npm 包 @modusensus/dsh-mneme)
docs/ 设计文档与实施计划
🧪 本地开发
cd dsh-mneme
npm install
npm test # 140 个测试
npm run sync # src → lib 同步(发布时自动执行)
📄 文档
| 文档 | 路径 |
|---|---|
| 插件完整文档(功能 / 安装 / 配置 / 架构) | dsh-mneme/README.md |
| 记忆库设计 | docs/superpowers/specs/2026-08-13-dsh-memory-design.md |
| autoDream 设计 | docs/superpowers/specs/2026-08-13-dsh-memory-autodream-design.md |
| 实施计划 | docs/superpowers/plans/2026-08-13-dsh-memory-autodream.md |
📜 License
MIT
Links
More in this category
LoserFox/distill★ 15
Automatic conversation distillation: background subagent reflection + skill create/update.
omdsh-dev/dsh-mnemon★ 11
Deep Mnemon integration: local three-tier memory (Runtime Memory, retrievable Documents, supervised Memory Spaces).
nowledge-co/nowledge-mem-deepseek-harness★ 5
One memory layer for every AI tool and agent: Context Bundle injection, prompt-time recall, MCP tools, and turn-end DSH thread capture.
Jesse-njx/dsh-memory★ 2
Cited memory over DSH's lossless session log: distilled facts carry `(sessionId, eventRange)` citations that expand back to the exact original log excerpt.
PerryLink/dsh-memento★ 1
Bounded, layered, approval-gated, auditable cross-session memory: a typed `ctx.memory` seam with a zero-dependency SQLite provider, a `memory` tool, and frozen snapshot injection; every write passes the approval gate and stays reconstructable from the session log.
GIT121995/dsh-memory-gate★ 1
Bounded local memory with CBDC authority gating: SQLite + FTS5 claims, scoped recall with explainable use/verify/ignore decisions and a full audit trail, /memory commands, ≤3-claim/1200-char injection per call, no extra model call.