zibo2025/dsh-orchestrator 预览 preview

zibo2025/dsh-orchestrator

面向 DeepSeek Harness 的原生全互联智能体编排插件: 一个主智能体负责任务分解与分派,多个 worker 负责实际执行,任意智能体之间都能原生互发消息 (主 → 子、子 → 主、子 ↔ 子),并支持为每个 worker 单独指定模型与思考强度。 没有文件信箱、没有提示词约定、没有轮询——消息直接走 harness 自带的智能体收件箱, 并以 harness 的 coordinator relay 归因持久化到轨迹。

catalog descriptioncatalog 简介 / catalog description:【编排模式】为 DeepSeek Harness 提供多智能体编排模式:主智能体分解分派、worker 全网格互通,支持逐 worker 指定模型与思考强度

Project Overview项目介绍

dsh-orchestrator is a native plugin built exclusively for DeepSeek Harness that enables full mesh multi-agent orchestration for complex tasks. It lets a primary agent decompose and assign tasks to multiple independent worker agents, which can communicate natively with each other, the main coordinating agent, and across all connected worker nodes. Each worker can be configured with a custom model provider, specific model ID, maximum output tokens, and thinking intensity level, and all messages are routed directly through DSH’s built-in agent inbox without intermediate polling or clunky file-based messaging.

The plugin can be installed automatically by sending a pre-written command to your DSH agent, which will handle locating your user profile, running the official plugin install command, and notifying you to restart DSH once the process is complete. If automatic installation fails for any reason, you can install it manually via the npm registry or directly from the GitHub source code. Users experiencing mirror sync issues can add the official npmjs registry flag to the install command to retry, and you can choose to enable the plugin for an entire profile or only for a specific preset where you need orchestration capabilities.

When running on the DSH web client, the plugin automatically adds a dedicated "Mesh" tab to the main interface that displays tool descriptions, current mesh agent status, and reusable agent templates, with adaptive styling that works for both light and dark user themes. For DSH CLI or TUI users, the plugin works without any changes to the core interface, and only loads the optional web UI component when a DSH web server is detected. The plugin is released under the permissive MIT open source license, so it can be used, modified, and redistributed freely without any cost or restrictions beyond the standard license terms.

这是面向 DeepSeek Harness 的原生多智能体编排插件,支持主智能体拆分分派任务,同时生成多个可常驻后台的工作智能体,任意智能体之间可原生互发消息,包括主到子、子到主以及子智能体之间的横向通信。每个工作智能体可单独指定模型与思考强度,消息直接走 DSH 原生智能体收件箱,无需额外的文件信箱或轮询机制。

普通用户无需手动操作,只需将指定安装指令发送给 DSH 智能体即可自动完成安装,也支持 npm 或 GitHub 源码手动安装,可选择对整个配置文件生效或是仅在特定预设中启用。插件安装完成后需要重启 DSH 才能生效,国内用户若镜像同步失败,可切换到官方 npm 源重试。

插件提供了 Web 面板,在 DSH Web 端会自动新增「网格」选项卡,可查看功能说明、网格成员状态以及可复用模板,适配深浅色模式,跟随界面语言切换。所有操作都遵循 DSH 原生规范,支持审计回滚、冷恢复、跨重启状态恢复等能力,采用 MIT 许可开源免费使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 8 stars - very few users, little community feedback星标只有 8,几乎没人在用,遇到问题缺少社区反馈
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 github:zibo2025/dsh-orchestrator

把 zibo2025/dsh-orchestrator 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-orchestrator

orchestrator 意为「编排器 / 协调者」;读音:美 /ˈɔːrkəstreɪtər/ · 英 /ˈɔːkɪstreɪtə(r)/,重音在第三音节,近似「奥克斯特雷特尔」。

面向 DeepSeek Harness 的原生全互联智能体编排插件: 一个主智能体负责任务分解与分派,多个 worker 负责实际执行,任意智能体之间都能原生互发消息 (主 → 子、子 → 主、子 ↔ 子),并支持为每个 worker 单独指定模型与思考强度。 没有文件信箱、没有提示词约定、没有轮询——消息直接走 harness 自带的智能体收件箱, 并以 harness 的 coordinator relay 归因持久化到轨迹。

flowchart LR
    U([用户需求]) --> M[主智能体<br/>任务分解与分派]
    subgraph G[worker 网格 · 任意智能体之间互通]
        W1[worker A<br/>独立模型与思考强度]
        W2[worker B<br/>独立模型与思考强度]
        W3[worker …]
    end
    M -- agent_spawn --> G
    G -- 回报 --> M
    M --> R([汇总结果给用户])
    W1 <--> W2
    W2 <--> W3

功能总览

网格通信与运行控制

  • 派生:agent_spawn 创建常驻后台、可持续对话的 worker;可按 worker 指定 provider / model / maxTokens / effort,或用 harness worker 模板一键派生。 spawn 时对显式指定的路由做严格校验——拼错立即报错并列出该 provider 的可用模型,绝不静默降级。
  • 消息:agent_send 给网格内任意智能体发消息(排队为目标的下一回合); agent_broadcast 一条消息广播到所有在线成员。
  • 插话:agent_send 带 steer: true 时,运行中的目标在其最近的步骤边界(模型步骤之间, 不打断进行中的工具调用)消费消息——典型用法是「先汇报当前进度,再继续执行」;空闲目标立即开新回合。
  • 停止:agent_interrupt 取消某个在线智能体的当前回合(中途停下跑偏的任务), 排队中的消息保留不丢;取消原因持久记录在目标轨迹。停下后接一条 agent_send 即可改道。
  • 收尾纪律内置:worker 提示词自动附带「大产物写文件、汇报只发指针」「最终汇报保持精炼」等约定。

Continual Harness(可自我改进的持久状态)

  • 三类条目:memory(网格教训)、worker(可复用派生模板)、prompt(提示注记)。
  • 证据约束:每次修改必须带 summary + rationale(出自真实轨迹证据);乐观并发 (base_version 不匹配即拒绝);保留 id 黑名单——基座提示词不可被自我改写。
  • 审计与回滚:每条 edit 存 before/after 快照、append-only 修改历史;rollback 逆向重放为一个带 rollbackOf 标记的新记录(回滚本身也进审计链)。
  • 双作用域:默认 session-local(经会话日志持久,随会话恢复);显式 global (跨会话 JSON 存储 + 审计文件)。
  • 渐进披露:系统提示只注入每类至多 6 条 × 180 字符的概览({{mesh_harness}} 变量), 完整条目按需用 agent_harness list 读取。

定时唤醒

  • agent_schedule 给自己或任意成员安排一次性(delay_ms / at_ms)或重复(every_ms)唤醒消息; 链式投递——错过的 tick 合并不堆积、目标离线跳过并续排。进程内实现,重启即失 (跨重启的持久调度属宿主能力,见上游建议)。

可观测性与持久恢复

  • agent_list:网格花名册——标签、父级、spawn 时路由、主智能体标记,以及每个成员的 token 用量(inputTokens / outputTokens);已结束 worker 以 settled 状态保留在册。
  • agent_trace:只读穿透任意成员的轨迹(轮次、消息、工具调用与结果),在线读内存快照、 已结束 worker 读持久化日志;读取永不唤醒目标。
  • 冷复活:向你自己派生的已结束 worker 发送 agent_send 会从持久化会话恢复并继续对话。
  • 跨重启恢复:花名册、标签、路由与思考强度从持久化日志自动恢复,宿主重启后依然有效。

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-promotion-toolkit 下一个 Next dsh-rust-sdk →