返回目錄

stratagate-agentmemory

編輯精選維護狀態: 活躍

diqierjia/stratagate-agentmemory

Local-first cross-session memory for DeepSeek Harness (DSH): automatic capture, Event/Element cards, evidence-gated recall, source tracing. 本地跨會話長期記憶。

前往 GitHub
$ dsh plugin --profile web add stratagate-dsh

32

星數

4

Fork

TypeScript

語言

MIT

授權條款

2026-08-10

建立於

2026-09-04

最近推送

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

安裝步驟

  1. 01

    $ dsh plugin --profile web add stratagate-dsh

  2. 02

    Restart that profile, then keep using DSH normally.

驗證整合成功

  • StrataGate exposes its Memory UI under DSH Settings → StrataGate-AgentMemory

03DSH 整合程度與能力邊界

DSH 整合原生執行環境

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 resultslocal SQLite database (no separate memory server)

  • Layered / compact memory

    recent and older historydetailed recent history plus a compact index that expands on demand

  • Event cards with source & time

    lasting memory recordsrecords origin and separates when something was mentioned from when it happened

  • Hybrid BM25 + structured search

    memory graph / eventscompact facts via searchEvents() / searchGraphNodes() with reciprocal-rank fusion

  • Evidence-gated recall

    retrieved contexta sufficiency check (evidence refs) before the agent relies on memory

  • External memory import

    structured memory exported by another AItraceable 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.
作者未說明作者未說明stratagate-dsh-v0.2.49

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 道多數答錯的題目,重要回憶請比對所引來源確認後再採用。

08資料與來源

  • 作者聲明github.comc1bd0dbf1149…

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

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。