Skip to content

System Model

This page explains the shipped Centralized Explicit system model: one orchestrator, worker agents acting as deterministic executors, and worker-private LIFT2 MCP dependencies owned from behind each worker. It reflects the current Engineering Preview implementation.

Current Design Truth

The current model is Centralized Explicit. The orchestrator owns mission intake, worker discovery and gate inspection, graph compilation or selected graph truth, global scheduling, dispatch decisions, persisted mission artifacts, and northbound read surfaces. It is the only tier that decides which ready node should be dispatched next.

Workers execute assigned atomic TaskNodes only. A worker can accept, reject, run, project, cancel, and report the work assigned to it, but it does not invent tasks, reorder dependencies, mutate the mission DAG, or perform global scheduling. Worker-local execution uses public skill_allowlist capability identity plus private mcp_config_path, mcp_skill_implementations[skill_id], and mcp_servers bindings to reach LIFT2 MCP over Streamable HTTP. That private execution layer is not published as an Agent Card, is not discovered by the orchestrator, and is not a public A2A authority.

Shared contracts keep the boundary explicit. Network payloads, task graph nodes, worker snapshots, mission reads, and persisted artifacts are represented by source-owned Pydantic models rather than ad hoc dictionaries in the docs. Inside the worker-agent package, omega_worker_agent.a2a owns the public A2A route and SDK glue, omega_worker_agent.execution owns assigned-task validation and lifecycle reports, and omega_worker_agent.mcp owns private MCP config, compatibility, transport, operation state, and projection.

Current Shipped Path Diagram

This diagram shows the current shipped path only. It includes the worker-private MCP seam and does not include mission-level realtime transport.

flowchart LR
    Client["Mission submitter / operator"] --> MissionAPI["Orchestrator mission API"]

    subgraph OrchestratorNode["orchestrator / apps/orchestrator"]
        MissionAPI --> Runtime["MissionRuntime"]
        Runtime --> Graph["MissionGraph"]
        Graph --> Scheduler["Ready-set scheduler"]
        Graph --> Storage["MissionStorage artifacts"]
        Storage --> Reads["MissionReadService"]
    end

    subgraph Worker["apps/worker_agent / omega_worker_agent"]
        PublicA2A["omega_worker_agent.a2a public edge"]
        WorkerService["omega_worker_agent.execution WorkerService"]
        PublicA2A --> WorkerService
    end

    subgraph PrivateRuntime["Worker-private MCP"]
        Bridge["omega_worker_agent.mcp execution adapter"]
        Config["mcp_config_path / mcp_skill_implementations"]
        Lift2["external/lerobot_lab/deploy/lift2/omega_runtime"]
        Bridge --> Config
        Bridge --> Lift2
    end

    Contracts["packages/contracts"]
    Validation["source-owned deploy and validation"]

    Scheduler -->|"atomic TaskNode over A2A"| PublicA2A
    WorkerService --> Bridge
    WorkerService -->|"WorkerTaskSnapshot / reports"| Graph
    Reads --> Client
    Contracts -. shared models .-> MissionAPI
    Contracts -. shared models .-> PublicA2A
    Validation -. validates shipped path .-> OrchestratorNode
    Validation -. validates shipped path .-> Worker
    Validation -. validates shipped path .-> PrivateRuntime

Data And Control Flow

  1. A mission is submitted through the orchestrator mission API.
  2. The orchestrator creates mission artifact state and starts its mission loop.
  3. The orchestrator discovers configured workers, validates their public worker gates, and builds the executable worker view.
  4. Planning and graph selection produce typed TaskNodes with assigned workers and dependencies.
  5. Scheduler logic identifies ready atomic nodes.
  6. The orchestrator dispatches ready work through WorkerA2AClient to worker A2A endpoints.
  7. WorkerService validates and starts worker-local execution behind the A2A boundary.
  8. Runtime-backed work crosses only from the worker to the worker-private MCP adapter and LIFT2 MCP endpoint. Public identity stays skill_id + public worker identity; private implementation details resolve through mcp_config_path and mcp_skill_implementations[skill_id].
  9. Worker task snapshots and lifecycle reports return to the orchestrator, which updates mission state and persisted artifacts.
  10. Northbound readers use orchestrator read APIs and artifact-backed views, not direct worker or runtime inspection.

Authority Boundaries

Actor or tier Owns Does not own
orchestrator Mission intake, discovery, graph truth, scheduling, A2A dispatch, artifact persistence, northbound reads. Worker-local execution internals or direct worker MCP operations.
Worker A2A package omega_worker_agent.a2a owns public route assembly, Agent Card publication for the worker, SDK request handling, and A2A transport glue. Execution policy, private MCP implementation selection, or mission reads.
Worker execution package omega_worker_agent.execution owns assigned TaskNode validation, worker task snapshots, lifecycle reports, and MCP failure mapping. Global planning, dependency ordering, or mission read authority.
Worker-private MCP package omega_worker_agent.mcp owns private implementation resolution, Streamable HTTP calls, worker-owned operation identity, and bounded projection behind a worker-owned adapter. Agent Card publication, A2A discovery, orchestrator scheduling authority.
packages/contracts/ Shared payload and artifact model authority. Component-specific execution behavior.
deploy/ Topology, compose asset, and multi-device runbook authority. Product behavior definitions independent of source code.

Source Authorities

Behavior Public source authority Runtime scope
Atomic task graph validation packages/contracts/src/omega_contracts/task_graph.py Task graph structure and assignment constraints are owned by the contract model.
Mission intake and reads apps/orchestrator/src/omega_orchestrator/mission_api.py, apps/orchestrator/src/omega_orchestrator/services/mission_reads/ Mission API and read behavior remain implementation-owned and artifact-backed.
Worker task execution apps/worker_agent/src/omega_worker_agent/execution/worker_service.py Worker execution validation stays below the A2A public edge.
Public A2A dispatch apps/orchestrator/src/omega_orchestrator/clients/worker_a2a_client.py, apps/worker_agent/src/omega_worker_agent/a2a/ Dispatch behavior is owned at the orchestrator-to-worker boundary.
Worker-private MCP adapter apps/worker_agent/src/omega_worker_agent/mcp/config.py, apps/worker_agent/src/omega_worker_agent/mcp/execution_adapter.py, apps/worker_agent/src/omega_worker_agent/mcp/operation.py, apps/worker_agent/src/omega_worker_agent/mcp/operation_projector.py, external/lerobot_lab/deploy/lift2/omega_runtime/ Private MCP behavior remains worker-owned and is not public discovery or scheduler authority.

Current Status

This page reflects the current Engineering Preview implementation. The system proves mission intake, worker discovery, typed task graph execution, public A2A dispatch, worker-local execution, artifact persistence, the canonical operator read model, public evidence hardening, scenario selection, worker-private MCP operation projection, and LIFT2 MCP reference execution. The orchestrator still owns global scheduling, workers still execute assigned atomic tasks, and LIFT2 MCP execution remains below the worker boundary.

Source Of Truth

Concern Source-owned truth
orchestrator mission intake, discovery, planning, scheduling, dispatch, artifacts, reads apps/orchestrator/
Worker public A2A surface and local execution apps/worker_agent/ (omega_worker_agent.a2a, omega_worker_agent.execution)
Atomic task graph model packages/contracts/src/omega_contracts/task_graph.py
Worker-private MCP protocol apps/worker_agent/src/omega_worker_agent/mcp/config.py, apps/worker_agent/src/omega_worker_agent/mcp/execution_adapter.py, apps/worker_agent/src/omega_worker_agent/mcp/operation.py, apps/worker_agent/src/omega_worker_agent/mcp/operation_projector.py, external/lerobot_lab/deploy/lift2/omega_runtime/