Files
nexus/wiki/concepts/Multi-Agent-Orchestration.md
2026-04-21 08:02:52 +08:00

1.0 KiB
Raw Blame History

title, type, tags, date
title type tags date
Multi-Agent Orchestration concept
multi-agent
orchestration
rust
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 连接