Saktawdi/dsh-ha-orchestrator
DeepSeek Harness(dsh)动态Cordis插件:模型高可用回退 + 子智能体编排(HA故障转移 + 子智能体编排)
Project Overview项目介绍
This repository is a purpose-built native plugin for DeepSeek Harness (DSH), focused on adding model fault tolerance and multi-agent orchestration capabilities to the DSH environment. It automatically switches to backup models and retries failed requests when the primary model encounters an error, with additional features like cooling down failed models, provider-level circuit breaking, and recovery probing to prevent task failure from a single bad model. It also exposes an orchestrate tool that lets the main agent automatically detect when a task can be split into smaller chunks, and offers five different orchestration modes to handle different task structures. Installation only requires a single DSH CLI command, and it supports hot loading so you don’t need to restart DSH after installing.
The five orchestration modes are fanout, pipeline, supervisor, map-reduce, and router, and they cover common complex task use cases like deep research, large codebase reading, bulk review, and multiple solution comparison. Users can define their own reusable sub-agents directly in the plugin’s configuration page within DSH. They can also just type a one-sentence description of what they need the sub-agent to do, and the current active model will generate a full sub-agent definition automatically. Each sub-agent can also be configured with its own independent fallback model chain, separate from the global high availability settings.
The plugin is released under the permissive MIT open source license, so it is free to use for both personal and commercial projects. It supports both Chinese and English for its configuration interface and prompt text, and it automatically follows DSH’s system language setting by default, though users can manually override the language if they prefer. It also registers several slash commands that let users check the current high availability status, view and manage past orchestration runs, and resume interrupted tasks from their run ID. The current stable version is 0.12.4, and all 227 test cases pass, with the only dependency being a working DSH web profile environment.
HA Orchestrator 是专为 DeepSeek Harness(DSH)开发的原生插件,提供模型故障容错和多智能体编排能力。当模型调用出错时,它能自动切换到备用模型重试,支持出错模型冷却、Provider 级熔断和恢复探测,避免单个模型故障导致整体任务失败。它还提供 orchestrate 工具,支持主模型自主识别可拆分任务,拆分为多子智能体执行,共有五种编排模式。安装可通过一条 DSH CLI 命令完成,支持热加载无需重启。
五种编排模式分别是扇出并行(fanout)、流水线分阶段(pipeline)、监督评审(supervisor)、映射归约(map-reduce)和路由选择(router),覆盖深度调研、大型项目阅读、批量审查、多方案对比等常见复杂任务场景。用户可以在配置页自定义可复用的子智能体,还支持一句话描述需求让 AI 生成子智能体定义,支持为每个子智能体配置独立的回退模型链。
插件遵循 MIT 开源许可,免费可商用,配置界面和提示词支持中英文,自动跟随 DSH 的系统语言设置,也可手动固定语言。它还注册了多个斜杠命令方便用户查看高可用状态、管理编排运行记录、恢复中断任务。当前版本为 v0.12.4,所有测试用例全部通过,依赖仅为 DSH web profile 环境。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-ha-orchestrator(Saktawdi/dsh-ha-orchestrator)
仓库:https://github.com/Saktawdi/dsh-ha-orchestrator
本站详情页:https://www.yhbd.top/plugins/saktawdi-dsh-ha-orchestrator/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 6 · 最近提交 2026-09-04 · 主语言 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 6 stars - very few users, little community feedback星标只有 6,几乎没人在用,遇到问题缺少社区反馈
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-ha-orchestrator
把 Saktawdi/dsh-ha-orchestrator 加入你的 DSH 配置(web profile)即可启用。
READMEREADME

HA Orchestrator
HA Orchestrator 是 DeepSeek Harness(dsh)的插件:
- 模型调用中途出错时,自动改用备用模型重试,任务继续跑下去。
- 提供一个
orchestrate工具,模型遇到适合的任务会自己调用它,把工作拆给多个子智能体并行执行(fanout)、分阶段执行(pipeline),或进行评审/归约(supervisor、map-reduce、router)。
配置页里还能定义自己的子智能体(也可以一句话让 AI 生成);界面和提示词文案支持中英文,跟随 DSH 语言。
扛住模型故障,并行推进复杂工作,把结果交付得更可靠。
HA Orchestrator 让 DSH 长任务在模型出错时继续运行,再把复杂工作拆成可观测、可恢复、可评审的并行子智能体流程。
| 🛡️ 模型故障不终止长任务 | ⚡ 复杂工作横向并行 | ✅ 结果可检查、可交付 |
|---|---|---|
| 备用轮换、冷却、Provider 熔断和恢复探测,避免单个模型故障拖垮任务。 | 五种编排模式覆盖并行调研、分阶段计划、路由、归约和监督评审。 | 预算、运行历史、resume、结构化输出和多评审者,让最终结果更可追踪。 |
特别适合: 深度调研、大型代码库阅读、批量审查、多方案对比和实现计划编排。
功能
模型失败自动回退
- 模型请求出错时,自动改用下一个备用模型重试,备用模型按顺序轮换。
- 出错的模型被暂时跳过(进入冷却),冷却结束后自动恢复使用。
- 支持突发窗口失败计数、Provider 级熔断、低成本恢复探测,以及可选的上下文超长降级。
- 每次故障有重试上限,用尽后停止重试,不会无限循环。
- 模型错误中断任务时,插件会把任务重新拉起一次,工作不丢失。
备用模型、冷却时间、失败阈值、错误码过滤都可以在 设置 →「HA 与编排」里调整。
编排工具(自动触发)
orchestrate 工具在所有会话中可用;工具说明和系统提示词里的引导会让模型在任务可并行、分阶段或需要评审时自己调用:
fanout— 拆成子任务并行执行,再汇总结果。pipeline— 各阶段依次执行,上一阶段的输出作为下一阶段的输入。supervisor— 并行执行子任务后,由监督子智能体审查合并。map-reduce— 并行执行 map 任务,再由归约子智能体合并结果。router— 把候选任务交给一个路由子智能体,由它选择或安排后续工作。
工具还支持保存配方、按 runId 恢复中断任务、监督评审轮次、多评审者、单次子智能体调用预算、结构化输出 Schema,以及自定义子智能体的工具白名单/黑名单。子智能体默认不能再次发起嵌套编排。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
MaRi23333/dsh-subagent-library
KirschBluteX/engineer-software
TNJ2026/promptaflow
tt-a1i/archify