返回目錄

dsh-memory

精選清單收錄維護狀態: 活躍

furongjun-1999/dsh-memory

白箱AGI架構探索:元認知(自我認知迴圈)、持續學習(知識飛輪)、世界模型(條件空間+語義時空圖)、自我改進(自舉紀律)、零LLM白箱管線與可審計信任護欄。

前往 GitHub
$ dsh plugin --profile web add @furongjun1999/dsh-memory

728

星數

71

Fork

Python

語言

MIT

授權條款

2026-08-14

建立於

2026-11-20

最近推送

MIT 授權、原生接入 DSH 的套件,透過 stdio MCP 橋為 DeepSeek Harness 智能體加入靈樞 AEIS 的白箱、跨會話、自演化、可審計長期記憶。

DSH 整合

原生執行環境

作者聲明

安全稽核

未稽核

最後核實

2026-08-30

授權條款

MIT

01它能幫你完成什麼?

  • Persist an agent's cross-session 'self' so conversations, sessions and sub-agents share one continuous memory

    Five-layer spatio-temporal memory graph with `lingshu_recall / search / timeline` cross-session recall and search

    AGI researchers and developers running DeepSeek Harness (dsh) who need explainable, auditable agent memory — not a consumer plugin

  • Let the agent learn and evolve continuously through a self-improving knowledge loop

    Knowledge flywheel: `distill / flywheel / learn / induce` turn experience into verified, reusable patterns; memory gets smarter with use

    Researchers prototyping protocol-driven, white-box, auditable memory mechanisms (conditions / role-play / guardrails)

02如何將外掛接入 DeepSeek Harness?

先決條件

  • Node.js ≥ 22.19(DeepSeek Harness 要求)
  • DeepSeek Harness(`npx @deepseek-ai/dsh web`)

安裝步驟

  1. 01

    pip install aeis-0.4.0-py3-none-any.whl

  2. 02

    $ dsh plugin --profile web add @furongjun1999/dsh-memory

  3. 03

    在 profile 的 cordis.yml 中追加 lingshu-memory 配置块(dbPath / identity / tools)以启用插件

驗證整合成功

  • 运行 `npm test` 验证插件与灵枢的握手 / 往返 / 注册 / 卸载(真实集成测试)

03DSH 整合程度與能力邊界

DSH 整合原生執行環境

Installed through the dsh CLI profile system (`dsh plugin --profile <name> add`); runs a stdio JSON-RPC MCP bridge (the AEIS Python brain) inside the DeepSeek Harness cordis runtime.

  • 跨会话长期记忆(时空记忆图)

    DSH session/event 事件流(用户消息、记忆操作)→lingshu_recall / search / timeline 跨会话召回与检索;SQLite 五层记忆库持久化

    订阅 DSH session/event 流,自动把用户消息写入灵枢记忆库(desensitize 脱敏后)
  • 自演化知识飞轮

    经验 / 验证结果→distill / flywheel / learn / induce 归纳为可复用模式,记忆越用越强

  • 白箱智慧问答(零 LLM)

    知识查询(物态变化 / 密度浮力 / 热传导 / 编程规律 / 角色条件等)→wisdom_* 白箱族组合生成未预写的新答案;自校验通过即固化

  • 可审计信任护栏

    对外行为 / 用户请求→护栏宪章 v2 约束行为边界;全量事件留痕;未成年人性内容硬拦截(route=refused)

    拒绝一切涉及未成年人的性内容(服务端关键词组合硬拦截)

04適合誰?何時不該用?

適合

  • AGI researchers and developers running DeepSeek Harness (dsh) who need explainable, auditable agent memory — not a consumer plugin
  • Researchers prototyping protocol-driven, white-box, auditable memory mechanisms (conditions / role-play / guardrails)

不適合

  • 插件必须通过 `dsh plugin --profile <name> add` 安装进 profile;不要用 `npm install` 装进 profile 的 node_modules,否则会引入错误版本的 @deepseek-ai peer 包,导致插件加载失败 / 浏览器报错。
  • 需要 Node.js ≥ 22.19 与 DeepSeek Harness;灵枢大脑(aeis)是独立的 Python wheel,需单独 `pip install aeis-0.4.0-py3-none-any.whl`,不随插件打包。
  • 服务端硬拦截一切涉及未成年人的性内容(未成年人特征词 + 性内容词同时命中即拒绝,route=refused);成人内容由前端本地 18+ 提示。开源项目不做身份认证 / 年龄核验。

05相容性、維護與安全提醒

  • 插件必须通过 `dsh plugin --profile <name> add` 安装进 profile;不要用 `npm install` 装进 profile 的 node_modules,否则会引入错误版本的 @deepseek-ai peer 包,导致插件加载失败 / 浏览器报错。
  • 需要 Node.js ≥ 22.19 与 DeepSeek Harness;灵枢大脑(aeis)是独立的 Python wheel,需单独 `pip install aeis-0.4.0-py3-none-any.whl`,不随插件打包。
  • 服务端硬拦截一切涉及未成年人的性内容(未成年人特征词 + 性内容词同时命中即拒绝,route=refused);成人内容由前端本地 18+ 提示。开源项目不做身份认证 / 年龄核验。
2026-08-142026-08-29v0.3.0

MIT · 活跃维护(最新发布 v0.3.0,2026-08-26;最近推送 2026-08-29)

06常見問題

怎麼把 dsh-memory 裝進 DeepSeek Harness?

先用 `pip install aeis-0.4.0-py3-none-any.whl` 安裝靈樞大腦,再用 `dsh plugin --profile web add @furongjun1999/dsh-memory` 把套件裝進 DSH profile,最後在 profile 的 cordis.yml 追加 lingshu-memory 設定塊(dbPath / identity / tools)。不要用裸 `npm install`——會汙染 @deepseek-ai 的 peer 版本。

安裝前置要求是什麼?

需要 Node.js ≥ 22.19 與 DeepSeek Harness(`npx @deepseek-ai/dsh web`)。靈樞大腦是獨立的 Python wheel,還需要 Python 環境來 `pip install`。

它怎麼接入 DeepSeek Harness?

作為 DSH 原生套件執行在 cordis 執行期內:stdio JSON-RPC MCP 橋拉起靈樞 Python 子程序,套件訂閱 DSH 的 session/event 事件流並自動記住使用者訊息。已適配 DSH 0.1.1-rc.2(2026-08-28 實測:MCP 橋接 / 自動記憶 / 工具註冊全正常)。

和普通記憶套件或 SQLite KV 有什麼不同?

不同於 KEY→VALUE 字面儲存,靈樞把記憶組織成語意+時空座標的關聯網路(可檢索、去重、分級、關聯),並疊加自演化知識飛輪、可審計護欄憲章、零 LLM 白箱解答。README 定位它為 AGI 的長期記憶基底,而非「記憶套件」。

怎麼驗證裝好了?

複製倉庫後執行 `npm test`——真實整合測試會 spawn 本機靈樞,驗證握手 / 往返 / 註冊 / 卸載。README 也報告 DSH 0.1.1-rc.2 適配於 2026-08-28 實測通過。

08資料與來源

  • 作者聲明github.coma329ad2046da…

    dsh plugin --profile web add @furongjun1999/dsh-memory

  • 作者聲明github.coma329ad2046da…

    **已适配 DSH 0.1.1-rc.2**(2026-08-28 实测:MCP 桥接 / 自动记忆 / 工具注册全正常)

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-30。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

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

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