dsh-hermes-memory
isheng-eqi
Hermes-style persistent memory (MEMORY.md / USER.md) for DeepSeek Harness (DSH) — a faithful port of hermes-agent MemoryStore: bounded, file-backed, model-curated, frozen-snapshot injection.
Starry0214101Updated today
DeepSeek Harness (DSH) 全局自动记忆插件:会话开始注入记忆、memory_search 检索工具、压缩检查点归档提醒(零写入提醒制)。Global auto-memory plugin for DSH.
Practical score
78 / 100
Setup
Ready to use
License
MIT
Language
JavaScript
Copy the command, or hand the whole task to your harness agent.
git clone https://github.com/Starry0214/dsh-memory.gitPlease install the DeepSeek Harness plugin "dsh-memory" for me. - GitHub repository: Starry0214/dsh-memory (https://github.com/Starry0214/dsh-memory) - Type: a Cordis plugin (installed into a DSH profile) - It should work out of the box with no extra configura…
A cleaned excerpt from the project's own documentation.
dsh-memory 让 DeepSeek Harness(DSH)真正 记住你 :跨会话、跨项目。装好后每个新会话自动带上你的画像、偏好和最近进展,AI 不用每次都从零开始。 v4.5.1 | 记忆真源 = SQLite 主题库 ( .memtopic/mem.db )| md 只剩「人工稳定层」与「导出视图」 4.5 更新 :会话笔记 memory note (默认动作 + 15% 档位提醒)| 压缩后 拦截式重灌 (不再有失忆窗口)| 检查点/笔记/项目/画像 四段注入 (6100 字上限)| 流式文本退化熔断 | 漏网归档链整体移除(-2860 行)。 从 4.0.x 升级:重跑安装命令 + 重启 DSH 即可, 无需迁移数据 (见迁移指南)。 设计灵感来自 MiMo-Code 的开源持久化记忆(MIT 许可),针对 DSH 生态独立实现。 技术细节 → 设计文档 | 版本历史 → 变更日志 | 老库迁移 → 迁移指南 --- 一、4.0 的核心变化:从「记文件」到「记主题」 3.x 时代, /.dsh/memory/ .md 既当 存储 又当 注入源 :AI 读 md、改 md、把 md 塞进上下文。文件一多就散,容量靠"字节数"判,整理时 读的是文件、写的是别处 ——真机实测 dream 读到 18KB 的文件,库里对应主题只有 74 字符,于是同一批"超限文件"永远收不干净。 4.0 把 真源 换成 SQLite 主题库,md 降级为两种只读角色: 3.x 4.0 --- --- --- 真源 .md 文件 .memtopic/mem.db (主题 + 句子 + 触发词 + 三级结构 + 审计) 组织方式 平铺文件(按目录/日期) 三级主题树 :域 → 项目线 → 明细 检索 关键词扫文件 主题检索(名称/触发词/正文),可跨文件命中 容量口径 md 文件字节 主题字符 ,按层级三档 整理 改文件 按 主题 增删改(CAS 校验,冲突整条回滚) md 角色 存储 + 注入源 人工稳定层 ( global.md / index.md / AGENTS.md )+ 导出视图 ( export/ 、 projects/ …) 收益 :…
Open on GitHubSimilar tools from the same corner of the ecosystem.
isheng-eqi
Hermes-style persistent memory (MEMORY.md / USER.md) for DeepSeek Harness (DSH) — a faithful port of hermes-agent MemoryStore: bounded, file-backed, model-curated, frozen-snapshot injection.
limbo947
消息撤回插件:回到发送该消息时的状态 DSH Message Recall Plugin: Return to the state when the message was sent
wall1234567
DSH 长期记忆插件:上下文超过阈值时把最早的一段对话归档到 memory/ 回忆文件夹,之后按关键词与重要度概率自动回忆。Host-only, zero-dependency memory engine for DeepSeek Harness.