Update nexus wiki content

This commit is contained in:
2026-05-03 05:42:06 +08:00
parent 90f3811b83
commit 111bc65b7b
707 changed files with 32306 additions and 7289 deletions

View 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 的标准接口