Skip to content →
Build a worldScenarios and controls
GitHub
Build a world

Scenarios and controls

Tune population, time, pressure, message volume, decision mode, and transports.

Configuration

FieldRange or valuesEffect
profileCount2–60Number of actors seeded into the world
randomSeed1–999,999Repeatable source for seeded and tick behavior
speedMinutes5–240Simulated minutes per tick
appointmentPressure0–1Intensity of appointment demand
messageVolume0–1Intensity of organic messages
evaluatorModedeterministic, ask-human, ask-aiHow organic decisions are resolved
aiEnabledbooleanWhether Claude may generate messages and decisions
transportsmechanism per capabilityWhere booking, messaging, and cancellation execute

Scenarios

The scenario is a named behavioral context carried into the world and AI prompts.

  • quiet-morning starts with lighter operational demand.
  • winter-pressure represents a busier, more strained care context.
  • follow-up-backlog emphasizes waiting and unresolved work.
  • mixed-reality is the broad default.

Deterministic runs

Use the same random seed, configuration, and sequence of inputs to reproduce pure simulation behavior. For strict comparisons, disable AI because external model output is not guaranteed to repeat.

Reset a repeatable world
curl -X POST http://localhost:3000/api/simulation \
  -H 'Content-Type: application/json' \
  -d '{"config":{"randomSeed":7331,"aiEnabled":false,"evaluatorMode":"deterministic"}}'

Changing a world

Patch in place

PATCH /api/simulation merges configuration into the current state. Nested transports are merged so changing one mechanism does not reset the other two.

Reset and reseed

POST /api/simulation validates a complete configuration with defaults, seeds a new world, and replaces the current state. Use this for profile count, seed, organizations, or location changes that should start cleanly.