HEO-Club/DSH-DAG--packages-dsh-dag ↗★ 2
dsh-dag
DSH 多智能体 DAG 插件:为 DeepSeek Harness 提供声明式、确定性的 DAG 任务编排(Cordis 插件适配器)。
AI 分析
核心用途是在 DSH 中实现声明式多智能体 DAG 编排,适合需要将复杂任务分解为拓扑图、让多个子智能体并发协作并自动合并结果的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HEO-Club/DSH-DAG#f79b4acacda99dc8b902f5567ecf3d4e104a248a&path:packages/dsh-dag說明文件
閱讀完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
toolName | dag_run | The model-facing tool name |
subagentProvider | spawn | ctx.subagents provider used for every node (and fusion) call |
globalLimit | 4 | Global node concurrency (0 = unlimited) |
perModelLimits | {} | Per-model node concurrency (0 = unlimited) |
retryPolicy.maxRetries | 2 | Per-node retry ceiling |
retryPolicy.baseDelaySeconds | 1 | Exponential backoff base |
retryPolicy.maxDelaySeconds | 30 | Backoff cap |
nodeTimeoutSeconds | 300 | Per-node timeout (0 disables) |
maxTotalNodes | 32 | Hard node-count cap per run |
maxResultChars | 100000 | Cap on dependency outputs injected into downstream prompts |
fusion | auto | auto: single result passes through, many fuse via LLM; llm: always fuse; none: deterministic concatenation |
emitSessionEvents | true | Record dag/* events into the calling agent's session |