Back to Openvino

CLI: Run

docs/articles_en/physical-ai/how-to/cli/run.md

2026.2.1732 B
Original Source

CLI: Run

Preview: The CLI is a planned API. The examples below document the target design.

Use this command to run a policy runtime from a YAML file.

bash
physicalai run --config runtime.yaml

You can limit the run duration when needed.

bash
physicalai run --config runtime.yaml --duration-s 60

The equivalent Python call is shown below.

python
from physicalai.runtime import PolicyRuntime

PolicyRuntime.from_config("runtime.yaml").run(duration_s=60)

The CLI is expected to use the same config schema as the Python APIs.

Runtime commands live in the physicalai package. Training commands should be provided by training packages or plugin entry points so the runtime package stays lightweight.