把头脑风暴拆成独立 DSH Session 分支,以 Agent 撰写的 Handoff 传递结论,并在思考树中管理分支;完整顶部 Tab 可独立使用,右侧栏增强需另装 Better Sidebar。README 要求 Node.js 22.19+ 与 DSH 0.1.0-rc.6。
工作流
@nanmicoder/dsh-agent-teams
作者 NanmiCoder · community
在一个 DSH 会话中编排由 captain 与成员组成的多代理团队,支持有依赖关系的任务、消息传递和 Web GUI 树状监控;README 建议与 DSH 0.2.1-rc.2 配套使用。
DeepSeek Harness 插件,分类: 工作流
安装
运行这条 DSH 插件命令前,请先审阅来源及信任等级。
dsh plugin --profile web add @nanmicoder/[email protected]来源
- 仓库
- registry — DSH Plugin Registry (independent directory) · 2026-11-05T00:15:41.391Z · 证据
- github — NanmiCoder upstream package manifest · 2026-11-05T00:18:29.444Z · 证据
- github — NanmiCoder upstream package manifest · 2026-11-05T22:11:46.354Z · 证据
- github — NanmiCoder upstream package manifest · 2026-11-05T22:24:05.847Z · 证据
README
README 状态: fetch_failed — GitHub metadata HTTP 403 · 沿用旧摘录,抓取于2026-11-05T22:11:46.029Z
One prompt. A working team.
dsh-agent-teams turns the current DeepSeek Harness session into a captain that can assemble durable sub-agents, split a goal into dependency-aware tasks, and coordinate work through direct messages.
Ask in natural language. The plugin provides the team protocol, 14 coordination tools, persistent state, an automatic shared-task scheduler, and a live Web UI—without requiring a separate workflow engine.
<p align="center"> <img src="./assets/readme/workspace.png" width="100%" alt="AgentTeams native workspace with members, task dependencies, and progress"> </p>Releases
Latest release fixes installation on Harness 0.2.1-rc.4, 0.2.1-rc.5 (npm latest) and later releases. The plugin now declares only a minimum host (>=0.1.2-alpha.2) instead of listing tested versions, so a new Harness release no longer blocks installation. Install from npm with the exact version shown below; Git installs use the default branch. The recommended Harness host remains 0.2.1-rc.2. See the tested matrix and release notes.
Why AgentTeams?
| Capability | What it changes |
|---|---|
| Captain-led delegation | The current session creates the team, assigns roles, and consolidates the final result. |
| Durable members | Members are continuable DSH sub-agents that can be woken for focused follow-up turns. |
| Dependency-aware tasks | Tasks move through explicit states and cannot be claimed before their dependencies finish. |
| Automatic reuse and safe takeover | Idle members claim the next ready task; reassignment revokes stale attempts before new work starts, and cold recovery retries stranded open attempts. |
| Direct messaging | Members send durable mailbox messages directly to teammates or the captain—no relay required. |
| Live activity panel | The Web UI combines segmented progress, a collapsible roster, and an interactive task DAG; running tasks show the member's model, and completed archives retain their full member and task history. |
| Plan before execution | Normal /agent-teams runs stage an unspawned roster and DAG first. The Web panel uses the host model catalog for member routes. Returning to chat stops the planning turn, asks what should change, and revises the same draft; discarding archives the draft, aborts the turn, and explicitly prevents automatic recreation. Only Approve & Run enables scheduling; each member starts with its first ready task. |
| Quality gates | Opt-in quality tasks support requirements → implementation → verification → review → integration contracts, automatic repair/re-review, and explicit resume. Scope control is a completion-time audit, not host write interception. See docs/quality-gates.md. |
The conversation card and activity panel use Harness's official locale service. They follow live language changes between English and Simplified Chinese—including status labels, dynamic summaries, controls, archive markers, and accessibility text—without a page reload or a separate plugin setting.
Install and choose versions
Recommended pair: DeepSeek Harness 0.2.1-rc.2 + AgentTeams 0.1.28. The host remains an RC.
| Use case | DeepSeek Harness | AgentTeams plugin |
|---|---|---|
| Recommended | 0.2.1-rc.2 |
0.1.28 |
| Preview host | 0.2.1-rc.3 |
0.1.28 |
| Previous recommended RC | 0.2.1-rc.1, 0.2.0-rc.2, 0.1.7-rc.2 |
0.1.28 |
| Legacy RC | 0.1.5-rc.1, 0.1.5-rc.2, 0.1.5-rc.3 |
0.1.28 |
| Retaining an older RC | 0.1.2-rc.1 |
0.1.28 |
| Developer Alpha testing | 0.1.2-alpha.5 |
0.1.28 |
| Retaining an older Alpha | 0.1.2-alpha.2 |
0.1.28 |
| Newer hosts | 0.2.1-rc.4, 0.2.1-rc.5 and later |
0.1.28 |
All rows except the last are the CI-tested matrix. Harness 0.2.1-rc.4 and later releases can install the plugin directly; 0.2.1-rc.5 passed the full runtime suite locally on macOS but is not yet in the CI matrix.
Desktop app
In the app sidebar, open Plugins → Add plugin. You can install directly from GitHub by pasting this repository URL into the plugin input, without a version, tag, or commit suffix:
https://github.com/NanmiCoder/dsh-agent-teams
This installs from the default branch and is available immediately after release. The equivalent shorthand is also supported:
github:NanmiCoder/dsh-agent-teams
For npm installation, enter the versioned spec @nanmicoder/[email protected]. Desktop's pnpm 11 defaults to a 24-hour minimum release age: for 24 hours after a release, a bare package name or @latest installs the previous version even when the preview shows the newest one, and the installation fails if that version is incompatible with your host. An exact version installs immediately. Changing registry mirrors does not remove this policy. GitHub access is required for the Git route; it may contain newer code than npm.
Install it, then choose Enable now. If the host asks for a restart, restart the desktop app. Do not disable compatibility checks or the global release-age policy to install the plugin.
The desktop app supplies its own Harness core and package manager. Upgrading the global CLI does not upgrade that core, and an ordinary standalone CLI cannot manage its desktop profile. The CLI carrier installed by the desktop app can manage that profile in 0.2.1-rc.2. Check the embedded core against the compatibility list. Harness 0.2.1-rc.2 is now the exact published target; its RC status is unchanged. The earlier source-only 0.2.0 prediction is no longer a support declaration. See the release migration evidence.
CLI / Web: 1. Install DeepSeek Harness
npm install --global @deepseek-ai/dsh
dsh --version
The command selects the host's npm latest; check dsh --version against the support matrix after upgrading. Alpha is opt-in: select an exact Alpha version from the table and lock all host dependencies as described in the maintenance guide.
CLI / Web: 2. Install the AgentTeams plugin
Install or upgrade from npm with an exact version (currently 0.1.28):
dsh plugin --profile web add --save-exact @nanmicoder/[email protected]
For a CLI-managed installation, replace web with your active CLI profile. Stop and restart that profile's Harness process, then refresh the browser. Installing the plugin does not upgrade Harness; the host and plugin have independent latest channels.
Alternatively, install or update from the latest GitHub default branch without a tag or commit suffix:
dsh plugin --profile web add github:NanmiCoder/dsh-agent-teams
To update, run the command again with the new version, then restart the profile; a bare package name can retain an already installed exact version. For 24 hours after a release, a bare package name or @latest installs the previous version. If a registry mirror has not synced the release, append --registry=https://registry.npmjs.org to the npm command. GitHub default-branch code may be newer than npm latest. The default branch includes the verified server, client, and type build outputs in lib/. The repository distributes these outputs so installation does not need a prepare hook or build-script approval. Source maintainers must run pnpm build and update the committed outputs whenever the source changes. Existing npm releases remain immutable.
For a manually cloned checkout, run pnpm install --frozen-lockfile and pnpm build after pulling, then restart the corresponding Harness process. Updating Git alone does not update local build output. See the maintenance guide.
For
0.1.0-*/0.1.1-*hosts older than0.1.2-alpha.2, keep a working pair and follow the older-version and diagnostic guide.
See the full compatibility matrix, source installation and Alpha testing guide, and verification coverage and platform limits.
Then ask for a team directly:
Use AgentTeams to review the commits after v0.5.3 from performance, security, and product perspectives. Return one consolidated report.
View teams in the workspace
Click View team in the current chat header or the team card below a reply to open the native Team collaboration tab. The entry belongs to its chat, rather than the general workspace start page.
Team and task content starts immediately: wide panes use columns and narrow panes stack them. Select a task to locate its owner; member icons open their conversations. Closing the tab does not stop the team, and its chat can reopen it. Completed teams retain their archives. Older hosts keep the activity panel.
How it works
- For a request to use AgentTeams, the captain follows the core protocol already in its system instructions. It continues an existing team and uses
agent_teams_statuswhen current state needs checking. When no team exists, the goal becomes a staged plan for review. - The captain adds role-specific members backed by continuable sub-agents.
- The goal becomes tasks with owners and explicit dependencies.
- The shared scheduler uses real
running / idle / readystate to atomically claim one ready task per idle member and wake it. An interrupted resident attempt stays parked and can resume through a direct message without losing its capability; after a cold process restart, the scheduler retries stranded open work with a fresh attempt. - Members update with the current
attempt_id; reassignment or captain takeover revokes the old attempt and waits for the old worker to quiesce before a new attempt starts. - The captain presents the combined result, then archives the complete team record.
Team state is stored under <workspace>/.agent-teams/; the Web panel reads that disk truth and combines it with live sub-agent activity.
Member creation is zero-interaction by default: a member on the captain's current LLM route snapshots that provider, model, and reasoning effort, while a member on a requested alternative route snapshots the target model's default effort; later continuations restore the resolved snapshot. Only an
README 摘录,请查看原文。
数据截至 2026-11-05
同类插件
面向 DSH、omp、OpenCode 等编码宿主的交付工作流:项目经理协调需求、架构、实现、独立审查、验收与发布准备,并保存计划和审查记录。DSH 原生插件需要 dsh CLI;功能流程由项目配置及宿主支持决定。
在可恢复的中断后向 DSH 会话发送配置的继续提示;成功回合后的自主续跑为独立可选模式,并可按会话暂停。
在 DSH Desktop 或 Web 对话中,对选中的消息文本发起独立追问,并可将讨论作为引用加入主对话。临时讨论不创建 Session,也不提供工具或文件编辑;需按 DSH 运行时版本匹配 Side Chat 版本。
工作流
dsh-sentinel
让 DSH agent 注册文件、命令、HTTP、进程、端口、会话结束或 Webhook 监视条件,条件触发后唤醒会话;探测与唤醒需要常驻 DSH 进程运行。
工作流
dsh-web
为 DSH Web 与桌面客户端提供聚合式插件工作台,整合 Agent 自动化、浏览器交互、远程访问、SSH 运维、会话管理、用量监控和主题功能。