Measuring Session State Recovery for Crashed LLM Agents

When an LLM agent's session crashes, resuming it requires restoring part of its state, but which state, and how completely it must be preserved, has not been systematically measured. We inject crashes into agents on two tool-calling benchmarks, TauBench and AppWorld, under a self-hosted inference configuration verified to be deterministic, and resume each crashed agent with and without a conversation snapshot. Crashes occur at LLM call boundaries, and tool results that reach the platform are persisted and delivered on resume. Under these conditions, restoring a conversation snapshot that includes tool results recovers losslessly at every crash depth, reproducing each uninterrupted run's outcome, token count, and sequence of LLM calls. Without it, recovery passes 78% of TauBench and 95% of AppWorld runs and costs 22--25% more tokens when it succeeds, with the cost growing the later in the task the crash occurs. Most of that cost is re-work, as the resumed agent repeats what its predecessor had already done. Its failures stem from information that existed only in the lost dialogue rather than from a world the crashed agent had modified, and resetting the world does not help. On tasks that fail even without a crash, a history-free restart sometimes succeeds, by abandoning the failing trajectory. A VM snapshot also recovers faithfully, but its correctness advantage at the crash boundary depends on when tool results are persisted rather than on the snapshot mechanism. What it preserves beyond the conversation is work never recorded in a tool result, which a conversation snapshot must usually re-execute. Whether conversation-level recovery suffices is therefore a property of the workload, in particular of whether its work state lives outside the agent.

Authors

Publication Details

Journal
arXiv
Published
2026-11-30
Primary Topic
Distributed systems and fault tolerance
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Measuring Session State Recovery for Crashed LLM Agents

Maia Iyer, Sahil Suneja, Evaline Ju, Fabio Oliveira et al.
arXiv
Distributed systems and fault tolerance
preprint

Measuring Session State Recovery for Crashed LLM Agents

Maia Iyer, Sahil Suneja, Evaline Ju, Fabio Oliveira, Malgorzata Steinder
preprint en

Abstract

When an LLM agent's session crashes, resuming it requires restoring part of its state, but which state, and how completely it must be preserved, has not been systematically measured. We inject crashes into agents on two tool-calling benchmarks, TauBench and AppWorld, under a self-hosted inference configuration verified to be deterministic, and resume each crashed agent with and without a conversation snapshot. Crashes occur at LLM call boundaries, and tool results that reach the platform are persisted and delivered on resume. Under these conditions, restoring a conversation snapshot that includes tool results recovers losslessly at every crash depth, reproducing each uninterrupted run's outcome, token count, and sequence of LLM calls. Without it, recovery passes 78% of TauBench and 95% of AppWorld runs and costs 22--25% more tokens when it succeeds, with the cost growing the later in the task the crash occurs. Most of that cost is re-work, as the resumed agent repeats what its predecessor had already done. Its failures stem from information that existed only in the lost dialogue rather than from a world the crashed agent had modified, and resetting the world does not help. On tasks that fail even without a crash, a history-free restart sometimes succeeds, by abandoning the failing trajectory. A VM snapshot also recovers faithfully, but its correctness advantage at the crash boundary depends on when tool results are persisted rather than on the snapshot mechanism. What it preserves beyond the conversation is work never recorded in a tool result, which a conversation snapshot must usually re-execute. Whether conversation-level recovery suffices is therefore a property of the workload, in particular of whether its work state lives outside the agent.

arXiv
Distributed systems and fault tolerance
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon