跳到主要内容
Plugin

dsh-memory-chain

raoain/dsh-memory-chain

守链:给 AI agent 的分层记忆——五个动词(醒来/干活/遇坑/立碑/收工),核心层每次读、档案层按需查;首次运行自动建四页,纯 markdown、无数据库;重启、换模型、拔插件后记忆还在、判断还接得上。

形态
Plugin 插件
安装
npm 包安装
需要密钥
否
近月下载
1,243
最近推送
2 天前更新

项目说明

From README

dsh-memory-chain(守链) 给 AI agent 的长期记忆。装上就能用:一条命令,首次运行自动建四页,重启 / 换模型后还记得。

- 给谁 :用 DSH 的 agent,想要「同一个它」跨会话 - 解决什么 :上下文压缩 / 重启 / 换模型之后,记忆还在、判断还接得上 - 怎么装 : dsh plugin add @silentrainhero/dsh-memory-chain - 搜这些词也能找到它 :persistent memory for AI agents · long-term memory · memory layer · agent memory Long-term persistent memory for AI agents — five verbs (wake / work / pit / tomb / close).

A plain-markdown memory layer for AI agents that survives restarts, model swaps and plugin removal; no database, no automatic retrieval; works out of the box (four pages created on first run).给 agent 的分层记忆,五个动词: 醒来 / 干活 / 遇坑 / 立碑 / 收工 不给参数,给习惯。

--- 为什么不是又一个记忆插件(Why not another memory plugin: agent memory, persistence) 大多数记忆插件问的是:「要开自动检索吗?间隔几小时?权重多少?」 那是给不认识的人用的 通用接口 。日常其实只有五个动作,顺序几乎不变: 这个插件把这五个动作做成五个工具,路径写死一次,之后不用记。三层文件(Three layers: core / work / archive) 层 文件 何时读 --- --- --- 核心层 0-核心.md 每次醒来(几百字,超过 2 KB

Original description

守链:给 AI agent 的长期记忆(五个动词,纯 markdown)。 | Long-term persistent memory for AI agents — plain markdown, survives restart / model swap / plugin removal.

安装方式

npm 包安装 · 安装无需配置

README 解析
shell
dsh plugin --profile <profile> add @silentrainhero/dsh-memory-chain
shell
dsh plugin --profile <profile> add link:<本目录绝对路径>

安全能力

静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」

  • 写入文件
  • 读取文件

未发现已知红线(明文传输、安装期执行代码、凭据外传等)。

能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。

为什么是这个分数

近 2 天仍在推送;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1243 次,star 不多但真在被使用。

维护活跃
100
实用度
78
生态热度
62
上手便捷
100
信号质量
86
数据置信度
85%
评分怎么算