dsh-engram
跨会话长期记忆:用户/项目双层 SQLite 分库、FTS5 与离线本地向量混合检索、9 个 engram_* 工具、逐轮自动摄取、蒸馏飞轮、来源审计,以及设置页中英双语的记忆库管理面板。
Cross-session long-term memory: dual-scope user/project SQLite stores, FTS5 + offline local vector hybrid retrieval, 9 engram_* tools, per-turn automatic capture, a distillation flywheel, provenance audit, and a bilingual Settings memory-library panel.
怎么安装
dsh plugin add @kenz1117/dsh-engram 简介
dsh-engram 中文 | English --- 快速开始 sh dsh plugin --profile web add @kenz1117/dsh-engram 安装后无需配置即可使用(默认分库与模型缓存在 ~/.dsh/engram,画像注入开启,自动摄取关闭)。 特性 **跨会话记忆**:会话开始注入用户画像摘要(条数 + token 预算双重上限,可配),Agent 天然"记得"你是谁、在做什么;工具检索跨会话召回历史事实。 **双层分库**:user.db 全局共享;project-<hash>.db 按 git origin 标识隔离(无 git 时回退工作目录编码,旧库自动迁移)——个人偏好跟人走,项目约定跟仓库走。 **混合检索**:FTS5(unicode61 + 中文 2-gram 预切词)与本地向量(Xenova/bge-small-zh-v1.5,512 维,q8)RRF 融合 + 关系边一跳扩展 + 新鲜度/命中次数乘性排序 boost;嵌入模型离线运行,下载失败自动降级纯关键词并显式标记。 **知识飞轮**:摄取/保存 → 矛盾候选(写入时高相似近邻建 contradicts 边并报告,模型/用户裁决)→ 命中强化(confidence +0.05)→ 蒸馏(同主题簇合并为高层规律、supersedes 取代链、置信度继承)→ 衰减(低重要性且长…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 1
- 月下载
- –
- 最近更新
- 2026-09-04
- 创建于
- 2026-09-01
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- agent, awesome-dsh-plugin, deepseek-harness, dsh, dsh-plugin, embeddings, memory, sqlite
同类推荐
dsh-mnemon
omdsh-dev/dsh-mnemon
由 Mnemon 驱动的 DeepSeek Harness(DSH)跨 Agent、本地优先的持久记忆插件。它可在支持 Mnemon 的 Agent 之间共享长期记忆,并提供运行时记忆、可检索项目档案、语义召回、知识图谱和 Sidebar UI。
markdownify-mcp
zcaceres/markdownify-mcp
用于将几乎任何内容转换为Markdown的Model Context Protocol服务器。
hindsight
vectorize-io/hindsight/tree/main/hindsight-integrations/coding-agents
Hindsight:会学习的 Agent 长期记忆系统,自动召回/保存、知识页、深度反思与按仓库隔离的记忆银行。
airtable-mcp-server
domdomegg/airtable-mcp-server
🗂️🤖 Airtable Model Context Protocol 服务器,允许 AI 系统与您的 Airtable 数据库交互