Auto-sync: 2026-04-27 12:02

This commit is contained in:
2026-04-27 12:03:03 +08:00
parent fbd6107be4
commit 83c6e24e7c
45 changed files with 1898 additions and 886 deletions

View File

@@ -0,0 +1,32 @@
---
title: "ToolOrchestration"
type: concept
tags: [tools, integration, orchestration]
sources: [multi-channel-assistant]
last_updated: 2026-04-27
---
## Definition
Tool Orchestration工具编排是指通过统一的配置层和接口集中管理多种外部工具API、SaaS、CLI的认证、调用和结果处理使 AI Agent 能够跨多个工具执行复杂任务,而无需为每个工具单独编写集成代码。
## Core Components
1. **配置层**:集中存储所有工具的 API Key、OAuth Token、环境变量如 [[OpenClaw]] 的 config.yaml
2. **适配器/包装器**:为每个工具提供统一调用接口([[ToolWrapper]]
3. **意图路由**:根据用户请求自动选择对应工具(如 [[IntentDrivenRouting]]
## Role in [[multi-channel-assistant]]
OpenClaw 作为配置中心,一次配置 Google OAuth / Slack / Todoist / AsanaAI Agent 通过统一 Prompt 指令调用不同工具:
- "Add [task] to my todo" → Todoist
- "Create a card for [topic]" → Asana
- "Schedule [event]" → gog calendar
- "Email [person] about [topic]" → gog gmail
## Related Concepts
- [[ToolWrapper]] — 工具的标准化封装接口
- [[IntentDrivenRouting]] — 基于意图选择工具
- [[Workflow-Engineering]] — 多工具组合形成工作流
- [[SubagentDelegation]] — 将工具调用委托给子 Agent
## Connections
- [[OpenClaw]] ← provides ← [[ToolOrchestration]](核心实现框架)
- [[multi-channel-assistant]] ← uses ← [[ToolOrchestration]]