MIT 许可、本地优先的 DeepSeek Harness 长期记忆:自动捕获、证据门控回忆、来源追溯,以及 BM25 + 结构化混合检索,全部存于本地 SQLite,无需独立记忆服务。
DSH 适配
原生运行时
作者声明
安全审计
未审计
最后核验
2026-09-06
许可证
MIT
01它能帮你完成什么?
Capture and search long-term memory across DeepSeek Harness sessions
Searchable local memory of completed main-agent turns plus a Memory UI under DSH Settings → StrataGate-AgentMemory
DeepSeek Harness (dsh) users running long-lived agents who need persistent, source-traced cross-session memory
02如何接入 DeepSeek Harness?
前置条件
- DeepSeek Harness (dsh) must already be installed
安装步骤
- 01
$ dsh plugin --profile web add stratagate-dsh
- 02
Restart that profile, then keep using DSH normally.
验证接入成功
- StrataGate exposes its Memory UI under DSH Settings → StrataGate-AgentMemory
03DSH 适配与能力边界
Installed as a native DeepSeek Harness (dsh) plugin — `dsh plugin --profile <name> add stratagate-dsh`
Automatic local-first capture
completed main-agent conversations and tool results→local SQLite database (no separate memory server)
Layered / compact memory
recent and older history→detailed recent history plus a compact index that expands on demand
Event cards with source & time
lasting memory records→records origin and separates when something was mentioned from when it happened
Hybrid BM25 + structured search
memory graph / events→compact facts via searchEvents() / searchGraphNodes() with reciprocal-rank fusion
Evidence-gated recall
retrieved context→a sufficiency check (evidence refs) before the agent relies on memory
External memory import
structured memory exported by another AI→traceable Events while the imported source text remains preserved
04适合谁?何时不该用?
适合
- DeepSeek Harness (dsh) users running long-lived agents who need persistent, source-traced cross-session memory
不适合
- The current version still has 31 majority-wrong questions on its evaluation set, so recalled answers are not guaranteed correct — verify important recalls against the cited source.
05兼容性、维护与安全提示
- The current version still has 31 majority-wrong questions on its evaluation set, so recalled answers are not guaranteed correct — verify important recalls against the cited source.
- StrataGate supplies state, constraints and validation, but the integrating application still controls model calls, tool iteration and the maximum retrieval budget.
readme_verified
06常见问题
如何在 DeepSeek Harness 中安装 StrataGate AgentMemory?
如果已安装 DeepSeek Harness,用 `dsh plugin --profile web add stratagate-dsh` 添加到你的 profile,再重启该 profile。随后 StrataGate 会捕获已完成的主代理轮次,并在 DSH 设置 → StrataGate-AgentMemory 中显示记忆 UI。
我的记忆存储在哪里?
默认数据库位于 `DSH_HOME/stratagate/memory.db` 的本地 SQLite 文件。无需独立记忆服务,且移除插件不会删除数据库。
如何避免根据薄弱证据作答?
在检索与作答之间插入固定协议,依据证据引用判断充分性;若证据不完整,会改换策略、扩展事件或查看来源后再作答。
能导入其他 AI 的记忆吗?
可以。其他 AI 导出的结构化记忆可转为可追溯的 Event,同时保留导入来源原文,从而保留出处。
召回结果可信吗?
不保证。当前版本在其评测集上仍有 31 道多数答错的题目,重要回忆请对照所引来源核实后再采用。
07相关的 DSH 工作流
memos
作者 memtensor
面向 LLM 与 AI 智能体的自进化记忆系统,提供超持久记忆、混合检索与跨任务技能复用,可显著节省 Token。
dsh-anchored-standard
作者 xiaobright
DeepSeek Harness 两阶段预设:先最小对齐引导,再启用完整标准工具集。
mem9
作者 mem9-ai
每轮自动回忆 + 后台智能摄取 + 五个记忆工具,为 DSH 加持记忆。
mindmemos
作者 mindscale-noah
为 DSH 智能体提供跨会话持久记忆,每轮自动召回相关上下文并回写经验,通过模式学习与技能蒸馏持续进化。
08数据与来源
## Quick start: DeepSeek Harness If DeepSeek Harness is already installed, add StrataGate to the profile you use: ```b…
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-06。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
