arXiv:2610.01160cs.DCOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.01160

Serving a Revisable World: Versioned Execution for Interruptible Agents

Yanxin Zhang, Rahul Sharma, Nitin Vegesna, Zheyu Fu, Chang Liu, Trivikram Krishnamurthy

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

LLM agents revise running tasks when users change instructions, tools fail, or new information changes a plan. Today's servers express a revision as aborting old requests and submitting replacements. Yet the old execution's buffered output and outstanding work must stop affecting the application, while completed KV state may still be useful to its replacement. Handling these obligations separately can leave obsolete effects publishable and force the successor to rebuild valid state.

We present RETIRE, a serving control-plane redesign around versioned execution. Requests own scheduling and memory resources; execution versions own authority, the permission to publish output or install state for the current execution. RETIRE first revokes obsolete work, then bounds its remaining execution and certifies the completed prefix its successor can inherit. The successor runs from that state while isolated old resources are reclaimed asynchronously. This unifies fast invalidation and selective preservation in one version transition.

We implement RETIRE in vLLM across output publication, GPU execution, KV handoff, tiered recovery, and distributed and multi-tenant serving. Correctness experiments verify current-version output and valid state inheritance across these paths. Combining invalidation with inheritance reduces revision-to-successor time-to-first-token by a median 17.1% in controlled paired experiments. A replay of recorded coding-agent interruption arrivals emits no obsolete output and keeps every final version progressing through repeated revisions. RETIRE turns abort-and-restart into a coordinated handoff that stops obsolete work quickly and preserves useful work for its successor.

1 INTRODUCTION

Consider a coding agent implementing an API change. While the model is processing repository context, the user asks it to keep the existing API and change only the implementation. The agent runtime replaces the plan. Output buffered for the abandoned plan must no longer reach the user, and its remaining model work has become obsolete. Yet the repository context shared by both plans still has value: its completed KV prefix can accelerate the revised execution. One interruption therefore asks the server to stop obsolete work and preserve useful work at the same time.

Such revisions are a normal part of agent execution. A tool failure can invalidate a plan, and a fresh observation can replace the assumptions behind ongoing reasoning. The agent runtime chooses the response and constructs the revised context. Here, authority means permission for output or state updates to affect the application or the successor. Once the runtime decides to replace live work, the server must carry out one decision:

Revoke the old execution’s authority and let its successor take over from the state that remains valid.

We call the replacement of a live execution an agent interruption. Figure 1 shows the division of responsibility: the runtime selects what replaces the old execution; the server enforces that selection across output, computation, and memory. This requires a serving abstraction that represents both the authority change and the state shared across it.

Requests allocate resources; versions determine authority. A request tells the server what to schedule and which resources to account for. An execution version tells it which results may still become visible. A scope groups the work that the runtime replaces together, including multiple requests when they belong to the same abandoned plan. Once that plan is replaced, its requests can still own buffers and GPU allocations even though their results have lost authority. Conversely, their completed common-prefix state can remain useful to the successor.

Corresponding author: Yanxin Zhang yanxinz@nvidia.com.

Serving a Revisable World

Figure

Figure 1. The runtime selects the revised context. One execution-version authority then governs its effects across the serving stack.

The request-centric serving stack couples these roles. It admits, schedules, streams, and accounts for KV ownership by request or sequence. PagedAttention makes the resource unit concrete: each active sequence has a logical block table, even when physical blocks are shared (Kwon et al., 2023). Aborting a request changes its scheduling status, but the revision also has to reach output already queued for delivery, GPU work already issued, and state registered for reuse or transfer. Caching and tiering extend those objects' lifetimes and increase the value of coordinating their handoff (Zheng et al., 2024; Gao et al., 2024; Yu et al., 2025; Gao et al., 2025; Qin et al., 2025).

A revision can pay twice. Coarse abort-and-restart spends time on work that has become obsolete, then repeats useful work when the successor starts cold. Figure 2 shows the two delays: waiting for the predecessor to reach a stopping boundary, and rebuilding the shared prefix. Faster retirement reduces the first delay; keeping a valid prefix reduces the second. Reusing that prefix requires a writer and ownership boundary so old work cannot subsequently alter it. The serving system must coordinate cancellation and preservation around the same version decision.

The consequences appear at multiple boundaries in vLLM. Across 18 request-abort trials, consumers receive 170 predecessor tokens in aggregate after supersession. A long-prefill replacement waits 3.21 seconds for the next server boundary. State handoff adds a third obligation: selecting the completed prefix whose contents and ownership remain valid. Together, these observations motivate a control plane that makes one version decision govern publication, retirement, and inheritance.

A versioned handoff. We present RETIRE, a redesign of the serving control plane around versioned execution. RETIRE first makes obsolete work unable to publish new effects, then hands its successor only state that satisfies the reuse contract. Its organizing rule is revoke first, preserve second. ADVANCE revokes the old version; FENCE bounds its remaining work and closes writers; ALIGN certifies the reusable prefix; RESUME launches the successor; and RECLAIM releases isolated old resources asynchronously. Reclamation stays off the successor's critical path because those resources no longer determine its output or state.

We implement this authority boundary throughout vLLM, from output publication and GPU execution to KV installation, state transfer, and reclamation. The evaluation first establishes correct publication, inheritance, and tenant isolation. Combining fast invalidation with certified inheritance then lowers paired revision-to-successor TTFT by a median 17.1% over native abort and cold restart. Under intervening HBM churn, certified retention accelerates post-churn recovery by up to 6.87×/5.07×6.87 \times /5.07 \times on H100 PCIe/GB200.

Finally, replaying recorded coding-agent interruption bursts, RETIRE publishes no obsolete output, advances every final version, and delivers 5.53×5.53 \times the current-version output per second of the best tested native quantum. Distributed and co-tenant experiments extend the same boundary across workers and shared resources. Versioned execution supports both faster handoff and continued progress when another revision arrives before cleanup ends.

This paper makes three contributions:

• Workload abstraction. We define revisable execution through version transitions and characterize their pressure, retirement horizon, reusable state, and scope width.

• Serving redesign. We separate request resource ownership from execution-version authority and coordinate fast invalidation, certified inheritance, and asynchronous reclamation in RETIRE.

• Implementation and evidence. We realize the design across the vLLM serving lifecycle and establish correctness, faster recovery, and sustained progress under recorded bursts, distributed execution, and tenant sharing.

References (15)