Core Concepts
Multi-Step Rollbacks
Undo earlier steps in a multi-tool execution batch if a subsequent step fails.
When a model calls several tools in one turn — reserve a seat, then charge a card — a failure on step two can leave step one’s side effects in place. kenpachi implements saga-style rollback: register an undo in each tool, and if a later tool in the same batch fails, undos run in reverse order.