Saktawdi/dsh-ha-orchestrator 预览 preview

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 环境。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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 —— 模型故障恢复与多智能体编排

版本 平台 许可证 MIT 测试 编排模式 Awesome DSH Plugin

HA Orchestrator

HA Orchestrator 是 DeepSeek Harness(dsh)的插件:

  • 模型调用中途出错时,自动改用备用模型重试,任务继续跑下去。
  • 提供一个 orchestrate 工具,模型遇到适合的任务会自己调用它,把工作拆给多个子智能体并行执行(fanout)、分阶段执行(pipeline),或进行评审/归约(supervisor、map-reduce、router)。

配置页里还能定义自己的子智能体(也可以一句话让 AI 生成);界面和提示词文案支持中英文,跟随 DSH 语言。

English

扛住模型故障,并行推进复杂工作,把结果交付得更可靠。

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 →

← 上一个 Prev dsh-wallpaper 下一个 Next dsh-mobile-gate →