hongyue0721/dsh-kimicode-swarm ↗★ 0
dsh-kimicode-swarm
DeepSeek Harness 批量并行子 Agent 调度插件:swarm_batch 工具(Kimi Code Swarm 模式移植)+ /swarm 命令 + 聊天内实时进度条。
AI 分析
核心用途是实现多任务的批量并行派发与协同处理。适合需要同时审查多份代码、批量生成文本或执行重复性子任务的开发者。支持自定义提示词模板和模型分配。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hongyue0721/dsh-kimicode-swarmドキュメント
README 全文を読む ↗使用
让 Agent 干活:直接描述任务,Agent 会自行判断是否值得批量并行;或明确要求 「用 swarm 批量派发」。
快捷命令:
/swarm 审查这三个模块的代码并给出修复建议
模型分配:默认继承调用者模型;想按任务指定,给 items 的某项写
{ "item": "...", "model": "deepseek-v4-pro" },或整批传 model 字段。
swarm_batch 参数(模型侧契约):
| 参数 | 说明 |
|---|---|
description | 整个 swarm 的简短描述 |
subagent_type | 子 Agent 类型(默认 coder) |
model | 整批模型覆盖(显式优先于映射表) |
prompt_template | 必填,含 {{item}} 占位符 |
items | 1..128 项;string 或 { item, model?, type? } |
resume_agent_ids | agent_id -> prompt 映射,断点续做(优先于新派发) |
配置
设置页卡片暂不可用(见下);当前配置走 profile patch 的 entry config 或
~/.dsh/settings.yaml 的 swarm: 段:
swarm:
enabled: true
announceToAgent: true
modelMappingEnabled: false
modelMapping:
- type: explore
provider: deepseek-official
model: deepseek-v3