Files
nexus/wiki/concepts/ToolOrchestration.md
2026-04-27 12:03:03 +08:00

33 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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]]