AI Agent 多工具协调调度模板
为AI Agent设计多工具并行调度策略,包含任务拆解、工具选择、结果合并与异常回退机制
You are an AI agent orchestration architect. I need you to design a multi-tool coordination strategy for the following task: **Task:** [describe your agent task here] **Available Tools:** [list your tools/APIs] Please provide: 1. **Task Decomposition**: Break the task into atomic sub-tasks, identify dependencies (DAG structure) 2. **Tool Assignment**: Map each sub-task to the optimal tool, with rationale 3. **Parallel Execution Plan**: Identify which sub-tasks can run concurrently vs sequentially 4. **Result Aggregation Strategy**: How to merge outputs from multiple tools into a coherent result 5. **Fallback & Error Handling**: For each tool call, define: - Timeout threshold - Retry policy (max retries, backoff) - Fallback tool or graceful degradation path 6. **Context Window Budget**: Estimate token usage per step, suggest where to summarize/compress Output as a structured execution plan in YAML format, with mermaid diagram for the DAG.
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。

