URML (open robot intent language): could a trained policy carry its capability envelope? a boundary check
Hi rl_games maintainers,
URML (urml.dev) is a small, Apache-2.0 language for describing robot intent: it validates a request against a capability manifest and a safety envelope, then dispatches. rl_games trains a great many of the Isaac-based locomotion and manipulation policies that end up being the controller a robot actually runs, which puts it below the layer URML talks to. So let me be honest about the boundary: URML talks to the trained policy or the platform, not to the trainer.
Nothing here asks rl_games to change or maintain anything. This is a boundary check plus one real question.
The question is the same one I am asking rsl_rl: a policy trained with rl_games was trained under command ranges and limits that are exactly what URML's capability manifest and safety envelope try to declare from the outside. Would it be feasible for a trained policy (or its config) to carry those assumptions in a readable form, so a URML manifest can stay consistent with what the policy will actually do, instead of a human transcribing and drifting? I am genuinely unsure where that metadata best lives, and you have the clearest view of the training side.
Full write-up: https://github.com/URML-MARS/URML/blob/main/docs/rfcs/0380-rl-games-outreach.md
Thanks for rl_games; the throughput it unlocked changed what is trainable.
Ido Yahalomi (URML, [email protected])
AI-assisted prose, maintainer-reviewed before posting (see VIBE.md). Human-only correspondence available on request.
Hi Ido — thanks for the careful boundary check.
Confirming the boundary: rl_games is the trainer; the command ranges, body assumptions, and reward/termination limits a URML manifest mirrors live in the environment (Isaac Lab, IsaacGymEnvs, legged_gym, custom envs), not in rl_games. For the legged-locomotion fields specifically (mobility.max_velocity, drive type, command ranges), the env-side projects are the load-bearing conversation.
What rl_games already persists with a checkpoint: the full training YAML (including clip_actions, clip_observations, normalize_input, env id) and the running observation statistics. A URML adapter can derive a partial manifest from (checkpoint + YAML + env config) today without any change here.
One small change I'd accept on the rl_games side: an optional capability_manifest: block in the training YAML that rl_games stores verbatim in the checkpoint dict, so a manifest travels with the policy without rl_games taking a position on its schema. Happy to take a small PR for that.
— Denys
Thanks Denys, this is exactly the clarity I needed, and the offer is generous.
Agreed on the boundary: the command ranges, body assumptions, and termination limits live in the environment (Isaac Lab, legged_gym, IsaacGymEnvs), so that is where the load-bearing conversation belongs, and rl_games is the trainer carrying the checkpoint. Good to know an adapter can already derive a partial manifest from (checkpoint + YAML + env config) today.
The optional capability_manifest: passthrough is the cleanest possible version of what I was asking: rl_games stores it verbatim in the checkpoint dict, takes no position on the schema, and the manifest travels with the policy. That solves the transcribe-and-drift problem directly.
On timing it lines up well: URML just landed the manifest side of this, a learned_policy block (command ranges, terrain classes, payload range) declaring the envelope a policy was trained under, so the thing your passthrough would carry is now concrete. I will put together a small PR adding the optional capability_manifest: passthrough to the training YAML and into the checkpoint dict, kept schema-agnostic on your side, and take the env-side derivation (Isaac Lab / legged_gym) as the separate conversation it should be.
Thanks again, this is the most actionable version of "a policy carrying its envelope" I have gotten.
Quick follow-up, Denys. Two things landed on the URML side that line up with your capability_manifest passthrough offer.
First, the single learned_policy block I mentioned is in: command ranges, terrain classes, payload range, with reject or warn enforcement. Second, and more relevant to a trainer that produces many policies, URML now also supports multiple named, per-domain learned policies in one manifest. Each carries a name and a governs domain (locomotion, manipulation, and so on) and is validated independently, scoped to the command quantities it actually declares, so a locomotion policy and a manipulation policy on the same robot do not interfere. The practical upshot for you is that a checkpoint's capability_manifest passthrough can carry the right named policy envelope and have it slot straight into a multi-skill manifest, with no position taken on the schema by rl_games.
The optional capability_manifest passthrough in the training YAML is still the plan on my side, and your offer to take a small PR for it is what makes this concrete rather than hypothetical. Thanks again for laying out the boundary so clearly.