Home / Glossary / durable execution

durable execution

Writing agent code as if failure did not exist and letting a runtime make the fiction true: the result of every model call and tool call is recorded in an append-only journal, and on recovery the code re-executes from the top, with journaled steps returning their recorded values instead of running again. The code replays; the world does not (Chapter 18).