elementor-i/dsh-agentmemory
agentmemory 用于 DeepSeek 工具箱(dsh):通过本地 REST 服务器提供完整的 memory_* 工具、捕获钩子和上下文注入。
Project Overview项目介绍
dsh-agentmemory is a DSH-native plugin that connects the independent local agentmemory memory server to DeepSeek Harness. It exposes the full set of 54 memory_* tools mapped to the agentmemory REST endpoints, and automatically captures DSH lifecycle events including session activity, prompts, and tool use as observations for memory storage. It also supports opt-in injection of recalled memory context into the DSH system prompt, and all integration happens over a local REST server with no MCP bridge required. You can configure it to expose only the 8 core memory tools if you don’t need the full feature set, and destructive tools are gated behind an opt-in flag for safety.
There are three supported installation methods for this plugin: manual native mount to your DSH plugins directory, installation via the official DSH CLI, and AI-assisted installation through the Oh-DSH-Desktop plugin manager. For the most common CLI installation, you can run npx -p @deepseek-ai/dsh dsh plugin --profile <profile-name> add @elementor-i/dsh-agentmemory to get it set up quickly. The plugin ships pre-compiled, so no build step is required after installation, you just need to restart DSH to activate it. This plugin is ideal for DSH users who work with long-running coding tasks that benefit from persistent agent memory across multiple sessions.
Before you can use the plugin, you need to have a local agentmemory server running on your machine at the default address http://127.0.0.1:3111. If the server is unavailable when DSH starts, the plugin will log a warning and the memory tools will return errors, but DSH itself will continue to run normally. All configuration options are optional and come with safe defaults, including automatic credential redaction and per-request timeouts. The plugin is released under the open-source MIT license, so you can use it freely for personal or commercial projects.
这是一个专为DeepSeek Harness(DSH)打造的原生插件,作用是将独立的本地agentmemory记忆服务器连接到DSH。它提供完整的memory_*工具集,能自动捕获DSH会话中的活动、提示词和工具调用作为观测记录,还支持可选的记忆上下文注入功能,所有通信通过本地REST服务器完成,不需要MCP桥接。它支持全部54个agentmemory工具,也可配置仅保留8个核心工具。
插件支持三种安装方式:原生手动挂载到DSH插件目录、通过官方DSH CLI命令安装,以及通过Oh-DSH-Desktop的AI辅助插件管理器安装。预编译产物已经提交到仓库,安装后无需额外编译,直接重启DSH即可加载使用。该插件为DSH添加了长期会话记忆能力,能帮助AI代理在长期开发任务中召回之前的工作上下文,适合需要处理多轮长周期开发任务的DSH用户使用。
插件运行的前提是本地已经启动agentmemory服务器,默认访问地址为http://127.0.0.1:3111,如果服务器不可用,插件只会记录警告,不会影响DSH本身的正常运行。所有配置项都是可选的,带有安全默认值,支持自动凭据脱敏,默认禁用破坏性危险工具。本项目采用MIT许可证开源,用户可免费使用、修改和分发代码。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-agentmemory(elementor-i/dsh-agentmemory)
仓库:https://github.com/elementor-i/dsh-agentmemory
本站详情页:https://www.yhbd.top/plugins/elementor-i-dsh-agentmemory/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-08-17 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile desktop add @elementor-i/dsh-agentmemory
把 elementor-i/dsh-agentmemory 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-agentmemory
agentmemory for DeepSeek Harness — full memory_* tools, automatic capture hooks, and opt-in context injection over the local REST server.
dsh-agentmemory connects agentmemory, a local memory server for coding agents, to DeepSeek Harness (DSH). It exposes the full memory_* tool set, captures observations automatically from sessions, prompts, and tool activity, and can inject recalled context into the system prompt — all over the local REST server, with no MCP bridge required.
Features
- Full tool surface — all 54
memory_*tools (8 core) mapped to/agentmemory/*, plusmemory_observeand amemory_httpescape hatch for any endpoint. - Automatic capture — session, prompt, tool-use, subagent, workflow, and approval activity are recorded as observations in the background.
- Context injection — opt-in; recalled context from the session is added to the system prompt.
- Safe by default — credential redaction, per-call timeouts, non-blocking observation, and destructive tools gated behind a flag.
- No MCP required — no stdio bridge, no child process; the running REST server (
localhost:3111) is the only dependency.
Requirements
An agentmemory server running on the same machine (default http://127.0.0.1:3111, viewer on 3113):
curl -fsS http://127.0.0.1:3111/agentmemory/livez
# {"service":"agentmemory","status":"ok"} when healthy
If the server is unavailable, the plugin logs a warning and the memory_* tools return errors; the harness itself keeps running normally.
Install
Native mount
git clone https://github.com/elementor-i/dsh-agentmemory ~/dsh-plugins/dsh-agentmemory
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
vshulcz/deja-vu
adoresever/graph-memory
mnemon-dev/mnemon
Phant0Meow/dsh-meow-memory
slow-stack/mneme
Aik358/dsh-auto-memory