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.
physicalai run --config runtime.yaml
You can limit the run duration when needed.
physicalai run --config runtime.yaml --duration-s 60
The equivalent Python call is shown below.
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.