Skip to content

WorldModel

The WorldModel primitive defines an optional predictive planning surface that an agent can use to simulate consequences, estimate risk, and compare candidate actions before acting. It is distinct from Memory: Memory preserves and retrieves past state, while WorldModel generates bounded expectations about possible future states.

URI pattern: claw://local/world-model/{name}


claw: "0.3.0"
kind: WorldModel
metadata:
name: "environment-model"
version: "1.0.0"
spec:
paradigm: "hybrid" # "implicit" | "explicit" | "simulator" | "hybrid"
scope: "agent-wide" # "agent-wide" | "task-scoped"
memory_ref: "hybrid-memory"
backend:
type: "tool" # "tool" | "provider" | "custom"
ref: "environment-simulator"
predicts:
state: true
observation: true
risk: true
cost: true
planning:
horizon: "adaptive" # "adaptive" | "bounded" | "fixed"
uncertainty_mode: "bounded" # "none" | "bounded" | "calibrated"
fallback: "conservative" # "conservative" | "retry" | "escalate"
update:
mode: "online" # "online" | "batch" | "hybrid"
evidence: "observations" # "observations" | "observations+outcomes"
constraints:
policy_ref: "planning-policy"

FieldRequiredDescription
paradigmYesPredictive style: implicit, explicit, simulator, or hybrid.
scopeNoPlanning scope: agent-wide or task-scoped. Defaults to agent-wide.
memory_refNoOptional reference to a declared Memory primitive that grounds planning.
backendYesPrediction backend and target reference. Must include type and ref.
predictsNoDeclares what the world model tries to estimate (state, observation, risk, cost).
planningNoPolicy-like planning hints: horizon, uncertainty handling, fallback behavior.
updateNoHow the world model incorporates experience over time.
constraintsNoOptional policy binding for budget, safety, or simulation-side effects.

ParadigmDescription
implicitPredicts latent future state without reconstructing full observations.
explicitPredicts observations or environment snapshots directly.
simulatorDelegates future-state generation to an external simulator or environment tool.
hybridCombines latent prediction, simulators, rules, or model calls.

  • The backend object is REQUIRED and MUST contain both type and ref.
  • If memory_ref is present, it MUST resolve to a declared Memory primitive.
  • If constraints.policy_ref is present, it MUST resolve to a declared Policy primitive.
  • scope defaults to agent-wide when omitted.
  • WorldModel is OPTIONAL at all conformance levels. Runtimes that do not implement predictive planning MAY ignore this primitive after validation.

  • Skill may reference a world model through world_model_ref.
  • Memory may ground planning through memory_ref.
  • Policy may constrain expensive or risky simulations through constraints.policy_ref.

That separation is intentional. A world model is not a one-off skill and it is not just another memory store. It is a reusable planning surface that multiple skills can share.


CKP 0.3.0 introduces WorldModel as an optional primitive instead of burying predictive planning inside prompt text or tying it to a single workflow. This keeps planning reusable, declarative, and separable from execution. It also lets runtimes expose predictive planning without introducing new JSON-RPC methods in this release.