What is fork (branching)?
Answer in brief
Creating one or more copies of a running sandbox from a snapshot so several agent attempts can proceed in parallel from the same state.
Fork (branching) in agent sandboxes
Forking is useful for tree search, best-of-N sampling, reinforcement-learning rollouts and evaluations: set up the environment once, then branch it many times and compare outcomes.
Cite this page
Agent Sandboxes. (2026). What is fork (branching)?. agentsandboxes.org. Last reviewed November 8, 2026. https://agentsandboxes.org/glossary/fork/
Found an error or a missing sandbox? Submit a correction — every entry links to the sources it relies on.