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.3.0.tar.gz (7.5 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.3.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openral_wam-0.3.0.tar.gz
  • Upload date:
  • Size: 7.5 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.3.0.tar.gz
Algorithm Hash digest
SHA256 242361e109818cd0626acdee5bc641877b5ce527d75b6c5ab6938b989eaf2edb
MD5 cb7ce213867d721c7f92973605ade5b2
BLAKE2b-256 48ead0306075991e4576807df4cd2f917c27fe5ac1aa9bba70cf0cf6cab6408e

See more details on using hashes here.

Provenance

The following attestation bundles were made for openral_wam-0.3.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: openral_wam-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 860bb8be894f15a32fe7cb508f11f482d592314aac0d733babb713501d10a918
MD5 7338338775feb8cc85c3182ee1715288
BLAKE2b-256 e3ac406e012556e9c222f24199dd10565e878949235faab6393c856b9a4ed49a

See more details on using hashes here.

Provenance

The following attestation bundles were made for openral_wam-0.3.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

This release

0.3.0 This release

2 files

0.2.0

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