33 lines
1.0 KiB
Markdown
33 lines
1.0 KiB
Markdown
---
|
||
title: "Multi-Agent Orchestration"
|
||
type: concept
|
||
tags: [multi-agent, orchestration, rust]
|
||
date: 2026-03-05
|
||
---
|
||
|
||
## Definition
|
||
多 Agent 编排是协调和管理多个 AI Agent 协同工作的技术,Nexus Spatial 使用 Rust 作为高性能 DAG 执行引擎。
|
||
|
||
## Why Rust
|
||
- 亚毫秒调度精度
|
||
- 零 GC 暂停,保证响应延迟
|
||
- 内存安全,适合 agent sandboxing
|
||
- 适合 CPU 密集型的 DAG 执行
|
||
|
||
## Architecture
|
||
- 14-table 数据模型(users, workflows, nodes, edges, executions, etc.)
|
||
- 内置 node types: ai_agent, prompt_template, conditional, transform, input/output, human_review, loop, parallel_split/join, webhook_trigger, delay
|
||
- WebSocket 实时流,支持 per-channel 序列号、gap 检测、snapshot 恢复
|
||
|
||
## Scaling Targets
|
||
- Year 1: 5,000 并发 agent executions, 10,000 WebSocket 连接
|
||
- Year 2: 50,000 并发, 100,000 WebSocket 连接
|
||
|
||
## Related Concepts
|
||
- [[Multi-Agent Team]]:协作架构
|
||
- [[Spatial AI Operations]]:应用领域
|
||
- [[Rust]]:实现语言
|
||
|
||
## Related Entities
|
||
- [[Nexus Spatial]]:产品实现
|