Planarian is an agent runtime that introduces statepoints: consistent, restorable point-in-time versions of an environment's state. It gives agents and users three primitives: snapshot captures local files, processes, and remote changes; rollback restores a prior statepoint; and fork creates isolated branches for parallel exploration. Local state is captured with incremental process and file system snapshots, while remote changes are undone by recording compensating actions, so external services do not need checkpoint support.
The key result is that agents can undo mistakes and try alternatives in parallel, improving task quality by up to 15x. Users can also recover from erroneous actions with only 3% overhead. This is interesting because current lack a unified way to manage local and remote state consistently, which limits safe recovery and exploration.