Two big use cases
- Guarding deploys — every Flow change runs against a regression dataset. If simulation fails, the deploy is blocked.
- Comparing Improvements — two candidate fixes, one dataset, side-by-side. Pick the winner.
What simulation runs
Any of:- A Flow version — the whole workflow, end-to-end.
- A Draft state — your unpublished changes.
- An Improvement candidate — a proposal from the Improvement flow.
- An arbitrary variant — e.g., “same Flow but with model X”.
What you get
Run a simulation
Kick one off from the app or CLI.
Before/after
Side-by-side comparison with the current version.
Cost vs. quality
The tradeoff frontier — smaller model but lower quality?
Regression checks
Did the change break anything that used to work?
Baselines
Pin a version as the reference to compare against.
Speed and cost
Simulation runs one dataset example per Agent invocation, in parallel. Speed:- 50 examples on a fast model: ~30-60 seconds.
- 500 examples: 5-10 minutes.
- 5000 examples: 30-60 minutes.
When simulation isn’t enough
Simulation runs against known examples with known expected outputs. It can’t:- Predict how new traffic (unseen intents) will land.
- Catch quality issues that require deep human judgment.
- Model interactions between multiple Agents talking to each other.