---
title: "world_model_build"
description: "Construct a structured world model for a domain (real or digital) with dynamics and uncertainty."
canonical: "https://acs.synapti.ai/workflows/world-model-build/"
last_updated: "2026-11-16T03:28:14Z"
---

# Construct a structured world model for a domain (real or digital) with dynamics and uncertainty.

Generated from [schemas/workflow_catalog.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/workflow_catalog.yaml) at commit 18c38b74ac21.

- Workflow id: `world_model_build`
- Risk: low
- Catalog: reference workflows
- Declares Standard 1.1.0
- Steps: 13

**Figure: Steps of world_model_build: 13 steps.** Read top to bottom: no step changes state; step 2 says what to do on failure; and the highest step risk is low, at steps 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 and 13.

| # | Capability | Layer | Role | Gates | On failure | Reads from | Risk |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | `retrieve` | PERCEIVE |  |  |  |  | low |
| 2 | `observe` | PERCEIVE |  |  | request_more_context |  | low |
| 3 | `detect` | UNDERSTAND |  |  |  | 1 | low |
| 4 | `classify` | UNDERSTAND |  |  |  | 3 | low |
| 5 | `integrate` | SYNTHESIZE |  |  |  | 3, 4 | low |
| 6 | `state` | MODEL |  |  |  | 5 | low |
| 7 | `transition` | MODEL |  |  |  | 6 | low |
| 8 | `attribute` | MODEL |  |  |  | 7 | low |
| 9 | `measure` | UNDERSTAND |  |  |  | 6 | low |
| 10 | `audit` | VERIFY |  |  |  | 6 | low |
| 11 | `ground` | MODEL |  |  |  |  | low |
| 12 | `simulate` | MODEL |  |  |  | 6, 7 | low |
| 13 | `explain` | REASON |  |  |  | 6, 11, 12 | low |

## Inputs

**Figure: Inputs of world_model_build.** 3 inputs, 0 required (filled pin) and 3 optional (outlined pin), with 2 named fields inside them.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `user_input` | object | No |  |
| `user_input.domain` | string | No |  |
| `user_input.constraints` | object | No |  |
| `previous_world_state` | object | No |  |
| `world_state_out` | object | No |  |

## Steps

1. [`retrieve`](https://acs.synapti.ai/capabilities/retrieve/index.md): Collect authoritative domain sources and constraints. Stores `retrieve_out`. (risk low)
2. [`observe`](https://acs.synapti.ai/capabilities/observe/index.md): Observe current system/world artifacts (docs, logs, sensors). Stores `observe_out`. (risk low)
3. [`detect`](https://acs.synapti.ai/capabilities/detect/index.md): Detect entities across sources. Stores `detect_out`. (risk low)
4. [`classify`](https://acs.synapti.ai/capabilities/classify/index.md): Classify detected entities and resolve types. Stores `classify_out`. (risk low)
5. [`integrate`](https://acs.synapti.ai/capabilities/integrate/index.md): Merge entity data and resolve identity across sources. Stores `integrate_out`. (risk low)
6. [`state`](https://acs.synapti.ai/capabilities/state/index.md): Define state variables and current estimates. Stores `state_out`. (risk low)
7. [`transition`](https://acs.synapti.ai/capabilities/transition/index.md): Define dynamics: transitions, triggers, guards. Stores `transition_out`. (risk low)
8. [`attribute`](https://acs.synapti.ai/capabilities/attribute/index.md): Define causal assumptions and intervention effects. Stores `attribute_out`. (risk low)
9. [`measure`](https://acs.synapti.ai/capabilities/measure/index.md): Attach uncertainty types and confidence. Stores `measure_out`. (risk low)
10. [`audit`](https://acs.synapti.ai/capabilities/audit/index.md): Establish lineage for claims and transformations. Stores `audit_out`. (risk low)
11. [`ground`](https://acs.synapti.ai/capabilities/ground/index.md): Anchor each model element to evidence references. Stores `ground_out`. (risk low)
12. [`simulate`](https://acs.synapti.ai/capabilities/simulate/index.md): Run scenarios to stress-test model and identify fragility. Stores `simulate_out`. (risk low)
13. [`explain`](https://acs.synapti.ai/capabilities/explain/index.md): Produce a decision-ready world model brief. Stores `explain_out`. (risk low)

## Data flow

**Figure: Which step reads which stored output.** 10 steps read the output of earlier steps, 14 reads in all; step 13 (explain) reads the most, from 3 steps.

- Step 3 reads from step 1.
- Step 4 reads from step 3.
- Step 5 reads from steps 3 and 4.
- Step 6 reads from step 5.
- Step 7 reads from step 6.
- Step 8 reads from step 7.
- Step 9 reads from step 6.
- Step 10 reads from step 6.
- Step 12 reads from steps 6 and 7.
- Step 13 reads from steps 6, 11 and 12.

## Risk

Declared, computed and highest step risk are all low; the highest-risk step is step 1 (retrieve), with 12 others at the same level. The step map above gives each step's risk.

## Success criteria

- Model is structured (YAML/JSON)
- Every claim is grounded
- Uncertainty explicitly represented
- Scenario results provided

## Related

- Invoked by [`digital_twin_bootstrap`](https://acs.synapti.ai/workflows/digital-twin-bootstrap/index.md)

## Validate it

```sh
python tools/validate_workflows.py --catalog schemas/workflow_catalog.yaml
```

## Workflow YAML

```yaml
world_model_build:
  goal: Construct a structured world model for a domain (real or digital) with dynamics and uncertainty.
  risk: low
  steps:
  - capability: retrieve
    purpose: Collect authoritative domain sources and constraints.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: retrieve_out
    input_bindings:
      target: "${user_input.domain}"
    failure_modes: []
  - capability: observe
    purpose: Observe current system/world artifacts (docs, logs, sensors).
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: observe_out
    input_bindings:
      target: "${user_input.domain}"
    failure_modes:
    - condition: No relevant signals found
      when: "${observe_out.observation} == {}"
      action: request_more_context
      recovery: Ask for reproduction steps or additional artifacts.
  - capability: detect
    purpose: Detect entities across sources.
    domain: entity
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: detect_out
    input_bindings:
      data: "${retrieve_out.data: object}"
      pattern: "entity"
    failure_modes: []
  - capability: classify
    purpose: Classify detected entities and resolve types.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: classify_out
    input_bindings:
      item: "${detect_out.matches: array<object>}"
    failure_modes: []
  - capability: integrate
    purpose: Merge entity data and resolve identity across sources.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: integrate_out
    input_bindings:
      sources: ["${detect_out.matches: array<object>}", "${classify_out.labels: array<object>}"]
    failure_modes: []
  - capability: state
    purpose: Define state variables and current estimates.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: state_out
    input_bindings:
      scope: "${user_input.domain}"
      observations: "${integrate_out.merged: object}"
    failure_modes: []
  - capability: transition
    purpose: 'Define dynamics: transitions, triggers, guards.'
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: transition_out
    input_bindings:
      from_state: "${state_out.state: object}"
    failure_modes: []
  - capability: attribute
    purpose: Define causal assumptions and intervention effects.
    domain: causation
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: attribute_out
    input_bindings:
      effect: "${transition_out.effects: array<object>}"
    failure_modes: []
  - capability: measure
    purpose: Attach uncertainty types and confidence.
    domain: uncertainty
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: measure_out
    input_bindings:
      target: "${state_out.state: object}"
      metric: "uncertainty"
    failure_modes: []
  - capability: audit
    purpose: Establish lineage for claims and transformations.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: audit_out
    input_bindings:
      event:
        type: "world_model_build"
        domain: "${user_input.domain}"
        entities: "${state_out.entities: array<object>}"
    failure_modes: []
  - capability: ground
    purpose: Anchor each model element to evidence references.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: ground_out
    input_bindings:
      claim: "The states, transitions and causes of the ${user_input.domain} model are supported by the retrieved sources"
    failure_modes: []
  - capability: simulate
    purpose: Run scenarios to stress-test model and identify fragility.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: simulate_out
    input_bindings:
      scenario:
        state: "${state_out.state: object}"
        rules: "${transition_out.rules: array<object>}"
    failure_modes: []
  - capability: explain
    purpose: Produce a decision-ready world model brief.
    risk: low
    mutation: false
    requires_checkpoint: false
    requires_approval: false
    timeout: null
    retry: null
    store_as: explain_out
    input_bindings:
      conclusion:
        model: "${state_out.state: object}"
        grounded: "${ground_out.grounded}"
        scenarios: "${simulate_out.outcomes: array<object>}"
    failure_modes: []
  success:
  - Model is structured (YAML/JSON)
  - Every claim is grounded
  - Uncertainty explicitly represented
  - Scenario results provided
  risk_propagation:
    strategy: max_step_risk
    computed_risk: low
  data_flow:
    pattern: step_outputs_are_addressable
    rule: Each step output is stored under store_as and may be referenced by later steps.
  inputs:
    user_input:
      type: object
      properties:
        domain:
          type: string
        constraints:
          type: object
    previous_world_state:
      type: object
      ref: schemas/world_state_schema.yaml#/world_state
    world_state_out:
      type: object
      ref: schemas/world_state_schema.yaml#/world_state
```
