Skip to main content

Module multi

Module multi 

Source
Expand description

Multi-agent orchestration primitives.

This module intentionally separates three concerns:

  • a strict manifest/argv parser (no shell strings);
  • one event stream and report accumulator per named agent; and
  • deterministic aggregation for the combined report and split-pane TUI.

The actual process launcher lives in runtime. It accepts only the validated argv produced here and always goes through sandbox::Backend.

Phase 4 (Step 23 & 24): Virtual port pool, debug port configuration, and cross-agent memory/signal isolation.

Re-exports§

pub use fleet::AgentWorkerScope;
pub use fleet::FleetConfig;
pub use fleet::FleetManager;
pub use fleet::DEFAULT_BASE_PORT;
pub use fleet::DEFAULT_CPU_WEIGHT;
pub use fleet::DEFAULT_FLEET_CGROUP_ROOT;
pub use fleet::DEFAULT_MAX_AGENTS;
pub use fleet::DEFAULT_MEMORY_LIMIT_BYTES;
pub use fleet::DEFAULT_PIDS_MAX;

Modules§

fleet
Multi-Agent Fleet Concurrency & Fair-Share Cgroup Architecture.
isolation
Cross-agent memory & signal protection subsystem (Step 24).
runtime
Fail-closed multi-agent launcher.

Structs§

AgentEvent
An event tagged with its originating agent.
AgentPane
AgentSpec
One independently sandboxed agent. command is an argv vector, never a shell command string. This is the central injection boundary for multi mode.
AgentStats
CombinedStats
DebugPortConfig
Local loopback debug port configuration per agent.
Manifest
TOML manifest accepted by vetto multi --manifest ....
MultiAggregator
MultiEventStream
VirtualPortPool
Dynamic virtual port pool allocator for multi-agent network isolation.

Enums§

AgentStatus

Functions§

load_manifest
parse_legacy_commands
Compatibility parser for legacy syntax.
parse_manifest_str
parse_repeated_agents
Parse the explicit repeated-command form: --agent name=/absolute/or/PATH.
run_cli
CLI entry point for vetto multi. It returns the worst non-zero exit code after the split-pane dashboard closes; the top-level main decides how to map that code to the process exit status.
spawn_aggregator