r600a-code/dsh-swarm-router

r600a-code★ 1JavaScriptLast synced: 2026-08-16

Open on GitHub

DSH plugin: sub-agent matrix swarm — routes heterogeneous tasks to the most suitable model (OpenRouter-like + cfgpu.com/llm/square), dispatches each via in-process subagents. 32/32 benchmark green.

README excerpt

dsh-swarm-router English 中文 A DeepSeek Harness bundle that turns a batch of heterogeneous tasks into a sub-agent matrix swarm : it routes each task to the most suitable model from an OpenRouter-like gateway plus the cfgpu.com/llm/square catalog, then dispatches each assignment in parallel as a real in-process subagent (or a direct ctx.llm call) pinned to that model — quick tasks land on fast/cheap models, hard tasks on strong reasoning models. A formal design write-up lives in docs/PAPER.md . 子智能体矩阵蜂群 :任务是行、候选模型是列,路由器为每一行选中一格,再通过 DSH 的 ctx.subagents 把每格变成一个绑定到所选模型的子智能体并行下放,按任务难度匹配模型、省时提效。论文见 docs/PAPER.zh.md 。 The four contributions Contribution What ① Model aggregation registry + PR flow models/registry.json is the canonical catalog; scripts/validate-registry.mjs enforces structure (CI-ready); CONTRIBUTING.md documents the add-a-model PR flow. ② Plugin extension point ctx.provide('swarmRouter', api) — other plugins inject: ['swarmRouter'] to register runtime models, custom task kinds, subscribe to feedback, read rankings/usage. ③ Real-task feedback + ranking swarm feedback records {correct, quality 1-5} , persisted to rankings.json ; swarm ranking shows per-model/per-kind success …

View full README on GitHub →
Agentscfgpudeepseek-harnessdsh-pluginllm-routingsubagentswarmagent

Category