Update nexus wiki content
This commit is contained in:
33
wiki/concepts/Agent-Orchestration.md
Normal file
33
wiki/concepts/Agent-Orchestration.md
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
title: "Agent-Orchestration"
|
||||
type: concept
|
||||
tags: []
|
||||
---
|
||||
|
||||
## Definition
|
||||
Agent 编排(Agent Orchestration)是指通过工作流引擎统一协调和调度多个 AI Agent,使它们协同工作完成复杂任务的管理模式。
|
||||
|
||||
## Key Patterns
|
||||
- **集中式编排**:单一工作流引擎(n8n)控制多个 Agent 的调用顺序和数据流转
|
||||
- **并行调用**:同一工作流中同时调用多个 Agent(如 Hermes + OpenClaw)
|
||||
- **条件路由**:根据前一个 Agent 的输出决定调用哪个 Agent
|
||||
|
||||
## n8n 编排架构示例
|
||||
```
|
||||
n8n Workflow
|
||||
├─ Trigger (Telegram/Email/Webhook...)
|
||||
├─ HTTP Request Node 1 → Hermes Agent (port 8642)
|
||||
├─ HTTP Request Node 2 → OpenClaw Agent (port 18789)
|
||||
└─ Output Node (Telegram/File/Email...)
|
||||
```
|
||||
|
||||
## 优势
|
||||
- **统一入口**:用户通过单一界面与多个 Agent 交互
|
||||
- **数据流转**:一个 Agent 的输出可直接作为另一个 Agent 的输入
|
||||
- **可观测性**:工作流引擎提供执行日志和状态追踪
|
||||
- **灵活性**:可随时增删 Agent,不影响整体架构
|
||||
|
||||
## Related
|
||||
- [[n8n]] 是本 Wiki 中记录的编排工具
|
||||
- [[Hermes-Agent]] 和 [[OpenClaw]] 是被编排的 Agent 示例
|
||||
- [[OpenAI-Compatible-API]] 是连接 Agent 的标准接口
|
||||
Reference in New Issue
Block a user