Replay and improve
Replay a real agent run with one thing changed to see what would have happened, then scale the winning change across recent runs.
You start with a recorded run
exec = flow.run(task="triage ticket 4821").wait()
print(exec.exec_id) # e.g. "exec_9f3a1c"Rerun: reproduce the run with no change
rerun = flow.replay(exec.exec_id, from_="decide")Replay: change exactly one thing
forked = flow.replay(
exec.exec_id,
from_="decide",
model="openai:gpt-5-nano",
prompt_profile="trimmed_permissions",
)Diff: did the decision move?
The CLI equivalent
Why three runs, not two
Run
What it is
Role
Improve: scale the decision across a cohort
Let an agent drive it
Last updated
Was this helpful?