dsh-swarm
キュレーションリスト掲載メンテナンス: 活発joekytc/dsh-swarm
チームのようにマルチエージェントのタスクパイプラインを実行。視覚的なかんばんで計画・実行・レビュー・コード納品まで進め、完了を証明できます。
$ dsh plugin add dsh-swarm7
スター
0
フォーク
TypeScript
言語
MIT
ライセンス
2026-08-20
作成日
2026-10-09
最終プッシュ
README
dsh-swarm
Say one requirement, reply one confirmation — six specialist agents take it from planning to verified delivery. No commands to memorize.
dsh-swarm is a DSH plugin that turns one requirement into a strict, evidence-verified delivery pipeline. An orchestrator (V) decomposes an approved spec into a strictly ordered phase chain (p → (pt?) → w2 → d → dt → w3 → summary); six single-purpose roles (V / P / W / D / PT / DT) run each phase with isolated, permission-gated tool faces; every handoff is machine-verified against an evidence contract; failures recover through idempotent retry and human-gated reviews; and a live Workflow kanban tab streams all state to the browser via SSE. Design inspired by the Hermes Agent kanban.
Swarm mode (recommended)
Swarm mode turns your main session into a team lead: you state the requirement, it clarifies, plans, confirms, delegates and follows through — entirely in natural language, no commands to remember.
- No commands to memorize — just state your requirement; no
/plan:or/openspec:prefixes needed. - Automatic intent recognition — development requests → clarify/plan and build a chain; lessons & retrospectives → persist to memory; group notifications → deliver to WeCom; Q&A / chit-chat → answered directly. Intent is judged by the model, not by a code-level classifier — the confirmation gate below is what stops a misjudged chain.
- Free delivery —
/sms <intent>(e.g. "post current progress to the group"): facts are grounded via kanban lookup, then the body is composed per intent and delivered;-sor wording like "private chat" targets the DM. A bare/smsre-sends the latest completed-chain report and/sms blocked [chainId]the block notice — those two bodies are rendered by system code from kanban facts, never rewritten by the lead. Group and private-chat targets auto-resolve to the single saved target (0 or 2+ targets error out; clean up in dsh-im settings, or pinimDelivery.targetId/imDelivery.dmTargetId, which skips the count check — though withimDelivery.botIdempty the pinned target must still belong to the auto-discovered bot, or it errors out). - Confirmation gate against accidental chains — after the checklist is saved, the lead is instructed to build a chain only once you reply with an explicit affirmative (
确认/开干/开跑/开始/go, etc.). The gate is judged by the model, not enforced by a code-level check; vague replies, topic switches, or edit-only feedback count as not confirmed. - The lead is read-only — the main session cannot write/edit repo sources, nor run git mutations (push/commit/reset…); a bare
git checkout/git switchof an existing branch is allowed. Writing code is done by the executor (D) in an isolated workspace by design. - Progress is always actually queried — ask "how is it going?" anytime and the lead reports from real kanban lookups, never fabricated.
Why it's designed this way
Coordinating several agents on one task typically fails in three ways:
- Role drift — the "planner" starts writing code, the "executor" reviews its own work, and nobody owns the outcome.
- Unverifiable handoffs — an agent claims "done" with no reproducible evidence, and the next agent builds on sand.
- Silent deadlocks — an agent stops without finishing and the pipeline hangs, or bad code is merged before anyone reviewed it.
dsh-swarm encodes a contract against all three: one responsibility per role, enforced by the permission matrix, tool faces and task-body instructions; every handoff must carry structured evidence or the phase will not close; every stall or review failure lands in a visible, recoverable state — with you (the human) as the final trust anchor. It is built correctness-first: deterministic state machines, append-only event sourcing, idempotent schedulers, and a red-team test suite that replays the event log and rejects any illegal transition (mechanics in Advanced).
Two modes
| Mode | How you use it | Notes |
|---|---|---|
| Swarm mode (recommended) | Just say the requirement in natural language | No commands to memorize, intent auto-recognized, runs on confirmation |
| Command mode (compatible) | /plan: <requirement> → clarify → /openspec: confirm |
Kept for compatibility, functionally equivalent; may be removed in the future — new users should use swarm mode |
Quickstart
1. Install
Prerequisites: a working DSH runtime (@deepseek-ai/*), Node.js ≥ 22.19 and npm. Optional: a wiki-vault HTTP service (KB features, see Configuration).
From npm (the published tarball ships the built lib/):
dsh plugin --profile web add @joekytc/dsh-swarm
From a source checkout (rebuild first so lib/ matches the sources):
npm install
npm run build # tsc -p tsconfig.build.json + client bundle (lib/client.js)
dsh plugin --profile web add .
From GitHub source:
dsh plugin --profile web add github:joekytc/dsh-swarm— the repository tracks the builtlib/.
2. Switch your main-session preset
Switch the main session's agent preset to Swarm (蜂群模式) — it is installed at $DSH_HOME/.agent-presets/swarm once the plugin is installed.
3. Say → confirm → watch progress
Example conversation:
You: Add a role-management page to the admin project with CRUD and permission checkboxes
Lead: Let me confirm a few things first —
· Which role fields do you need (name/description/status/…)?
· Permission source: the existing menu tree, or custom?
· Any acceptance requirements, e.g. "deleting a role must not affect linked users"?
[GitHub で README 全文を読む →](https://github.com/joekytc/dsh-swarm)エージェント・自動化・ワークフロー の他のプラグイン
dsh-agent-teams
by nanmicoder
DeepSeek Harness 用の AgentTeams プラグイン
dsh-blender-plugin
by sixtysevenlf
DeepSeek Harness から Blender を TCP 経由でリアルタイム操作するプラグインです。ビューポート取得、任意角度レンダー、探索、レンダリング計測、安全な軽量化、ヘッドレス実行などに対応します。
dsh-free-search
by dddmuc
DeepSeek Harness 向け無料 Web 検索(DuckDuckGo、API キー不要)
dsh-bili-scroll
by c1overzz
Bilibiliの動画を定期的に探して字幕を確認し、日次レポートを作成します。必要に応じて、あなた宛てのコメントも投稿できます。
