A small, opinionated, human-readable language for describing robot intent.
ROS 2 Reference Runtime
Status: Phase 1 in flight. Skeleton + substrate Protocol + hermetic MockROSAdapter + end-to-end red-mug execution + full composition (Sequence + Branch + Parallel + Retry) landed at 0.1.0a0 (pre-alpha). The real rclpy-backed adapter is the next milestone.
What this is
The first URML reference runtime. Translates a validated URML program into ROS 2 actions, services, and topics; honors declared capabilities and the active safety envelope at every step.
ROS 2 is the first reference runtime because its community is the largest — not because it is privileged. The substrate-neutrality acid test in CLAUDE.md explicitly requires that every Layer-2 primitive be implementable on a runtime with zero ROS dependencies. This runtime is one of many possible Layer-0 targets.
Substrate
- ROS 2 (Humble, Iron, Jazzy, and later LTS releases). The runtime tracks LTS releases.
- Nav2 for navigation primitives (
move_to). - MoveIt 2 for manipulation primitives (
grasp, arm control). - Perception pipelines per profile (object detection for
detect).
Language
- C++17 for nodes on the critical path (anything per-tick or per-message).
- Python for orchestration, the URML-to-ROS-2 compiler, tests, and the bridge to the validator.
Both follow the conventions in CLAUDE.md §Working Conventions — type annotations, mypy --strict for Python, concepts where reasonable for C++.
Conformance contract
This runtime is conformant when it passes the published conformance suite at the declared URML spec versions. Conformance is per-spec-version: a runtime that passes Layer-2 v0.1 but not Layer-2 v0.2 declares conformance to v0.1 and is honest about it.
The runtime ships its declared conformance in a CONFORMANCE.md file alongside this README when the first version cuts. Example:
declares:
layer-1-hal: 0.1.0
layer-2-primitives: 0.1.0
layer-3-behavior: 0.1.0
layer-4-nl-grammar: 0.1.0
profiles:
home: 0.1.0
Architecture (planned)
The runtime is a thin Layer-0 translator with three responsibilities:
- Validate. Before executing anything, run the URML program through
/reference/validator/against the connected robot's capability manifest. If validation fails, the runtime refuses to execute and returns the structured error to whatever produced the program (often the LLM bridge). - Translate. Compile each primitive into its ROS-2 equivalent:
move_to(kitchen)becomes a Nav2NavigateToPosegoal;grasp(target, force: gentle)becomes a MoveIt 2 plan with a configured gripper command;detect(object: mug)becomes a perception-pipeline query. - Honor composition. Implement Layer-3 sequence / branch / parallel / retry / on-error against ROS-2 lifecycle and action semantics.
The validator runs in the same process as the runtime. URMLRuntime.execute re-validates every program against the manifest, envelope and policy it is given before its first adapter call, so a rejected program raises ValidationRejectedError and the adapter receives nothing. The conformance goal-line lane (python -m urml_conformance --goal-line) checks this for every rejected fixture. Skipping the check takes an explicit revalidate=False in code.
Core Commitment
This runtime is licensed under the Business Source License 1.1: free for non-production use, commercial license for production (see LICENSING.md). No vendor coupling, no cloud dependency.
Related documents
/spec/layer-1-hal/— what manifests this runtime reads./spec/layer-2-primitives/— what primitives it compiles./spec/layer-3-behavior/— composition semantics it implements./conformance/— the test suite that decides conformance.
Metadata
Release files for urml-ros2-runtime 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| urml_ros2_runtime-0.5.2.tar.gz | 120.1 kB | Without provenance | Details for urml_ros2_runtime-0.5.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| urml_ros2_runtime-0.5.2-py3-none-any.whl | Python 3 | none | any | Details for urml_ros2_runtime-0.5.2-py3-none-any.whl |
Total release size: 197.8 kB
Release files / urml_ros2_runtime-0.5.2.tar.gz
| Download URL | urml_ros2_runtime-0.5.2.tar.gz |
|---|---|
| Size | 120.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41020059a3d78f452a9fe438a8941fed2e0172d3bf68b0647977ee9f76f83175
|
|
BLAKE2b-256 checksum How to use checksums |
7542a7738aa2044dc7e92e52709875e74540400979cbef1196c41570f29b9692
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Release files / urml_ros2_runtime-0.5.2-py3-none-any.whl
| Download URL | urml_ros2_runtime-0.5.2-py3-none-any.whl |
|---|---|
| Size | 77.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3af6fdb5922f72b999362e571678de0ab2a8e4a5b5e9e30a4254cc68e3baea2
|
|
BLAKE2b-256 checksum How to use checksums |
22943b754067c5b0cb4b6b41800cdf1b0f09adf31aa3c1e9466759a617648492
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for urml-ros2-runtime 0.5.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.