Skip to main content

Motrix Deploy

motrix-deploy runs exported policies without a training framework. It provides deployment artifacts, robot/task contracts, shared control execution, runtime plugin discovery, and the implementation behind mxlab deploy. Install motrixlab for the sole mxlab CLI; this component retains its Python APIs and internal callable deployment adapter. Use mxlab --version to query the version. Install the task and runtime plugins needed for your target. motrix-deploy does not depend on motrix-rl: training-run export belongs to motrix-rl, which depends on this package, while deployment runs independently. Create artifacts with mxlab export-deploy run_dir=<run-dir> output=artifacts/policy.deploy; see the deployment tutorial for export. Environment packages provide profile compilers through package registration callbacks in motrix_deploy.profiles; see adding a profile compiler for the provider recipe and discovery requirements.

With the Go2 task and a simulation backend installed:

mxlab deploy task=go2-walk-flat/sim artifact=artifacts/go2-walk-flat.deploy

Hardware API

Hardware backends return a fully constructed HardwareRuntime, independent of the robot model or transport:

from motrix_deploy.runtime.hardware import HardwareRuntime

runtime = HardwareRuntime(robot)  # An already constructed RobotInterface.

Construction does not open the robot connection. Bind a ControlSession before running; transport acquisition, output enable, emergency/fault safe stop, and cleanup remain owned by the interface. Tasks own normal preparation trajectories, servo gains, operator startup gates, and normal shutdown motions. CLI task_settings are passed through create_task(..., settings=...) to the task constructor before runtime construction; each task validates its supported settings independently of the frozen artifact policy contract. The runtime uses the robot's optional gamepad device unless one is explicitly supplied. RobotInterface.read_state() returns the current/latest snapshot without waiting for a new sample. Hardware open() waits for the first valid state with a bounded timeout; repeated reads preserve the sample's receive timestamp so ControlSession can enforce the configured state-age limit.

For CLI recipes, hardware backend entry points in motrix_deploy.backends implement factory(config, context) -> HardwareRuntime. The context supplies the artifact's robot and control specifications. create_hardware_runtime validates and returns the plugin-created runtime; hardware plugins own runtime construction and may configure its scheduler or gamepad. Simulation entry points continue to return a SimulationRuntime.

Simulation initializes placement, joint pose and velocities through its scene and reset before entering shared control. The shared ControlSession executes one task controller from the measured robot state, without a fixed-base phase or preparation handoff. Task-owned startup trajectories and operator gates run as normal controller phases under the same state freshness, command and health checks on simulation and hardware. Tasks do not receive runtime handles; simulation does not numerically support the base during those phases.

See the deployment tutorial for export, simulation, and hardware workflows, or the Python example for programmatic control.

Metadata

Release files for motrix-deploy 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for motrix-deploy 0.5.0
File Interpreter ABI Platform Actions
motrix_deploy-0.5.0-py3-none-any.whl Python 3 none any Details for motrix_deploy-0.5.0-py3-none-any.whl

Release files / motrix_deploy-0.5.0-py3-none-any.whl

Download URL motrix_deploy-0.5.0-py3-none-any.whl
Size 60.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd95d4f4152e85243e38b92acc4b5dbf4357a1d2af22c38be4e02346a88a84fb
BLAKE2b-256 checksum
How to use checksums
d927bfc8f377c2038e585ee2f698f542e4e868afa11f8eed26009d6b749fe645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for motrix-deploy 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for motrix_deploy-0.5.0-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page