mbj733/dsh-hermes-memory

DSH (DeepSeek Harness) agent preset + plugin: Hermes-style cross-session memory & autonomous skill learning.

Project Overview项目介绍

This is a plugin and agent preset for DeepSeek Harness (DSH). It adds cross-session automatic memory and autonomous reusable skill learning to coding agents, persists data across restarts and injects context into new sessions. Use it when you need long-term persistent context and workflow reuse. Note that file paths need manual adjustment after installation.

这是给DeepSeek Harness(DSH)开发的插件加Agent预设,为编码Agent提供跨会话自动记忆和自主技能学习能力,能自动保存用户偏好、事实约定和工作流,跨重启持久化并注入新会话,适合需要长期保持使用习惯和复用工作流的场景。注意部署后需要手动调整相关文件路径。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:mbj733/dsh-hermes-memory

mbj733/dsh-hermes-memory 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Hermes 记忆闭环

DeepSeek HarnessDSH)做的 agent 预设 + 插件:给编码 agent 加上 Hermes 式的跨会话记忆自主学习 skill能力。

能力

  • 自动记忆(memory:跨会话记住你的偏好、环境事实、约定、纠正。无需说"记住 XX"——模型每轮主动总结并保存,注入到每次会话的 prompt。
  • 自主学习 skill(skill_manage:把非平凡工作流蒸馏成可复用 skill,跨会话、跨重启持久化并重新注册进技能目录。
  • 原生跨会话搜索(session_search 等 5 个工具):检索历史会话、事件、血缘。
  • Code Mode:基于 code 预设,把多次工具调用合成一个 TypeScript 程序。

持久化

记忆与 skill 存到 ~/.dsh/settings.yamlhermes-memory 命名空间(走宿主 settings 服务),跟项目、启动目录都无关,跨会话、跨重启稳定。

文件放置

文件 放到
plugin/index.js <DSH checkout>/packages/hermes/hermes/lib/index.js
preset/agent.cordis.yml ~/.dsh/.agent-presets/hermes/agent.cordis.yml
preset/preset.yml ~/.dsh/.agent-presets/hermes/preset.yml

⚠️ 两处需按你的机器调整:

  1. plugin/index.jsimport z from '../../../../vendor/schemastery/lib/index.mjs' 是相对路径,指向 DSH 仓库自带的 vendored schemastery,依赖文件所在的目录深度,务必放在 packages/hermes/hermes/lib/ 这一层。
  2. preset/agent.cordis.ymlhermes 行的 name 是绝对路径 D:/deepseek-harness/...,改成你 DSH checkout 的实际路径。

安装

  1. 按上表放好文件。
  2. 重启 DSH。
  3. 会话选择器选「Hermes 记忆闭环」。

标签

DSH · agent-preset · memory · skill · deepseek-harness

上一个 Prev dsh-plugin-deepseek-balance 下一个 Next dsh-delegate-router