返回目录

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 插件,绝不滥发。