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 個值得優先安裝的外掛,涵蓋各個分類。
