Models & Providers

swarm-dashboard

r600a-code/swarm-dashboard/plugin · ★ 2

r600a-code

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…

README body is shown in Chinese.

License
MIT
Added
2026-10-30
Maintenance
active
Install kind
github
Manifest details
Manifest status
Declared
Manifest path
package.json#dsh
Manifest checked
2026-10-30T14:21:20.636Z
Lifecycle scripts
None found

Static manifest checks report declarations only; they are not compatibility or security review.

安装

dsh plugin --profile web add 'github:r600a-code/swarm-dashboard#a4d40c389c0776555a23c62ca7226688cd3cb8a7&path:/plugin'

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

README

Source README · body: zh · Read Chinese README

Table of contents
  1. 项目结构
  2. 三个部分
  3. ① 插件 plugin/ — dsh-swarm-router
  4. ② 论文 paper/ — 多专家模式
  5. ③ 网站 index.html — 持续对比
  6. 快速开始
  7. 许可

多专家蜂群:按任务难度路由到最合适的模型,并行下放,真实记账,持续进化。

蜂巢实验室是一个完整的实验项目,把理论、插件、对比网站合为一体,证明"多专家模式"在真实 LLM 调用上省 token、省成本、还不牺牲质量。

🌐 网站:https://r600a-code.github.io/swarm-dashboard/

项目结构

swarm-dashboard/
├── index.html              # 对比网站(GitHub Pages,自动部署)
├── data/comparisons.json   # 持续更新的对比数据(剧本逐集进化)
├── scripts/update-episode.mjs  # 数据更新脚本
├── .github/workflows/
│   ├── evolve.yml          # 每 6 小时自动生成新一集短剧
│   └── answer.yml          # 自动回答用户提交的问题
│
├── plugin/                 # ① dsh-swarm-router — DSH 插件
│   ├── index.js            # 6 个工具:swarm_dispatch, swarm_stats, swarm_savings...
│   ├── router.js           # 纯函数难度匹配路由器
│   ├── catalog.js          # 模型聚合注册表加载器
│   ├── ranking.js          # 反馈→排名→路由加成
│   ├── store.js            # token/成本持久化
│   ├── models/registry.json  # 模型目录(cfgpu + OpenRouter)
│   ├── cordis.patch.yml    # DSH bundle 配置层
│   ├── benchmark/          # 基准测试 + 验证器
│   └── docs/               # 案例分析 + 设计论文
│
└── paper/                  # ② 多专家模式 — 理论论文
    ├── PAPER.md            # 英文论文(形式模型 + 帕累托定理 + 证明)
    ├── PAPER.zh.md         # 中文论文
    └── README.md           # 中文首页

三个部分

① 插件 plugin/ — dsh-swarm-router

DeepSeek Harness bundle。路由器按难度把任务分配给最合适的 cfgpu/OpenRouter 模型,direct 或 subagent 模式并行下放。含反馈排名 + token/成本记账。

② 论文 paper/ — 多专家模式

《Agent 的多专家模式》理论框架:形式模型、帕累托优越性定理及证明、四组件宿主无关架构、首个验证实现。

③ 网站 index.html — 持续对比

短剧《蜂巢之心》逐集进化对比:蜂群 vs 单模型,剧本并排展示 + token/成本实时统计。GitHub Actions 自动更新。

快速开始

# 装插件
dsh plugin --profile headless add github:r600a-code/swarm-dashboard#main:plugin

# 跑基准
dsh --profile headless "$(cat plugin/benchmark/benchmark_prompt.txt)"

# 看省了多少
dsh --profile headless "Call swarm_savings, then stop."

许可

MIT。