OpenRAL World Action Model layer — WorldModel Protocol + Rollout schema (CLAUDE.md §6.3)
Project description
openral-wam
OpenRAL World Action Model (WAM) layer — WorldModel Protocol +
Rollout schema + NullWorldModel stub.
Scaffold status (2026-05-18). This package ships the Protocol surface only:
WorldModel,Rollout, and aNullWorldModelstub for plumbing tests. Concrete adapters (Cosmos Predict, UnifoLM-WMA-0, IRASim) land in v0.3+ per CLAUDE.md §6.3. Those concrete generative WAM adapters ship as separate downstream packages in the private OpenRAL Pro monorepo — this public package stays the Protocol/contract surface.
Layer
CLAUDE.md §6.1 Layer 5 — generative simulator used by the planning loop for mental simulation (gating action chunks), failure anticipation, and replanning.
Three integration patterns (CLAUDE.md §6.3)
- Mental simulation (gating) — sample N short rollouts before
committing an action chunk. Threshold via
Rollout.confidence. - Failure anticipation — continuous predicted-vs-observed
discrepancy detector. The
WorldStateAggregatorand the WAM share a trace span; divergence raises aFailureTrigger. - Replanning loop — propose alternative subgoals as visual prompts; the reasoner re-prompts with the predicted-but-failed trajectory as context.
All three consume the same surface — WorldModel.rollout(...) →
Rollout — so the Protocol is sufficient for v0.2.
Public surface
from openral_wam import WorldModel, Rollout, NullWorldModel
WorldModel— structural Protocol every WAM adapter satisfies.Rollout— Pydantic v2 schema for the predicted trajectory.NullWorldModel— identity stub returning the input state forhorizonsteps.
ADRs
- Pydantic v2 preferred over
@dataclassfor schemas/configs. - CLAUDE.md §6.3 — the canonical write-up of the three integration patterns; a dedicated ADR will follow when the first concrete adapter lands.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openral_wam-0.1.0-py3-none-any.whl.
File metadata
- Download URL: openral_wam-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c929c8590b5f1db72fd60170cdc4ad9ad18a57cbc952e6ede8b7aaf1730b451f
|
|
| MD5 |
f55b61da756ae8cdba93d4fadbd9b77d
|
|
| BLAKE2b-256 |
a6cae2e39f8e656239ccb56e744984071d377ba1ae70024b70183c8a0c9ae1fc
|