dsh-memory
Claude Code- and Codex-inspired long-term memory for DeepSeek Harness
一句话定位
Claude Code- and Codex-inspired long-term memory for DeepSeek Harness
安装方式
在 DSH 的 web profile 中执行下面的命令;装完刷新页面即可。
$ dsh plugin --profile web add @hr98w/dsh-memory@0.1.5
兼容的 DSH 版本
未声明
作者与热度
hr98w · ★ 35 · 更新于 2026-11-01
关于这个插件
dsh-memory
融合 Claude Code 的 Auto Memory 与 Codex 的 Session 记忆整理,为 DeepSeek Harness 提供简单、透明、上下文友好的长期记忆。
中文 · English
设计灵感 · 核心能力 · 安装 · 开始使用 · 评测 · 数据与隐私 · 文档
让记忆延续到下一次对话
普通 Session 结束后,Agent 很容易忘记用户偏好、项目约束和已经验证过的经验。dsh-memory 把这些长期信息保存在用户本机的 Markdown 文件中,并在后续请求中只提供 Global 记忆和当前 Workspace 的记忆索引。
它不依赖外部记忆数据库或专用记忆服务,也不把所有历史对话塞回上下文:Agent 先看到小型索引,再使用 DSH 已有的文件搜索工具按需读取少量详细记忆。 评测
仓库内置与插件发布代码隔离的 LoCoMo-10 评测,可对比无记忆 baseline、仅在线记忆、在线记忆加 Session 整理三种模式。评测文档提供 conv-26 和全部 10 个 sample 的可复制命令、环境变量、Judge、Score 与交互式结果报告。
本次保留的完整结果中,Baseline 为 2.60%,Memory 为 73.05%,Memory + Consolidate 为 77.60%。完整结果、实验限制和逐题回答请查看交互式报告。
Baseline 不提供历史对话;两种记忆模式先读取历史形成记忆。每种模式保留一组完整结果,并非多次独立实验的平均值;这不是与完整上下文或其他记忆系统的横向比较。实验复盘记录了设置、观察和局限。 设计灵感:Claude Code × Codex
dsh-memory 没有引入向量数据库或独立记忆服务,而是组合了两类已经在 Coding Agent 中得到应用的简单机制: dsh-memory 融合了这两种思路:以 Markdown 分层保存和按需披露记忆,并从历史 Session 中持续提炼可复用的信息。 核心能力 工作方式
相似插件
EverOS
One portable memory layer for every AI agent: local-first, Markdown-native, user-owned, and self-evolving across apps, t…
billion-context
A context-compression plugin — small context windows (a 100K context is enough), 5x fewer tokens, month-long single sess…
dsh-context
A DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understand…