Noelune/dsh-agent-relay
DeepSeek Harness 的本地多智能体协作中继——为 dsh、Codex、Claude Code 和 Hermes 提供基于 HMAC 认证的回环消息代理。
Project Overview项目介绍
dsh-agent-relay is a native communication relay bus plugin built specifically for DeepSeek Harness (DSH) to enable local multi-agent collaboration. It fills a gap in existing agent frameworks that lack standardized peer-to-peer communication between independent agents running on the same host. It supports cross-agent collaboration between DSH, Codex, Claude Code, Hermes and other local agent clients, providing an HTTP broker, native DSH Cordis plugin, multi-language adapters, and CLI tools. Developers can use it to quickly build a local fleet of collaborating agents without complex infrastructure setup.
This relay uses a loopback-first security architecture that binds the broker only to 127.0.0.1 by default, eliminating cloud deployment costs and reducing the attack surface from external networks. All HTTP requests are verified via HMAC-SHA256 signatures, with built-in protections against timestamp replay attacks, 5-minute lockouts after 5 consecutive authentication failures, and per-IP rate limiting. It also includes reliable delivery features like incremental polling, 7-day TTL, local SQLite or JSONL persistence, exponential backoff retries, and idempotent message deduplication. Messages are only stored locally, never logged or sent to third-party telemetry, so sensitive data never leaves the host.
To install and deploy dsh-agent-relay for DSH, you can run the one-line command dsh plugin --profile web add dsh-agent-relay to trigger automated end-to-end deployment. DSH will automatically generate a secure HMAC key, start the broker process on the local port, configure credentials for all supported agents, and run a self-check to verify the communication link. The project requires Node.js 20 or newer, recommends DSH 0.1.0-rc.6 or newer, and optional Python adapters need Python 3.10 or newer, with zero external npm dependencies for the core broker. It is released under the open-source MIT license, allowing commercial use, and community contributions are welcome.
dsh-agent-relay 是 DeepSeek Harness 原生的本地多 Agent 轻量级通信中继总线组件,用于解决同一宿主机上多个独立 Agent 之间缺乏标准化对等通信机制的问题,支持 DSH、Codex、Claude Code 等多个 Agent 跨平台协作。它提供了 HTTP 消息代理、原生 DSH Cordis 插件、多语言客户端和 CLI 辅助工具,帮助开发者快速搭建本地多 Agent 协同工作链路。
它采用解耦设计,仅专注于消息路由与可靠投递,不侵入 Agent 自身的推理与决策逻辑。默认绑定本地回环地址 127.0.0.1:19121,全程使用 HMAC-SHA256 签名校验,内置重放防护、鉴权失败安全锁定和单 IP 速率限制机制。所有消息仅保存在本地 TTL 队列,数据不会离开宿主机,隐私保护设计到位。
该项目要求 Node.js ≥ 20 版本才能运行 Broker 服务、CLI 客户端和 DSH 插件,推荐使用 DSH 0.1.0-rc.6 及以上版本,可选的 Python 客户端仅要求 Python ≥ 3.10,整体零额外 npm 依赖。它支持 DSH 全流程自动部署,也支持手动命令行部署,采用 MIT 开源许可,允许商业使用,欢迎社区提交 Issue 与 Pull Request。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-agent-relay(Noelune/dsh-agent-relay)
仓库:https://github.com/Noelune/dsh-agent-relay
本站详情页:https://www.yhbd.top/plugins/noelune-dsh-agent-relay/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-09-19 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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 web add dsh-agent-relay
把 Noelune/dsh-agent-relay 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
⚡ dsh-agent-relay
Local Multi-Agent Collaboration Relay for DeepSeek Harness & Local Fleets
DeepSeek Harness 本地多 Agent 轻量级通信中继总线 — 基于 HMAC-SHA256 鉴权与 Loopback 优先架构的安全消息路由组件
产品定位与设计动机 • 核心技术特性 • 系统架构与流程 • Agent 全流程自动部署 • Wire Protocol 规范
📌 产品定位与设计动机
现有的 Agent 框架多数专注于单体 Agent 内部的推理链条与工具调用(Task Execution),但缺乏标准化的 Agent 间对等通信机制(Peer-to-Peer Inter-Agent Communication)。当在同一宿主机上并行运行 dsh、Codex、Claude Code 与 Hermes 等多个独立 Agent 时,代理之间无法直接发起代码评审(Code Review)、事实交叉验证或协作任务分发。
dsh-agent-relay 旨在填补这一架构空白:它是一个完全解耦、轻量且自建的 Agent 通信总线(Communication Bus),包含 HTTP Broker、dsh Cordis 插件、JS/Python 客户端与 CLI 辅助工具,助力开发者构建 Agent 舰队协同链路。
🚀 核心技术特性
- 通信与编排解耦 (Decoupled Transport)
区别于强侵入性的工作流编排引擎(Orchestration Frameworks),Relay 仅专注于消息路由与可靠投递,保持 Agent 内部推理与决策逻辑的完整解耦。 - Loopback 优先的安全架构 (Loopback-First Architecture)
Broker 默认仅绑定本地回环地址127.0.0.1:19121,免去云端部署成本与外部网络攻击面风险。 - HMAC-SHA256 鉴权体系 (Cryptographic Verification)
所有接口调用均经由 HMAC-SHA256 签名校验,内置 300 秒时间戳重放防护与常量时间比较;投递层再以「每次认领一枚租约令牌」约束确认与续租。速率限制与鉴权失败锁定属于已删除的 v1 世代,现在没有这两道闸,所以边界由「只绑回环」承担。 - 高可靠投递与容错机制 (Reliable Delivery & Idempotency)
请求默认留存 7 天、SQLite 单一路径持久化、租约投递 + 令牌化确认、服务端长轮询唤醒(落库即达)、失败/过期由服务端定时扫描自动回发未送达通知,并以幂等键去重。 - 隐私保护设计 (Privacy-by-Design)
消息体只为可靠投递保存在本机 TTL 队列中,Broker 与参考客户端不会把消息体写入应用日志或遥测;默认回环部署时数据不离开本机。 - dsh 一级工具无缝集成 (First-Class Cordis Plugin)
针对 DeepSeek Harness 提供原生 Cordis 插件,注册agent_relay_send/agent_relay_status/agent_relay_history/agent_relay_peers/agent_relay_retry模型工具,自适应退避轮询 + per-root relay 会话 + read/write 权限预设,并提供图形化侧边栏状态面板。 - v2/v3 线协议(与自用版 Python 客户端字节兼容)
canonical-JSON 签名、snake_case 信封、execution mode、per-mode ACL、租约令牌、undelivered 通知;v1 世代已于 2026-09-19 移除。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
tt-a1i/archify
loopx-project/loopx
ZSeven-W/openpencil
omdsh-dev/DSH-better-sidebar
NanmiCoder/dsh-agent-teams
LiPu-jpg/Openwrite