In the world of LLM agents, we’ve gotten very good at measuring "clean runs"—the ability of an agent to solve a task from start to finish in a vacuum. But real-world deployment is messy. Users intervene, tools fail, and context windows overflow. When an agent is interrupted, can it actually recover?
A new paper from Stanford researcher Aryan Gulati introduces ContinuityBench, a framework designed to move beyond "task realism" toward "operational realism" by testing how well agents resume partially completed work.
TL;DR
ContinuityBench is a benchmark-agnostic framework that evaluates how LLM agents recover from interruptions by varying the "handoff" context they receive upon resumption. The study reveals a startling 13.7% drop in success rates when agents are interrupted and finds that providing more context (full action history) often performs worse than a concise summary.
What Problem Does This Paper Address?
Most current agent benchmarks (like WebArena or AppWorld) evaluate agents on uninterrupted trajectories. However, in production, agents are frequently stopped and started due to user feedback, system timeouts, or tool errors.
The authors argue that task realism (how hard the job is) has outpaced operational realism (how the agent handles the friction of a live environment). There is currently no standardized way to measure "continuity"—the ability of an agent to remain a coherent participant in a task after a break. Without this, we risk deploying agents that are "brittle at the seams," failing not because the task is too hard, but because they lose their place.
Methods
ContinuityBench doesn't create new tasks; instead, it acts as a "wrapper" for existing step-based benchmarks. The protocol follows four key stages:
- Baseline Run: The agent completes a task uninterrupted to establish a "ground truth" success rate.
- Controlled Interruption: The framework stops the agent at specific, evenly spaced points in its progress.
- Handoff Construction: The resumed agent is given one of three "handoff" signals:
- h0 (Minimal): A simple cue that it was interrupted, with no prior context.
- h1 (Summary): A structured, programmatic summary of completed actions, tools used, and key entities identified.
- h2 (Richer): The h1 summary plus the full step-by-step action history.
- Resumption & Evaluation: The agent resumes from the exact live environment state where it left off. Success is measured using the original benchmark's evaluator, while "recovery behavior" is analyzed via normalized execution traces.
Datasets
The authors instantiated ContinuityBench across three diverse, high-difficulty benchmarks:
- $\tau$-bench: Focused on conversational tool use and customer support.
- AppWorld: Multi-app digital tasks requiring complex API interactions and code generation.
- TerminalBench: Hard command-line tasks in a Linux environment.
The framework was tested using two frontier models: GPT-5.1 and Gemini 3 Flash (as referenced in the 2026-dated paper).
Key Insights and Ideas
- The "Context Paradox": You might assume that giving an agent its full history (h2) would lead to the best recovery. It doesn't. The summary handoff (h1) outperformed the full history in 11 out of 18 test settings.
- Over-steering: Why does more context hurt? The authors found that full histories often carry forward "misleading frames" or "brittle intermediate states." An agent might get stuck trying to justify a previous mistake or follow an outdated plan rather than looking at the current environment state with fresh eyes.
- Recovery Churn: In environments like AppWorld, agents often fail because they spend their entire remaining "budget" (steps/time) re-authenticating or re-discovering APIs they already used, never actually reaching the final goal.
- Frame Drift: In conversational tasks, interrupted agents often forget the intent of the interaction. For example, an agent might know it needs to update an address, but forgets it was supposed to be a "one-field edit" and accidentally erases the rest of the user's profile.
Key Results
- Systematic Degradation: Across all benchmarks and models, interruption caused average task success to plummet from 41.7% to 28.0%.
- Non-Monotonic Fidelity: The "Goldilocks" zone for handoffs is the structured summary. Minimal context (h0) achieved 25.6% success, while the summary (h1) hit 30.6%. Adding full history (h2) actually dragged performance back down to 27.8%.
- Model Sensitivity: Even top-tier models like GPT-5.1 saw massive drops (from 44.4% to 29.6% success) when forced to resume from an interrupted state.
Limitations and Future Work
The authors acknowledge several "clean" experimental constraints that don't yet match the chaos of real-world deployment:
- Clean Breaks: Interruptions currently only happen at "step boundaries," not in the middle of a long-running shell command or tool call.
- Static Environments: The environment state remains "frozen" during the interruption, ignoring the possibility of concurrent human edits or external service failures.
- Empirical Scope: The study used a relatively small sample of 30 tasks per benchmark.
Future Directions: The team suggests developing "learned summaries" (where an LLM decides what to hand off) and "finer-grained continuity metrics" that specifically penalize rework and duplicate actions, rather than just looking at final success or failure.
Summary updated