MIT 授權的 DSH 原生外掛,為 DeepSeek Harness 的 AI 提供跨會話 agent memory——`dsh plugin add` 一鍵安裝,自帶 cordis.patch.yml 自動註冊,無需手動設定。
DSH 整合
原生執行環境
作者聲明
安全稽核
未稽核
最後核實
2026-08-21
授權條款
MIT
01它能幫你完成什麼?
Give DeepSeek Harness agents cross-session long-term agent memory that survives new sessions and days apart
Five memory tracks — user profile, global facts, project key memories (auto-injected, optionally scoped to a single git branch), project logs and daily logs — plus emotional-feedback records you can ask the agent to analyze later
Developers running DeepSeek Harness (dsh) who are tired of re-explaining project context every time they open a new session
Share project agent memory across multiple computers so a switch of machines never loses context
Project key memories, project logs, archives and project todos consistent across devices; with a shared memory repo, global memory (user profile / daily logs / todos) syncs too — stored in dedicated git branches that never touch your code
People working on the same project from two or more computers, or teammates collaborating on one project
Let the agent's skills and memory library evolve themselves so repeated lessons become reusable process
Skills auto-solidified from recurring mistakes and executed as fixed workflows next time; optional turn-level memory review where the agent proposes memories for your confirmation every N turns
Heavy dsh users who want their agent memory and skills to compound over time without hand-maintaining them
02如何將外掛接入 DeepSeek Harness?
先決條件
- A working DeepSeek Harness (dsh) installation with at least one profile (the README walks through the `web` profile as the example)
安裝步驟
- 01
Run `dsh plugin --profile web add github:csyangwen/dsh-memory-evolve` to install into the profile (local `link:` paths and git/registry package addresses also work)
$ dsh plugin --profile web add github:csyangwen/dsh-memory-evolve
- 02
Restart dsh web to activate — the plugin bundles its own cordis.patch.yml (dsh.bundle.patch declaration), so the host auto-registers it with no manual config
驗證整合成功
- Open any session after install: a new row of capability tabs appears (记忆 · 技能 · 待办 · 无限画板 · COI 调度 · 会话广播 · 提示词 · 记忆同步 · 模型设置 · 书签 · 会话评审 · Web UI 设置 · Memory Evolve 设置)
復原
- Temporarily disable without uninstalling: add `- id: dsh-memory-evolve` with `disabled: true` to the profile's cordis.patch.yml (useful when the plugin breaks DSH startup)
- Fully uninstall with `dsh plugin --profile web remove dsh-memory-evolve` — all effects are cleaned up automatically with the plugin
03DSH 整合程度與能力邊界
Native DSH plugin installed via `dsh plugin add`; ships its own cordis.patch.yml (dsh.bundle.patch declaration) so the host auto-registers it with no manual config
Five-track cross-session agent memory
normal conversations with the dsh agent, plus explicit "记一下…" / "查一下记忆…" requests→user profile, global facts, project key memories (auto-injected, git-branch-scoped if needed), project logs and daily logs — progress auto-recorded every turn
writes memory and log entries to disk; project logs are tagged with the current git branchagent-proposed memories/todos/skills only take effect after your confirmationGit-based memory sync across devices
per-project sync toggle in the 记忆同步 Tab; optional shared memory repo address→memories stored in dedicated git branches (never polluting code) and shared across computers, with conflict resolution (keep local / keep remote / keep both)
pushes memory branches to your own code repo or a designated shared memory repo when you click 同步并推送Skill self-evolution & skill manager
recurring mistakes/methods discovered during work; custom skill directories→methods auto-solidified into skills and reused on similar tasks; browse / search / disable / edit skills from the 记忆 Tab
new skills only take effect after your confirmation; the former standalone dsh-skills-manager plugin must be uninstalled before upgradingTurn-level memory review (opt-in)
reviewEnabled / reviewInterval overrides in the profile's cordis.patch.yml→every N user turns the agent distills memory-worthy facts and hands them to you for confirmation, so the memory library grows on its own
disabled by default; consumes extra model turns while reviewing
04適合誰?何時不該用?
適合
- Developers running DeepSeek Harness (dsh) who are tired of re-explaining project context every time they open a new session
- People working on the same project from two or more computers, or teammates collaborating on one project
- Heavy dsh users who want their agent memory and skills to compound over time without hand-maintaining them
不適合
- Do not manually insert the plugin into the profile's cordis.patch.yml: the bundled patch already auto-registers it, and a duplicate insert with the same id makes the loader fail with 'duplicate loader entry id' so DSH cannot start. Upgraders from old docs must delete the legacy insert line.
05相容性、維護與安全提醒
- Do not manually insert the plugin into the profile's cordis.patch.yml: the bundled patch already auto-registers it, and a duplicate insert with the same id makes the loader fail with 'duplicate loader entry id' so DSH cannot start. Upgraders from old docs must delete the legacy insert line.
- Many capabilities (memory review, session advisor, canvas, notify, sync module) are disabled by default to keep the agent's tool list clean; you must enable them in the 'Memory Evolve 设置' panel before they work.
- Memory sync is opt-in, but once enabled memories are pushed to a git remote — by default a dedicated branch in your own code repo, or a shared memory repo if you configure one. Only projects with sync turned on are affected; everything else stays purely local.
MIT · actively maintained (last push 2026-08-17)
06常見問題
dsh-memory-evolve 如何接入 DeepSeek Harness?是原生外掛還是 MCP?
它是 DSH 原生外掛。執行 `dsh plugin --profile web add github:csyangwen/dsh-memory-evolve`(本地 link:、git 或 registry 套件位址也可以),然後重啟 dsh web。外掛包自帶 cordis.patch.yml(dsh.bundle.patch 宣告),host 端自動註冊,不走 MCP,也無需手動設定。
安裝後怎麼確認外掛生效了?
開啟任意會話,應看到新出現的一排功能標籤:記憶 · 技能 · 待辦 · 無限畫布 · COI 排程 · 會話廣播 · 提示詞 · 記憶同步 · 模型設定 · 書籤 · 會話評審 · Web UI 設定 · Memory Evolve 設定。
AI 會擅自往記憶裡寫東西嗎?
不會。AI 自建的記憶、待辦、技能都先進待確認佇列,真正改變 AI 行為的寫入必須你確認後才生效;只有每回合的專案日誌/每日日誌進度是自動記錄的。
記憶資料會傳到網路上嗎?
預設只存本機。開啟「記憶同步」後,記憶會推送到你程式碼倉庫的專屬分支(或你設定的共享記憶倉庫),記憶與程式碼徹底隔離;沒開同步的專案保持純本機狀態。
為什麼不能手動往 cordis.patch.yml 裡 insert 本外掛?
bundle patch 已自動註冊,手動 insert 同 id 會讓載入器報 duplicate loader entry id,DSH 無法啟動。改設定(如開啟 reviewEnabled)請用 id 頂層覆寫而非 insert;想暫時停用,為該 id 加一行 `disabled: true` 即可,無需解除安裝。
07相關的 DSH 工作流程
weknora
作者 tencent
開源的 LLM 知識庫平臺:把原始文件轉化為可檢索的 RAG 知識庫、自主推理智慧體和自動維護的 Wiki 系統,支援多租戶部署。
honcho
作者 plastic-labs
用於構建有狀態 AI 智慧體的記憶庫,支援跨會話連續學習與上下文工程。
mirage
作者 strukto-ai
全球首個面向 AI 智慧體的統一虛擬檔案系統。
reme
作者 agentscope-ai
ReMe:面向 AI Agent 的記憶管理套件——幫 Agent「記住我、最佳化我」,支援 RAG 與長期記憶。
08資料與來源
插件包内自带 `cordis.patch.yml`(`dsh.bundle.patch` 声明),`dsh plugin add` 安装后 **host 端自动注册,无需任何手动配置**。以 web profile 为例,两步装好:
# 1. 安装到 profile(本地目录用 link:,也可用 git/registry 包地址) dsh plugin --profile web add github:csyangwen/dsh-memory-evolve # 2.…
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-21。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
