r600a-code/dsh-swarm-router ↗★ 0
dsh-swarm-router
DSH plugin platform: sub-agent matrix swarm + model aggregation registry (PR flow) + plugin extension point (ctx.swarmRouter) + real-task feedback/ranking + token-consumption stats (cfgpu highlighted). Routes heterogeneous tasks to the most suitable model (OpenRouter-like + cfgpu.com/llm/square), dispatches via in-process subagents or direct ctx.llm calls.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:r600a-code/dsh-swarm-router说明文档
阅读完整 README ↗dsh-swarm-router
A DeepSeek Harness bundle (installable plugin) that adds a sub-agent matrix
swarm: give it a batch of heterogeneous tasks, and it (1) routes each task to
the most suitable model from an OpenRouter-like gateway plus the
cfgpu.com/llm/square model catalog, then (2) dispatches each assignment in
parallel as a real in-process subagent pinned to that model — so quick tasks
land on fast/cheap models and hard tasks land on strong reasoning models.
子智能体矩阵蜂群:任务是行,候选模型是列,路由器为每一行选中一格, 然后通过 DSH 的
ctx.subagents蜂群把每格变成一个绑定到所选模型的子智能体并行下放, 达到“按任务难度匹配模型、省时提效”的目标。
What is in the DSH plugin marketplace today
DSH's extension surface is "everything is a plugin", and it ships three intertwined mechanisms rather than one app store:
- Bundles — npm packages that declare
"dsh": { "bundle": { "patch": "./cordis.patch.yml" } }and contribute a configuration layer. Installed into a profile withdsh plugin --profile add; a profile composes them in order. In-box bundles:@deepseek-ai/dsh-base,dsh-web-app,dsh-headless. Discoverability for third-party plugins is the GitHub topicdsh-plugin(e.g.turtle-ui). - Skills — installable task-instruction packs (
dsh skill) loaded by the skill capability + a catalog/loader tool;find-skillsdiscovers them. - MCP / examples overlays —
--patchoverlays (theexamples/leaves: headless-agent, acp-agent, jsonrpc-agent, mcp-memory, web-cordis, web-schedule).
There is no central hosted registry yet — the "marketplace" is npm packages
- the
dsh-pluginGitHub topic + skills, composed per profile. This bundle is an author-side contribution to that ecosystem.
What this bundle adds
| Layer | Row | Effect |
|---|---|---|
llm-pi-ai override | cfgpu-swarm, routes |