-
-
Notifications
You must be signed in to change notification settings - Fork 3
Simulation Sandbox Cookbook
GD2BK1NG edited this page Jan 27, 2026
·
1 revision
Practical patterns for counterfactual reasoning and plan validation
The Simulation Sandbox is one of Syntra Kernel’s most powerful tools.
This cookbook provides practical examples and patterns for using it effectively.
sandbox.simulate:
plan: "purchase_item"
branches: 3
Returns:
- predicted outcomes
- risk scores
- branch traces
sandbox.simulate:
plan: "checkout"
mode: "deterministic"
sandbox.simulate:
plan: "checkout"
mode: "probabilistic"
branches: 10
sandbox.simulate:
plan: "team_navigation"
agents: ["planner", "navigator"]
sandbox.counterfactual:
modify: "user_budget = 10"
plan: "purchase_item"
sandbox.counterfactual:
remove_entity: "button#submit"
Each branch returns:
risk:
safety: 0.12
failure: 0.08
uncertainty: 0.21
ts.query:
filter: event_type == "simulation_branch"
world.snapshot.load:
id: "snapshot_42"
The Sandbox enables:
- safe experimentation
- predictive reasoning
- counterfactual exploration
- plan validation
- evolutionary testing
It is essential for safe cognition.