Measuring Session State Recovery for Crashed LLM Agents · Sahil Suneja, Evaline Ju, Maia Iyer, Malgorzata Steinder and Fabio Oliveira, IBM Research · arXiv, November 30, 2026
A saved transcript with tool results brought crashed agents back exactly
The team ran 50 tasks each from TauBench and AppWorld on a self-hosted Gemma-4-26B-A4B model, configured so repeated runs gave identical results. They killed the agent at 25%, 50% and 75% of each task's LLM calls. Resumed from a transcript holding every message, tool call and tool result, every run matched its uninterrupted baseline in outcome, token count and the order of its LLM calls.
Resumed without the transcript, agents passed 78% of TauBench runs and 95% of AppWorld runs. The runs that passed used 22 to 25% more tokens and 32 to 38% more LLM calls. On TauBench, moving the crash from 25% to 75% of the task cut the pass rate from 84% to 74% and raised the token penalty from 17% to 35%. On AppWorld the restarted agent spent about 108K tokens after the crash at every depth, roughly the cost of the whole task. It was redoing everything. All 33 TauBench failures traced to lost dialogue, such as a refusal the user had already given or a plan already agreed. A changed world played a part in only 2, and resetting the world did not help.
A VM snapshot also recovered faithfully, but in the authors' unoptimized setup it took 1.6 GB, against 58 to 105 KB for the transcript. They argue its correctness edge at the moment of the crash disappears when the platform stores each tool result before handing it to the agent and redelivers it on resume. The limits are stated: one model, tasks averaging 13 to 14 LLM calls, and work state that lives in services rather than on local disk. The authors point to other work in which transcript-only recovery did far worse on shell and code-repair tasks, where state sits in the filesystem. Their summary: "Whether conversation-level recovery suffices is therefore a property of the workload, in particular of whether its work state lives outside the agent."
Why it matters: If your factory restarts agent sessions after a crash, check that the saved history includes tool results and that results are persisted before the agent receives them. Then check where each job keeps its work. For coding agents, an uncommitted working tree is outside the transcript, and these results do not cover it.