dsh-seed-society 插件介紹

DeepSeek Harness (DSH) 的核心理念是“一切皆插件”。在構建複雜的智能體系統時,往往需要組合運行時、記憶機制和工具鏈。dsh-seed-society 作爲一個工作流插件,將唯識論八識架構的 Agent Society、記憶鞏固調優以及 MCP 工具橋封裝爲一個獨立的包。

核心功能

這個插件主要包含四個部分:

  1. 記憶鞏固修復
    針對深度思考模型的配置修復。通過關閉 llm-deepseek.reasoningEffort 並修復 autoDream 的根因,解決記憶鞏固失敗的問題。

  2. 記憶鞏固調優
    對 dsh-mneme 進行配置固化:開啓 autoDream,設置 32768 token 的上下文窗口,指定使用 deepseek-chat 模型,並關閉會話總結功能。

  3. MCP 工具橋
    建立 mcp__society__* 工具鏈,用於連接 Society 運行時的各類操作。

  4. 種子技能
    隨包集成了六個種子技能目錄,包括 yogacara-society、alaya、manas、mano、panca 和 sila。

安裝

前置條件

  • DSH 環境(需包含 @deepseek-ai/dsh-llm-deepseek)。
  • Python 3.10+(MCP 橋與運行時依賴)。
  • @modusensus/dsh-mneme(注意註冊表裏的 dsh-mneme 名稱有誤,真實包名爲作用域 @modusensus/dsh-mneme)。

命令安裝

推薦使用官方安裝命令:

dsh plugin --profile web add github:woshishadowhunter/dsh-seed-society

安裝腳本會自動處理依賴、技能同步和配置 dump 校驗。安裝完成後需要重啓 DSH。

手動安裝

如果需要手動控制步驟,按以下順序執行:

# 1. 安裝 Python 運行時
python -m pip install -e <repo>

# 2. 安裝記憶鞏固插件 (注意包名)
dsh plugin --profile web add @modusensus/dsh-mneme

# 3. 安裝本插件
dsh plugin --profile web add github:woshishadowhunter/dsh-seed-society

# 4. 同步技能
# 將 skills/ 目錄下的六個技能複製到 ~/.dsh/skills/ (或 ~/.agents/skills/)

驗證

安裝並重啓 DSH 後,檢查配置是否生效:

dsh --profile web --dump-config | grep -E "mcp-society|reasoningEffort|dreamMaxTokens"

重啓後,你可以在模型工具列表中看到 mcp__society__* 工具,並在 mneme 的日誌中觀察到 dream_runs 狀態從 degraded 恢復爲 ok,表示記憶鞏固正在正常工作。

注意事項

  • 權限與邊界:插件僅做配置組合與橋接,不會修改驗收標準,不會賦予模型額外權限,也不會繞過審批流程。
  • 環境依賴:mcp-society 需要本地有 Python 環境。服務端不會使用 Shell,也不會持有密鑰。
  • 審計一致性:mneme 的 LLM 仲裁機制與其 CAS/快照哈希審計保持原樣,確保可審計性。

總結

dsh-seed-society 將複雜的 Agent Society 架構和記憶調優方案標準化爲可插拔的 DSH 組件。通過簡單的安裝命令即可獲得具備八識架構、雙循環運行時和 MCP 工具橋的智能體環境。

  • 項目倉庫:https://github.com/woshishadowhunter/dsh-seed-society
  • 插件目錄:https://www.skillhub.cn/plugins/woshishadowhunter/dsh-seed-society
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

小夜