Skip to main content

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 a NullWorldModel stub 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)

  1. Mental simulation (gating) — sample N short rollouts before committing an action chunk. Threshold via Rollout.confidence.
  2. Failure anticipation — continuous predicted-vs-observed discrepancy detector. The WorldStateAggregator and the WAM share a trace span; divergence raises a FailureTrigger.
  3. 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 for horizon steps.

ADRs

  • Pydantic v2 preferred over @dataclass for 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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openral_wam-0.2.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openral_wam-0.2.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file openral_wam-0.2.0.tar.gz.

File metadata

  • Download URL: openral_wam-0.2.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openral_wam-0.2.0.tar.gz
Algorithm Hash digest
SHA256 94207859186a875325623e701379c9bce96713c538c191e493b7da05866466d0
MD5 355f8761845fdb604f10c2a5a2ee3232
BLAKE2b-256 b3607136199137e0a722931c1fce5bb5f2320551d5476bfb8b56494b8809e0c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for openral_wam-0.2.0.tar.gz:

Publisher: release-pypi.yml on OpenRAL/openral

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openral_wam-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: openral_wam-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openral_wam-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2f76b7eba49db3a1fb5775e119f31bfd455cd88613917a53bd03dca08031f99
MD5 944e581d72b7336df219f2dca08b6f79
BLAKE2b-256 e5ee09ba928a464cfcf2181d4f4a0bb3e7a5c299dac644dffd39cc5f37d5d771

See more details on using hashes here.

Provenance

The following attestation bundles were made for openral_wam-0.2.0-py3-none-any.whl:

Publisher: release-pypi.yml on OpenRAL/openral

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.3.1

2 files

0.3.0

2 files

This release

0.2.0 This release

2 files

0.1.0

1 file

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