记忆与上下文 插件 记忆与上下文

75 个插件

为 Agent 提供长期记忆、知识持久化和上下文管理的插件。从简单的键值存储,到支持向量搜索的完整知识图谱。

75 个插件

排序: 精选
  • 已收录 Bundle 已验证

    记忆强制协议插件:桥接 opencode-memory MCP 服务器,工具调用前强制 memory_weave、每轮自动存档、自动注入记忆上下文。

    dsh plugin --profile default add github:baaai123/dsh-memory-protocol
  • 已收录 Bundle 已验证

    PLUR 记忆在每次组装时渲染进系统提示词,而非以工具调用形式暴露,因此记忆块是被替换而不是追加,整段会话的上下文长度保持不变。全本地混合检索(BM25 + BGE,RRF 融合)、可直接编辑的纯 YAML 存储、按工作区划分 scope,并提供 /plur-memory 浏览器界面。

    dsh plugin --profile default add github:plur-ai/dsh-plugin
  • 已收录 Bundle 已验证

    压缩后端:用确定性语义提取器替换 LLM 摘要(保留代码/路径/命令,剔除闲聊),附带 28.4x KV 压缩记账。

    dsh plugin --profile default add github:ljsysfurryACE/dsh-compaction
  • 已收录 Bundle 已验证

    LLM 驱动的记忆记/忘插件:每轮对话后由模型决定记住什么/忘记什么(MemoryDirector),请求前注入相关记忆,自动去重,跨会话持久化。

    dsh plugin --profile default add github:ljsysfurryACE/dsh-memory-director
  • 已收录 Bundle 已验证

    跨会话记忆:全文检索所有历史会话(复用 ctx.sessionQuery 的 SQLite FTS5 索引),把最强匹配片段带回当前上下文。

    dsh plugin --profile default add github:truelove-dreamer/dsh-plugin-recall
  • 已收录 Bundle 已验证

    memoria 进阶工具:会话上下文注入(画像+召回)、近期决策、健康报告、命名空间白名单、记忆关系图与实体搜索;dsh-memoria 的伴生插件。

    dsh plugin --profile default add github:jiayan-xu/dsh-memoria-extra

常见问题FAQ

记忆插件保存可跨多个会话持久化的知识,例如事实、实体和对话摘要;会话插件管理当前对话的状态,包括消息历史、分支以及导入导出。