Skip to content

远程节点

PRX 通过远程节点支持分布式 Agent 执行。节点是运行在独立机器上的 PRX 实例,可以与控制器配对进行委派任务执行。

概述

节点系统支持:

  • 分布式执行 -- 在远程机器上运行 Agent 任务
  • 专用环境 -- 具有 GPU 访问、特定工具或网络位置的节点
  • 负载分配 -- 将 Agent 工作负载分布到多台机器
  • 无头运行 -- 节点作为守护进程运行,无需本地用户界面

架构

┌──────────────┐         ┌──────────────┐
│    控制器    │◄──────► │   节点 A     │
│  (主要)    │         │  (GPU 主机)│
│              │         └──────────────┘
│              │         ┌──────────────┐
│              │◄──────► │   节点 B     │
│              │         │  (预发布)  │
└──────────────┘         └──────────────┘

配置

toml
[node]
mode = "controller"  # "controller" | "node"
node_id = "gpu-host-01"
advertise_address = "192.168.1.100:3121"

[node.discovery]
method = "static"  # "static" | "mdns"
peers = ["192.168.1.101:3121"]

相关页面

Released under the Apache-2.0 License.