Li3NGa/DHS-multi-agent-plugin ↗★ 1
dhs-multi-agent
Native DeepSeek Harness multi-agent Cordis plugin
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗可选:YAML 配置支持
pip install "deepseek-multi-agent-plugin[dev]" # 含 pytest / ruff / pyyaml
要求 Python 3.10+。零运行时依赖。
## Quick Start
```bash
# 使用 YAML 配置的 DeepSeek 团队(需要 DEEPSEEK_API_KEY)
deepseek-multi-agent run --config example_config.yaml --strategy supervisor \
--prompt "为校园社团设计一个招新方案"
## Configuration
`example_config.yaml`(本项目根目录)演示了一个由 DeepSeek 支撑的三人辩论团队:
```yaml
coordinator:
strategy: debate
rounds: 3
timeout_seconds: 30
# budget: # 每次 run 的默认预算(可被 run(budget=...) 覆盖)
# max_calls: 20
# max_tokens: 100000
agents:
- name: researcher
kind: deepseek
role: 研究员
system_prompt: 你是一名严谨的研究员,擅长收集信息并给出有依据的分析。
temperature: 0.3
capabilities: research,analysis # supervisor 按能力路由任务
- name: critic
kind: deepseek
role: 批评家
system_prompt: 你是一名挑剔的批评家,善于发现方案中的漏洞与风险。
temperature: 0.7
capabilities: critique
- name: judge
kind: deepseek
role: 裁判
system_prompt: 你是一名公正的裁判,会综合各方观点给出最终结论。
temperature: 0.2
也可以从代码构建:build_coordinator(path="example_config.yaml")。