Update nexus wiki content
This commit is contained in:
38
wiki/concepts/工作流编排.md
Normal file
38
wiki/concepts/工作流编排.md
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
title: "工作流编排"
|
||||
type: concept
|
||||
tags: []
|
||||
last_updated: 2026-05-02
|
||||
---
|
||||
|
||||
## Definition
|
||||
通过工作流自动化平台(如 n8n)协调和串联多个 AI Agent,使它们在统一的流程中有序执行、分工协作,共同完成复杂任务(如调研→写作→编码的完整链路)。
|
||||
|
||||
## Details
|
||||
- 编排层负责:触发条件、路由决策、数据传递、结果聚合
|
||||
- 典型模式:n8n HTTP Request 节点分别调用 researcher/writer/coder 三个 Agent
|
||||
- 优势:零代码集成、无需额外中间件、完全原生支持
|
||||
- 挑战:会话保持(通过 `[[X-Hermes-Session-Id]]` 解决)、错误处理、超时管理
|
||||
|
||||
## Architecture
|
||||
```
|
||||
n8n Workflow
|
||||
│
|
||||
├─ [HTTP Request] → localhost:8643 (agent-researcher) → 搜索/调研
|
||||
│
|
||||
├─ [HTTP Request] → localhost:8644 (agent-writer) → 内容生成
|
||||
│
|
||||
└─ [HTTP Request] → localhost:8645 (agent-coder) → 代码任务
|
||||
```
|
||||
|
||||
## Related
|
||||
- [[n8n]] — 工作流编排平台
|
||||
- [[HermesAgent]] — 被编排的 Agent
|
||||
- [[多Profile隔离]] — 多 Agent 并发协作的基础
|
||||
- [[X-Hermes-Session-Id]] — 会话上下文保持机制
|
||||
|
||||
## Aliases
|
||||
- Workflow Orchestration
|
||||
- Multi-Agent Orchestration
|
||||
- Agent Coordination
|
||||
- 工作流自动化
|
||||
Reference in New Issue
Block a user