Manuscript Offprint
arXiv:2610.34620Built to Remember, Shipped to Forget: Operational Contracts, Failures, and Repairs in Containerized LLM Agent Deployments
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Meriem Mastouri
University of North Carolina Wilmington
Wilmington, NC, USA
Emna Ksontini
University of North Carolina Wilmington
Wilmington, NC, USA
Amine Barrak
Oakland University
Rochester, MI, USA
Abstract—LLM agent systems reach production as container images run by platforms such as Docker, Compose, and Kubernetes. Framework and platform document opposite expectations: to the platform a container is disposable, while the framework persists conversations, pauses runs for human input, and resumes interrupted work from saved state; each side specifies only its own behavior, so the obligations their composition creates are stated nowhere. We present the first empirical study of this boundary, stating these obligations as operational contracts: guarantees a deployment must provide to preserve an agent system's required behavior when a deployment-platform event occurs. From the first-party documentation of LangGraph and the three platforms we derive 14 contracts and evaluate them with three independent sources of evidence: 433 deployed open-source agent systems, seven events induced on 12 of them, and 122 developer repairs mined from 39,261 commits, pull requests, and issues. At least one contract applies to 75.5% of the systems, yet its guarantee is routinely missing: of systems that must keep state beyond the process, 37.4% lose it to a restart and 41.5% to a container replacement, and every assessable deployment stops the framework's production server mid-drain. Induced events turn 14 of 16 predicted violations into runtime failures and all seven predicted holds pass. The failures are born in deployment but repaired in code: developer repairs independently cover twelve of the fourteen contracts, 78% change application code, and only two in three fully restore the violated guarantee. The 14-contract catalogue, detection rules, fault-injection harness, and 35-pattern repair taxonomy provide a basis for checking and strengthening agent deployments.
Index Terms—LLM agents, LangGraph, containerization, failure, fault injection, mining software repositories
I. INTRODUCTION
Industry surveys report that a majority of organizations are adopting LLM agents, with over a third already running them in production [1], [2]. An agent system is an application in which an LLM plans, calls tools, and acts over multiple steps on a user's behalf, and it reaches its users the way any service does: packaged as a container image and operated by a platform such as Docker, Compose, or Kubernetes [3], [4]. Agent frameworks endorse this path and instruct developers to package agents as Docker images [5]. Yet empirical studies of agent development consistently rank deployment among its hardest steps [6], [7].
One reason is that the platform and the framework document opposite expectations about the running container. To the platform, the container is disposable, designed to be stopped and replaced during normal operation, with nothing of lasting value inside: a stop sends SIGTERM and kills the process after a grace period of ten seconds by default [8], an update replaces the container and discards its writable filesystem [9], [10], and anything that must survive these events is expected to live in volumes outside it [11], [12]. To the framework, execution is anything but disposable: agents carry conversations across requests through a checkpointer [13], pauses a run indefinitely until a person approves the next action [14], and resumes interrupted work from saved state, and warns that resumption may re-execute steps completed before the interruption [15], potentially repeating external actions such as sending an email, charging a payment, or provisioning a cloud resource. Each side specifies only its own layer, so whether a deployed agent satisfies both at once is settled by its artifacts.
Research has approached this junction from two directions. Empirical studies of deployment artifacts quantify defects, smells, and misconfigurations in Dockerfiles, Compose files, and infrastructure-as-code, and build detectors for them [16]–[21]; the rules they check encode platform best practices that apply to any containerized service, independent of the application inside. Empirical studies of LLM and agent applications characterize bugs, failures, and development challenges within the application [6], [7], [22]–[24]. However, no work identifies the obligations that arise only when one layer's requirements are composed with the other's lifecycle semantics. Consequently, we do not know what containerized deployments must guarantee for agent systems, how often real deployments provide these guarantees, whether violations become observable failures at runtime, or how developers repair them.
In this paper, we present, to the best of our knowledge, the first empirical study of the operational boundary between an agent framework and container platforms. We introduce the operational contract (OC): a guarantee that a containerized deployment must provide to preserve an agent system's required behavior when a deployment-platform event occurs. We select LangGraph for two reasons: it belongs to the most widely adopted open-source toolchain for LLM application development [25], [26], an ecosystem in which 57% of surveyed teams report running agents in production [27] and it explicitly supports containerized deployment [5]. Our study follows the boundary from specification to practice. We first derive operational contracts from the first-party documentation of the framework and deployment platforms, then examine them through three independent sources of evidence: deployment artifacts from 433 open-source agent systems, controlled executions that induce seven deployment-platform events on 12 systems, and developer repairs mined from repository histories. We make four contributions:
• We derive a catalogue of 14 operational contracts from first-party documentation.
• We assess the contracts on 433 deployed open-source agent systems: at least one applies to 75.5%, and violation rates range from 11% to 100%.
• We confirm the violations at runtime: under fault injection on 12 systems, 14 of 16 predicted violations manifest as failures, and all seven predicted holds pass.
• We study how developers repair violated contracts: from 39,261 mined commits, pull requests, and issues, we identify 122 repairs and extract 35 recurring fix patterns
The contract catalogue provides practitioners with concrete deployment requirements and tool builders with specifications for automated checks. The repair taxonomy identifies guarantees developers implement in application code, suggesting stronger framework and platform defaults.
Replication Package. All material, prompts and data used in our study are available in our replication package [28].
A. Corpus extraction
We construct a corpus of LangGraph Agent systems that ship container deployments. Searching GitHub for repositories whose README mentions langgraph yields 225,367 candidates. To focus on established projects and exclude trivial or personal repositories, we retain those with at least 10 stars, a threshold used in prior work [29], leaving approximately 4,345 repositories. From these candidates, we retain non-fork Python repositories that (i) use LangGraph in their own code, evidenced by a manifest dependency, a LangGraph import, or a langgraph.json and (ii) ship a Dockerfile. These criteria yield 574 repositories, which we pin to commits no later than our 6 July 2026 snapshot cutoff. We then manually verify that each shipped deployment runs a single agent graph defined in the repository itself; the following section describes this validation and the resulting analysis set.
B. Annotation procedure
For each system, we collect two forms of evidence. Facts are extracted mechanically from source and deployment files and retain their file-and-line provenance; examples include whether the system streams output, its restart policy, and its stop grace period. Labels capture properties that require interpretation of the code. Authors assign them at the pinned commit using a codebook that defines each field and its values, records supporting file-and-line evidence, and distinguishes absent, not applicable, and uncertain. Some labels apply to the entire corpus; others are needed only for systems to which a particular contract applies. We call the latter targeted readings. The codebook, and collected evidence are included in [28].
Labeling procedure. We establish reliability in two stages. First, we draw a star-stratified pilot of 148 repositories and have two authors independently assign each applicable label. They adjudicate disagreements against the code and record the rationale; disagreements that expose an ambiguous rule lead to a codebook revision and re-coding of affected systems. Once the codebook is stable, we freeze it and divide the remaining 426 repositories between the two authors. For corpus-wide labels, both authors independently code a random 10% of this remaining set to verify that agreement persists. Targeted readings involve smaller subsets; after establishing pilot agreement, the first author codes the remaining systems. We report agreement with the RQ that first uses each label; unless stated otherwise, reported values refer to the pilot.
Manual screening: scope and unit of analysis. The first label, scope, completes corpus selection. While the automated filters of Section II-A establish that a repository uses LangGraph and ships a container deployment, scope determines whether that deployment actually executes a LangGraph graph defined in the repository. We trace the container entrypoint, Compose services, and langgraph.json target to the code they execute, excluding repositories in which no container executes the graph, the graph is not invoked on the deployed path, or the deployment runs only a model server or a graph defined elsewhere. A second label establishes the unit of analysis. For each in-scope repository, we identify its primary deployed graph from the langgraph.json target or, when absent, the graph invoked by the container entrypoint. Repositories that deploy several unrelated graphs are labeled collections and excluded, avoiding both the aggregation of unrelated systems into one verdict and multiple systems from the same repository. Following the labeling procedure above, the authors agree in the pilot on scope for 137 of 148 repositories ( , ) and on collection status for 140 ( , ). Of the 574 repositories, 82 are out of scope and 59 are collections, leaving 433 deployed agent systems for analysis.
III. RQ1: WHAT MUST CONTAINERIZED DEPLOYMENTS GUARANTEE FOR AGENT SYSTEMS?
Motivation. Container platforms routinely restart, replace, and terminate containers, while agent frameworks require state and running work to survive these deployment-platform events [9],

Fig. 1. Overview of the Study Design
[11]–[15], [30]. Preserving state alone does not satisfy these requirements: an interrupted run may remain unfinished even when its state survives, and resuming it may re-execute side effects [15]. The framework and deployment platform each document their own behavior, but neither states the obligation a deployment must satisfy when the two are combined. RQ1 makes these obligations explicit as operational contracts.
Approach. We derive operational contracts by reading the agent-framework and deployment-platform documentation together. Each contract connects three elements: an agent-framework requirement, a deployment-platform event that can violate it, and the deployment obligation that prevents the violation. A contract applies only to systems for which its agent-framework requirement is relevant. We derive the contracts in four steps: source selection, candidate extraction, human validation and consolidation, and classification.
(i) Source selection. Following prior work on deriving developer directives from official documentation [31], we use only first-party sources. For the agent framework, we include the LangGraph libraries and production server; for the deployment platform, we include Docker, Docker Compose, and Kubernetes, covering container execution, composition, and orchestration [9], [10], [12], [32]–[34]. For reproducibility, we freeze each documentation set at the versions used in the study; exact versions and snapshots are in the replication package.
(ii) Candidate extraction. A candidate contract connects a documented agent-framework requirement with a documented deployment-platform event that can violate it. We use Claude Opus 5.5 as an extraction instrument. The model extracts both statements verbatim with their sources, pairs them across the

Fig. 2. Agent-framework and deployment-platform evidence for a candidate operational contract.
two documentation sets, and turns each conflicting pair into a candidate contract by stating the corresponding deployment obligation. Figure 2 illustrates the process. LangGraph's production server allows up to 180 seconds to drain running work after a shutdown signal [35], whereas Docker sends SIGTERM on stop and SIGKILL after a default 10-second grace period [8]. Together, these statements yield the candidate contract the stop grace period covers the drain, so that a stop does not violate the drain of running work. A script verifies every extracted quotation against the pinned documentation, and two authors validate every candidate in step (iii). This use of an LLM for documentation extraction, followed by human validation, follows prior work [36]–[39]. The prompt and raw model output are available in the replication package [28].
(iii) Validation and consolidation. Two authors independently validate the 45 candidates against their supporting agent-framework and deployment-platform quotations. A candidate
TABLE I
THE FOURTEEN OPERATIONAL CONTRACTS AND THEIR RQ2 VERDICTS ACROSS THE 433 DEPLOYED AGENT SYSTEMS. CONTRACTS ARE GROUPED BY WHAT THEY PROTECT. STATIC INDICATES WHETHER A CONTRACT IS CHECKABLE FROM REPOSITORY ARTIFACTS.
| Contract | Applies to | Severity | Static | Verdicts (RQ2) | |||
|---|---|---|---|---|---|---|---|
| Apply | Hold | Broken | |||||
| SAVED STATE (4 contracts) — what the agent keeps between requests: conversations, paused runs and memories | |||||||
| OC1 | The deployment must ensure that state outlives the process, so that a restart (crash, OOM kill, failed probe) cannot violate the availability of saved threads, paused runs and memories. | Systems that keep threads, paused runs or memories across requests | High | ✓ | 265 | 166 | 99 (37.4%) |
| OC2 | The deployment must ensure that state outlives the container, so that a replacement (redeploy, down/up, update) cannot violate the availability of state saved for later requests. | Systems that keep state across requests and are redeployed or updated | High | ✓ | 265 | 155 | 110 (41.5%) |
| OC3 | The deployment must ensure that every replica reaches the same state, so that routing across several replicas cannot violate one view of each thread. | Systems that keep state across requests and run several replicas | High | ✓ | 19 | 16 | 3 (15.8%) |
| OC10 | The deployment must ensure that the database accepts connections before setup, so that start ordering cannot violate the start-up migrations. | Systems that start together with their database | Medium | ✓ | 46 | 36 | 6 (14.3%) |
| RUNNING WORK (8 contracts) — what the agent is doing: a run in progress and the workers that execute it | |||||||
| OC4 | The deployment must ensure that the grace period covers the drain, so that a stop (SIGTERM, then SIGKILL) cannot violate the drain of in-flight runs. | Systems that drain runs on shutdown | Medium | (✓) | 27 | 0 | 8 (100%) |
| OC5 | The deployment must ensure that SIGTERM reaches the application, so that a stop (SIGTERM sent only to the container's PID 1) cannot violate the drain that starts on SIGTERM. | Systems that drain on SIGTERM from their own image | Medium | ✓ | 15 | 12 | 3 (20.0%) |
| OC6 | The deployment must ensure that progress is saved during the run, so that a kill, OOM kill or hard eviction cannot violate the steps completed so far. | Systems with long multi-step runs and a durable checkpointer | Medium | ✓ | 9 | 8 | 1 (11.1%) |
| OC7 | The deployment must ensure that re-executed side effects are harmless, so that a kill in the middle of a step cannot violate actions that must happen once. | Systems that act on the world and resume or retry | High | 87 | — | — | |
| OC8 | The deployment must ensure that interrupted runs are resumed, so that a kill, restart or replacement cannot violate the completion of saved runs. | Systems that run agents in background tasks | Medium | 61 | — | — | |
| OC12 | The deployment must ensure that the server restarts after a crash, so that a crash under Docker's default restart: no cannot violate a worker listening at all times. | Systems that self-host the server on Docker | Medium | ✓ | 11 | 1 | 6 (85.7%) |
| OC13 | The deployment must ensure that an update keeps a worker running, so that a Recreate or stop-first update cannot violate a worker listening at all times. | Systems that update the server | Medium | ✓ | 12 | 1 | 7 (87.5%) |
| OC14 | The deployment must ensure that the memory limit fits all concurrent runs, so that an OOM kill at the limit cannot violate the completion of concurrent runs. | Systems that set memory limits | Medium | 53 | — | — | |
| CLIENTS AND EXTERNAL RESOURCES (2 contracts) — what lies outside the run: the user waiting for its output and the resources it pays for | |||||||
| OC9 | The deployment must ensure that releasing external resources does not depend only on shutdown code, so that a kill (no shutdown code runs) cannot violate the release of sandboxes and billable resources. | Systems that create sandboxes or billable resources | Medium | ✓ | 22 | 8 | 14 (63.6%) |
| OC11 | The deployment must ensure that streaming clients can resume after a redeploy, so that a replacement with open connections cannot violate delivery of the full answer. | Systems that stream output to a client | Low | 155 | — | — | |
√: statically checkable; (✓): statically checkable only for production-server deployments; —: requires runtime evidence. †: production server only; ‡: without production server.
is retained only when the documentation establishes an agent-framework requirement and a deployment-platform event that can violate it, and the conflict can arise under normal deployment-platform operation without requiring an exceptional event or a specialized configuration. The authors agree on 41 of 45 decisions ( , ); disagreements are resolved against the quoted evidence. This validation excludes 11 candidates and retains 34. The authors then independently consolidate candidates that express the same deployment obligation under the same deployment-platform event. For example, three candidates require state to survive a container restart but concern different forms of state: conversation checkpoints in an in-memory checkpointer, long-term memories in an in-memory store, and LangGraph's state directory. Because the deployment obligation and deployment-platform event are the same, we consolidate them into one operational contract and retain the three forms of state as instances; the contract applies only to systems that maintain the corresponding state. The authors agree on 94.7% of pairwise consolidation decisions ( ); after adjudication, consolidation yields 14 operational contracts.
(iv) Classification. Finally, we classify each operational contract by severity and static checkability. Severity captures the recoverability of the documented consequence [40], [41]: high if retry, restart, or manual intervention cannot restore the intended outcome, as when saved state is lost or an external action is repeated; medium if execution is disrupted but recovery remains possible, as when running work is lost or stalled, a service remains unavailable, or resources remain running until corrective action; and low if the effect is recoverable and confined to a single request or stream. Static checkability captures whether a contract can be evaluated from repository artifacts alone. A contract is statically checkable when both its applicability and the evidence needed to determine whether its deployment obligation is satisfied are observable in source and deployment files; otherwise, runtime evidence is required. The authors fixed these criteria before classification and independently classified all 14 contracts, agreeing on all 14 severity classifications and 13 of 14 static-checkability classifications. The disagreement was resolved by discussion.
Results. Table I lists the 14.
Deploying agents on container platforms gives rise to fourteen operational contracts, each guarding against a distinct failure risk. Saved state can be lost when a process restarts (OC1), when its container is replaced (OC2), or become inconsistent when requests reach replicas that do not share state (OC3). Running work introduces different conflicts: a stop can terminate a run before its drain completes (OC4), while resumption after a mid-step interruption can repeat an external action (OC7). The consequences extend beyond the run: external resources can remain running after a kill (OC9), and container replacement can interrupt a client's stream (OC11). In each case, the framework and platform behave as documented; the violation arises from their composition.
Persisting agent state satisfies only four of the fourteen deployment obligations. The other ten extend beyond saved state: running work must drain or resume after interruption, re-executed side effects must be harmless, workers must remain available, interrupted streams must resume, and external resources must be released.
Four contracts protect against failures whose effects no retry or restart can undo. The high-severity contracts are OC1–OC3, where saved state is lost, and OC7, where re-execution repeats an external action.
More than half of the contracts are statically checkable before agent deployment. These include all four saved-state contracts (OC1–OC3, OC10) and three of the four high-severity contracts. The remaining contracts require runtime evidence that repository artifacts do not expose: OC7 depends on whether re-executed side effects are harmless, while OC4 is statically checkable only for LangGraph's production server, whose drain window is explicitly configured.
IV. RQ2: Do DEPLOYED AGENT SYSTEMS MEET THE CONTRACTS?
Motivation. RQ1 identified fourteen operational contracts for containerized agent deployments, nine of which are statically checkable. Whether they matter in practice depends on their applicability and on whether deployments satisfy their obligations. RQ2 therefore examine the 433 systems in our corpus to determine which contracts apply and which are violated.
Approach. RQ2 uses the two forms of evidence defined in Section II-B: facts, extracted from source and deployment files, and labels, assigned by the authors under the procedure of Section II-B. We use facts when repository evidence is explicit and labels when interpretation is required. Each labeled field is defined at its first use, with its agreement. For each system, we determine whether a contract applies and, when it does, whether it holds. A contract applies when its agent-framework requirement is relevant to the system and holds when the deployment satisfies its obligation. We encode these decisions in one detection rule per contract, derived from Table I and its supporting quotations. One author derives each rule, a second independently reviews it against the contract, and a third adjudicates disagreements. The complete rules are in [28].
(i) Contract Applicability evidence. Applicability is mostly decided by facts: streaming, background workers, interrupts, replicas, and the use of LangGraph's production server. Two aspects require labels. Interaction mode ( ) characterizes how the system meets its workload: a multi-turn conversation, a long-running job, or a stateless request. Persistence intent ( ) captures whether the system is designed to carry state across requests, evidenced by threads, checkpointers, a human-in-the-loop, or explicit reloading of prior history; such system needs durable state, and the state contracts apply to it.
(ii) Contract satisfaction evidence. For some contracts, facts directly establish whether the deployment obligation is satisfied: the restart policy (OC12), stop grace period (OC4), update strategy (OC13), volume for database data (OC2), run durability setting (OC6), and wait for database health (OC10). The remaining require labels. For the saved-state contracts (OC1–OC3), we first label the checkpointer used by the deployed system ( ), then inspect cases where persistence depends on application or deployment behavior: where 83 systems without a checkpointer keep their state ( ); which checkpointer the deployment selects when several can be constructed (63 systems; ); whether checkpoint files lie within a declared mount (63; ); and whether paused runs survive restart (77 systems; ). For 135 systems that start several containers from one image, we additionally determine whether they are replicas or distinct roles ( ) and whether every instance reaches the same state ( ). For OC8 and OC9, we inspect whether the repository provides a mechanism to resume interrupted runs and to release external resources after a kill (93 systems; on the 28 double-coded systems). For (OC2–OC6), we additionally search the pinned source for the implementations relevant to each obligation, including persistent volumes for Kubernetes-hosted state, worker processes, shutdown handlers, and progress saved during a run, and inspect every match ( ).
(iii) Verdicts. A script applies the detection rules to the collected facts and labels, assigning each system one verdict per contract: does not apply, holds, broken, or not decidable. A contract is broken only when repository evidence establishes that the deployment does not satisfy its obligation; it is not decidable when repository evidence is insufficient. OC7, OC8, OC11, and OC14 require runtime evidence and therefore receive no repository verdict. OC4 is decidable only for systems using LangGraph's production server.
Results. Table I presents the verdict for every contract.
At least one operational contract applies to 75.5% of agent systems: 61.2% need durable state, 19.9% run work in the background, and 60.3% stream output to clients. More than half of the systems maintain multi-turn conversations (54.5%), and 13.4% pause runs for human input; together with systems that maintain memories, 61.2% need durable state, making the saved-state contracts applicable (Table II). OC11 applies to the 155 systems that stream from their own server rather than LangGraph's production server. Notably, 6.0% use a single constant thread across requests, causing all users to share
TABLE II RQ2 APPLICABILITY EVIDENCE ACROSS THE 433 DEPLOYED AGENT SYSTEMS.
| Evidence | n | % |
|---|---|---|
| Interaction mode (labels) | ||
| Multi-turn conversation | 236 | 54.5 |
| Stateless request | 113 | 26.1 |
| Batch job | 35 | 8.1 |
| Long-running job | 35 | 8.1 |
| Event-driven | 14 | 3.2 |
| Workload (facts) | ||
| Streams output to a client | 261 | 60.3 |
| Consumes a queue / runs workers | 86 | 19.9 |
| Pauses for human input | 58 | 13.4 |
| Persistence intent (labels) | ||
| Durable: carries state, survives a restart | 167 | 38.6 |
| Not durable: carries state, loses it | 98 | 22.6 |
| Needs durable state (durable + not durable) | 265 | 61.2 |
| Stateless by design | 140 | 32.3 |
| In memory, within one request | 28 | 6.5 |
one conversation. Overall, 327 of the 433 systems (75.5%) have at least one applicable operational contract.
37% of agent systems that need durable state lose it on an ordinary restart. Of the 265 systems to which OC1 applies, 166 (62.6%) hold the contract, whereas 99 (37.4% [31.8–43.3]) lose a conversation, paused run, or memory that must outlive the process. The rate is similar among multi-turn conversational systems (87/221, 39.4%). Most systems that break OC1 (77/99, 77.8%) ship no persistent store; the remaining 22 ship one that the agent state does not reach. Indeed, 16 of 76 systems using an in-memory checkpointer deploy a persistent store alongside it without routing agent state there.
Preserving agent state through one deployment-platform event does not ensure it survives the next. Figure 3 follows the 265 systems that need durable state through cumulative contract checks. Of these, 166 (62.6%) preserve state across restart (OC1), and 155 (58.5%) also preserve it across container replacement (OC2); thus, eleven survive restart but lose state on redeployment. Only 134 (50.6%) have no further broken contract that repository evidence can establish. This is an upper bound: 85 of the 134 have at least one applicable contract that is not decidable from repository evidence, including 82 that require runtime evidence.
Durable agent state does not imply resumable running work: 88.5% of systems running work in the background ship no mechanism to resume an interrupted run. OC8 requires runtime evidence, so we report what the repositories provide. Of the 61 applicable systems, 54 (88.5% [78.2–94.3]) provide no resumption mechanism; six use a queue that redelivers unacknowledged work, and one resumes unfinished runs at start-up. Notably, 28 of the 54 hold OC1: their saved state outlives the process, but the repository provides no mechanism to resume the interrupted run.
Two in five agent systems that pause for human input lose the paused run on restart. Of the 58 systems that all systems that need durable state
265
state survives a restart (OC1)
166 (62.6%) -99
...and a container replacement (OC2)
155 (58.5%) -11
...and no other decidable contract is violated
134 (50.6%) -21
of the 134, 85 leave contract undecided (82 need execution)
Fig. 3. 265 systems that need durable state across three cumulative checks. Solid bars satisfy all preceding contracts; hatched segments violate the contract at that step.
pause for human input, two are not decidable from repository evidence. Among the remaining 56, 23 (41.1% [29.2–54.1]) break OC1: the paused run does not outlive the process. The rate is identical across the two coding blocks (p = 1.0). Thus, a restart can discard a run while it is waiting for human input.
Every production-server deployment provides less time than required to drain running work. OC4 applies to 27 systems: 12 use LangGraph's production server, with its 180-second drain window, and 15 implement their own drain. Because the latter depends on the running work being drained, OC4 is decidable from repository evidence only for eight production-server deployments. All eight retain Docker's default 10-second stop grace period, 170 seconds shorter than the configured drain window. Three systems with their own drain fail earlier: SIGTERM does not reach the application, so the drain never starts (OC5). Related worker obligations are also frequently broken: six of seven decidable production-server deployments break OC12, and seven of eight break OC13.
A kill leaves an agent's external resources running: 14 of 22 systems that create sandboxes or billable resources release them only through shutdown code a kill never runs or not at all (OC9). Mid-run progress, by contrast, is rarely at risk: of the 9 batch, event-driven systems with a durable checkpointer, 8 keep LangGraph's default per-step saving, which loses at most the last step on a kill, and one disables it (durability="exit") by a documented choice (OC6). Where long runs do lose progress, the cause is state kept in process memory (OC1) or a run nothing resumes (OC8).
V. RQ3: DO THE VIOLATIONS BECOME OBSERVABLE FAILURES UNDER ORDINARY CONTAINER OPERATIONS?
Motivation. RQ2 derives verdicts from repository evidence, but cannot show what happens when a deployment-platform event occurs; some contracts also require runtime evidence. RQ3 therefore executes the deployments, induces the deployment-platform events, and observes whether contracts predicted to hold or be broken behave accordingly at runtime.
Approach. We evaluate the RQ2 verdicts in four steps: (i) select contracts whose deployment-platform events can be reproduced and observed, (ii) select systems predicted to hold or break each contract, (iii) deploy each system as shipped and induce the corresponding deployment-platform event, and (iv) compare the outcome with the prediction.
(i) Contract and event selection. We select contracts whose deployment-platform event can be induced by a documented Docker or Compose operation and whose outcome can be observed without modifying the system's code or deployment configuration, apart from the model-routing changes of step (iii). The resulting events (Table III) are restart, container replacement, kill, stop under Docker's default 10-second grace period, forced recreation, server-process crash, and cold start. The expected runtime outcome follows from the documented deployment-platform semantics. For example, restart clears process memory but preserves the container filesystem; replacement discards that filesystem; and named volumes survive both. Before executing any agent system, we verify each event effect on a minimal Compose deployment. Eleven of the fourteen contracts meet these criteria. We exclude OC3 because testing it requires adding replicas, OC14 because inducing an OOM kill requires changing the memory limit or constructing a workload that exhausts it, and OC9 because its external resources require paid provider accounts. OC7 and OC11 require runtime evidence, so we execute them without an RQ2 prediction and report the observed outcome. OC8 has no RQ2 verdict: repository files can reveal a resumption mechanism, but not whether interrupted runs actually resume. We instead predict its outcome from the OC8 reading (Section IV): a system with no mechanism should leave the run unfinished, and one that resumes runs at start-up or takes them from a redelivering queue should complete it.
(ii) System selection. Executing the full corpus is impractical because each system must be built, configured, and exercised before a deployment-platform event can be induced. We therefore select for contract coverage: for each executed contract with an RQ2 verdict, we seek a system in which the contract is broken and, where available, one in which it holds. Because a system can exercise several contracts, we seek a small set that covers these cases. Selection proceeds in stages.
Stage 1: static eligibility (433 → 180). Using the facts of Section II-B, we retain systems that can be exercised without modifying their code or deployment files. Each must ship a Compose deployment, so the deployment-platform events can be induced on the deployment as shipped; expose an HTTP API or LangGraph's production server, so requests can be issued programmatically; use an OpenAI-compatible model client, so all systems can be routed to the same model through configuration; require no GPU; and have an RQ2 verdict, or for OC8 a reading-based prediction, for at least one executed contract. OC7 and OC11 require no additional systems because we measure them on selected systems to which they apply.
Stage 2: buildability (180 → 102). We retain systems whose images can be built or pulled and require no local model.
Stage 3: coverage and execution check (102 → 12). We use greedy set cover to select systems that collectively cover the required RQ2 verdicts while allowing one system to exercise multiple contracts. We then run each selected deployment and confirm that it accepts requests, obtains its model endpoint from the environment, and requires no paid service; otherwise, we replace it with the next candidate. This process yields 12 systems (Table III). When only a holds or broken case is runnable, we exercise that case alone. Each contract is exercised on only one to five systems.
(iii) Execution. We reproduce each selected system from its pinned commit using the deployment configuration provided by its developers. We retain the shipped configuration and change only the model endpoint and credentials required for the experiment. We record the digest of every container image executed.
All systems use the same pinned model (gpt-4.1-mini-2025-04-14, temperature 0), accessed through a recording proxy. The proxy serves two purposes: it removes the model as a source of variation across systems and records every model request for the outcome checks in step (iv).
For contracts that require interrupting a run in progress, we must ensure that the run has not completed before the deployment-platform event occurs. The proxy therefore delays the current model request for at most 60 s, giving us time to induce the event, and releases the request afterward. Thus, when the experiment tests an interruption, the deployment-platform event occurs while the agent run is still in progress.
(iv) Checks and predictions. For each RQ2 verdict, and for OC8 from its reading, we fix the expected runtime outcome before execution: a contract that is broken should fail its check, whereas one that holds should pass. An observation confirms or contradicts this prediction, or is inconclusive (Table III). OC7 and OC11 have no prediction and are measured directly. Each contract is exercised under a workload that makes its obligation observable. Saved-state contracts use a conversation, running-work contracts use a run in progress, and OC5, OC10, and OC12 require no workload because they test an idle stop, cold start, and server crash, respectively. For saved state, we use LongMemEval [42] to determine whether a conversation survives without judging the model's answer. We replay its three shortest single-session histories as separate threads; each provides a later question and identifies the earlier turns needed to answer it. We ask the question and inspect the proxy log for those turns: their presence means the conversation is preserved; their absence, or a thread-not-found response, means it is lost; a connection failure is inconclusive. We perform this check after replay, after waiting for the duration of the deployment-platform event without inducing it, and after the event. We score post-event loss only when pre-event checks confirm that the conversation was preserved. For running work, we start a run through the system's API using a repository-provided request from its README, tests, or example code; the exact requests are in [28]. The proxy keeps the run in progress while the deployment-platform event is induced. Table III
We reproduce a crash by sending SIGKILL directly to the server process, analogous to an out-of-memory kill. We avoid docker kill because Docker treats it as a user stop and bypasses the restart policy.
gives the contract-specific checks: running work drains before termination (OC4), progress is saved during the run (OC6), and an interrupted run resumes without resubmission within 300 s (OC8). OC5 checks whether SIGTERM reaches the application, OC10 whether the system becomes ready within 120 s of a cold start, and OC12 whether the server restarts within 60 s of a crash. OC7 and OC11 measure whether re-execution repeats an external action and whether an interrupted stream can resume, respectively. We repeat each deployment-platform event three times. A repetition counts only when its required pre-event condition holds: the conversation is available, the run is in progress, or the server is running, as appropriate. We report an outcome when at least two repetitions are valid, and all valid repetitions agree; otherwise, the outcome is inconclusive.
Results. Table III lists every outcome.
The code predicts what happens to deployed agents: 87.5% of predicted violations manifest as runtime failures, while every scorable prediction that a contract holds is confirmed. Fourteen of the 16 predicted violations (87.5%) manifest as the corresponding runtime failure. Of the eight systems predicted to satisfy their contract, seven pass the runtime check; the remaining case is inconclusive (Table III, note c).
Execution shows that satisfying one contract does not ensure the next: agent state can survive a restart but not a replacement, an interrupted run can retain its state but never resume, and shutdown can begin but not finish before termination. tool-kit-ai and SRE-Agent keep all tested conversations across restart (OC1) but lose them after container replacement (OC2), because their state remains inside the container. langmanus keeps conversation state in process memory and loses it on restart (OC1). The distinction extends to running work: IdeaGo preserves completed progress after interruption (OC6), yet the interrupted run remains “in progress” and is not resumed (OC8). The deep-research agent likewise cannot resume a paused run after restart or complete a run interrupted by a kill. In contrast, MemCoach resumes its paused run from state on a bind mount, and LambChat resumes its interrupted run within 30 s. Shutdown exposes the same pattern. On both tested systems using LangGraph’s production server, SIGTERM initiates shutdown, but Docker’s 10-second stop grace period expires before running work drains (OC4). Forced recreation interrupts the running worker (OC13), while a server-process crash leaves the server down without a restart policy (OC12). For OC5, one system never receives SIGTERM; another receives it but exceeds the stop grace period, breaking OC4 rather than OC5.
Two violations predicted from repository evidence do not become agent failures at runtime because the deployed image provides safeguards that the repository does not expose. Panaversity accounts for both cases. Its Compose file neither waits for database readiness (OC10) nor mounts the state directory used by langgraph dev (OC2), yet the agent starts after every cold deployment and preserves every tested conversation across replacement. The pulled Agent Server image explains both outcomes: it retries the database and runs migrations before serving, and uses the Postgres-backed server with conversation state on a named volume. When the development server runs without this safeguard, as in SRE-Agent, the predicted OC2 failure manifests.
When an interrupted agent run is resumed, the interrupted step is re-executed and can therefore repeat its side effects. OC4 and OC13 interrupt running work on both tested systems, but the server subsequently resumes and completes each run 10–221 s later. Resumption re-executes the interrupted step: the proxy records its model call a second time. Thus, recovery can delay completion and can repeat an external action already performed by that step (OC7).
Without a mechanism to resume interrupted work, recovery repeats the entire agent run, while an interrupted stream remains incomplete. The deep-research agent exhibits both outcomes. After a kill, resubmitting its request starts a new run and repeats every model call made before the interruption, rather than only the interrupted step (OC7). During streaming, forced recreation terminates the connection; the API provides no mechanism to resume the stream or retrieve the remaining output, so the client misses the rest of the answer (OC11).
VI. RQ4: How Do Developers Repair Contract Violations?
Motivation. RQ2 identifies contract violations in deployed agent systems, and RQ3 shows that they manifest at runtime. RQ4 turns to repository histories for independent evidence of whether developers encounter these violations in practice and how they repair them. We examine which contracts appear in developer repairs, the recurring repair strategies, and whether each repair satisfies the full deployment obligation.
Approach. (i) Retrieval. Through the GitHub API, we search public commits, pull requests, and issues using queries that pair langgraph with keywords covering deployment-platform events (e.g., restart, kill), agent-framework requirements (e.g., checkpoint, resume), and deployment obligations (e.g., persist, retry). After independently reading 200 retrieved artifacts, two authors add, by agreement, developer terms for the same phenomena (e.g., crash, stuck, orphan). The queries, run on 2 September 2026, return 39,261 artifacts. We rank artifacts by the number of distinct keywords matched. From the highest score downward, one author inspects 100 artifacts per score and stops at the first score with no relevant failure report. The resulting cutoff retains 7,268 artifacts from 270 repositories. All queries are in the replication package.
(ii) Screening. Keyword retrieval favors recall, so artifacts may not describe relevant failures. Following two-phase sampling [43], we use GPT-5.4 mini to screen them for a failure following a deployment-platform event or a change intended to fix or prevent one. The model serves only as a screening instrument; the authors validate every retained candidate from the original artifacts and diffs in step (iii). Screening yields 396 candidates from 98 repositories. To assess screening misses, two authors independently inspect a random sample of 100 rejected artifacts ( ) and find one missed repair.
TABLE III RQ3 DEPLOYMENT-PLATFORM EVENTS, RUNTIME CHECKS, AND OUTCOMES ACROSS 12 AGENT SYSTEMS.
| Contract | Deployment-platform event | Contract holds if | Broken | Holds |
|---|---|---|---|---|
| SAVED STATE | ||||
| OC1 (conversation) | restart | earlier turns still reach the model | 1/1 | 2/2 |
| OC1 (paused run) | restart while awaiting input | the paused run can be resumed | 1/1 | 1/1 |
| OC2 | down; up -d | earlier turns still reach the model | - | |
| RUNNING WORK | ||||
| OC4 | stop while a run is in progress | running work drains before the container exits | - | |
| OC5 | stop of an idle service | SIGTERM reaches the application | 1/1 | |
| OC6 | kill after third model call; up -d | a finished step is in the checkpoint store | - | 1/1 |
| OC8 | kill while a run is in progress; up -d | the run completes without resubmission within 300 s | 2/2 | 1/1 |
| OC10 | cold first up | the system is ready within 120 s | 2/2 | |
| OC12 | SIGKILL to the server process | the server restarts within 60 s | 2/2 | - |
| OC13 | up --force-recreate while a run is in progress | the run survives the update | - | |
| CLIENTS AND EXTERNAL RESOURCES | ||||
| OC7 | kill after an external action; re-send | the external action is not repeated | repeated (1) | |
| OC11 | up --force-recreate during streaming | the interrupted stream can resume | not resumed (1) | |
| Total | 14/16 | |||
Notes: Broken/Holds: systems whose runtime outcome matches the RQ2 verdict; OC7 and OC11 are measured directly. The pulled image preserves conversation state on a named volume. The interrupted run later resumes. Inconclusive: one valid repetition. The image retries the database before serving.
(iii) Validation. A repair is a commit, or the commits of a pull request, that fixes or explicitly prevents a failure caused by a deployment-platform event. We reconstruct failure–repair pairs through GitHub cross-references: from an issue to the change that closes or references it, and from a commit or pull request to the failure described in its message, linked issue, or diff. Issues without a fixing change, features, and refactorings are excluded. Two authors independently validate 130 of the 396 candidates (33%; ); disagreements are resolved by discussion, and the first author applies the resulting rules to the remainder. This yields 122 repairs from 63 repositories.
(iv) Coding. We code each repair along three facets. Contract identifies the operational contract whose violation the repair addresses, or none when no contract applies ( ). Fix captures what the developer changes. Two authors independently describe each change in the double-coded sample ( ), then consolidate the descriptions into recurring fixes and families. The first author codes the remaining repairs, after which both authors review all assignments and refine the taxonomy where necessary. We also record whether each repair modifies application code, deployment files, or both. Completeness records whether the repair satisfies the full deployment obligation: yes if it prevents the failure, partly if it handles the failure or prevents it only under some conditions, and no otherwise ( ). All agreement values are computed on the 130 double-coded candidates.
Results. Table IV lists the fix patterns.
Developer repairs map to 12 of the 14 operational contracts and recur as 35 distinct fix patterns. Of the 122 repairs, 111 (91%) in 58 repositories address a contract violation. They comprise 35 fix patterns, 15 of which recur in at least three repositories (Table IV); the complete taxonomy is in the replication package [28]. The remaining 11 repairs address failures common to containerized services, such as dead connections after database restart. No repair addresses OC12 or OC13.
Developers repair the agent's interrupted work first, its lost state second, and last the stream a client loses or the resources a killed run leaves behind (56%, 35%, 9% of the 111 repairs). Of the 111 contract repairs, 62 address running work (OC4–OC8, OC14), 39 saved state (OC1–OC3, OC10), and 10 clients or external resources (OC9, OC11). Resuming interrupted runs (OC8) is most common, with 23 repairs in 15 repositories, followed by state outliving the process (OC1; 19 in 18), draining running work on shutdown (OC4; 13 in 10), and memory limits for concurrent runs (OC14; 12 in 10).
The failures are born in deployment but repaired in code: 78% of the repairs change only code, and the few in deployment files repeat four fixes. 95 of the 122 repairs (78%) change code, 4 (3%) change code and deployment files, and 22 (18%) change only deployment files; the remaining one has no diff we could inspect. Of the 22, 16 (73%) apply one of the four fixes made in deployment files (Table IV): mounting the database on a volume, running the application as PID 1, waiting for the database before setup, and sizing memory limit.
Only two thirds of repairs fully satisfy the deployment obligation; completeness depends on whether the repair requires deployment-platform support. Of the 122 repairs, 80 (66%) fully satisfy the deployment obligation and 42 (34%) do so only partially. Saved-state repairs are usually complete (32/39, 82%), because durable storage can be established directly. Draining running work requires the deployment platform to allow sufficient time before termination: only 2 of 13 OC4 repairs provide that time, while the other 11 initiate draining but retain the 10-second stop grace period. Resumption shows a similar gap: 11 of 23 OC8 repairs are partial, including eight that report interrupted runs rather than resume them.
VII. THREATS TO VALIDITY
Construct validity. The contracts are bounded by the pinned documentation, and RQ2 by repository evidence; behavior hidden inside deployed images can therefore escape both, as
TABLE IV
RECURRING REPAIR PATTERNS OBSERVED IN AT LEAST THREE REPOSITORIES (85 REPAIRS ACROSS 50 REPOSITORIES).
| Contract | Deployment-platform event | Recurring fix | n (repos.) | Layer | Evidence |
|---|---|---|---|---|---|
| SAVED STATE | |||||
| OC1 | restart, crash, or OOM kill | F1.1 Replace the in-memory checkpointer with a durable checkpointer backed by persistent storage. | 12 (12) | code | [44] |
| F1.2 If state is absent after restart, reload it from the checkpointer. | 4 (4) | code | [45] | ||
| OC2 | container replacement | F2 Mount the database data directory on a volume so saved state outlives the container. | 5 (5) | deployment | [46] |
| OC10 | start ordering | F10 Wait until the database accepts connections before running setup. | 3 (3) | deployment | [47] |
| RUNNING WORK | |||||
| OC4 | stop | F4.1 On SIGTERM, stop accepting work and drain running work before exit. | 7 (6) | code | [48] |
| F4.2 Save state before workers stop and bound cleanup to the stop grace period. | 4 (4) | code | [49] | ||
| OC5 | stop | F5 Run the application as PID 1, using exec or an init process, so SIGTERM reaches it. | 4 (4) | deployment | [50] |
| OC7 | kill during a step | F7 Guard external actions with an idempotency key or claim so re-execution does not repeat them. | 5 (5) | code | [51] |
| OC8 | kill, restart, or replacement | F8.1 Detect interrupted runs and requeue them or mark them failed. | 9 (7) | code | [52] |
| F8.2 At start-up, detect runs left "running" and mark them failed or for review. | 7 (6) | code | [53] | ||
| F8.3 Make recovery tolerate stale markers and partial records left by an interrupted run. | 4 (3) | code | [54] | ||
| OC14 | OOM kill | F14.1 Reduce peak memory use by fixing leaks, paging large loads, or bounding them. | 8 (7) | code | [55] |
| F14.2 Set the memory limit from the workload's measured peak or bound the process below it. | 4 (4) | deployment | [56] | ||
| CLIENTS AND EXTERNAL RESOURCES | |||||
| OC9 | kill | F9 At start-up, find and release external resources left by interrupted runs. | 6 (5) | code | [57] |
| OC11 | replacement during streaming | F11 Give the stream an identity and cursor so clients reconnect from the last delivered event. | 3 (3) | code | [58] |
| Total: 15 recurring fixes | 85 (50) | ||||
Note: n (repos.) = repairs (repositories); 11 recurring fixes modify application code and four deployment files. The full 35-fix taxonomy is in the replication package.
the two RQ3 mismatches show. We mark a contract broken only on positive evidence and not decidable otherwise, making RQ2 violation rates lower bounds. RQ3 mitigates measurement error through pre-event checks, validated deployment-platform events, and three repetitions.
Internal validity. Manual labels and repair coding involve judgment. We mitigate this through independent coding, adjudication, codebook refinement, and reported agreement. LLMs assist candidate extraction (RQ1) and screening (RQ4), but authors validate every retained candidate; extracted quotations are also verified verbatim, and a random sample of 100 rejected RQ4 artifacts estimates screening misses. In RQ3, a pinned model at temperature 0 and a recording proxy control model variation.
External validity. We study LangGraph with Docker, Compose, and Kubernetes in public Python repositories with at least 10 stars; the reported proportions therefore characterize this population. Other frameworks and deployment platforms may yield different contracts. RQ3 selects 12 systems for contract coverage, so it validates runtime manifestation rather than prevalence. RQ4 is limited by keyword retrieval and by repairs visible in public repository histories.
VIII. RELATED WORK
A. LLM-based agents and their failures.
Several empirical studies examine how developers build and operate agent systems. Chen et al. [6] studied the challenges facing LLM application developers and reported deployment among the recurring ones; Asgari et al. [24] drew the challenges of agent systems from Stack Overflow posts and GitHub issues; Pan et al. [7] measured agents in production; further studies examined developer practices, industrial adoption, configuration, and observability [59]–[63]. A second line of work studies failures within agent systems. Cemri et al. [23] derived from multi-agent execution traces a taxonomy of failure modes in how agents specify, coordinate, and verify their work, and Islam et al. [22] studied bugs in LLM agents. Other studies examine error propagation and accountability in role-specialized multi-agent pipelines [64], [65]. Comparable studies preceded them for deep-learning software [66], [67]. Our study addresses a different failure boundary: the interaction between agent-framework requirements and deployment-platform behavior. Rather than deriving failures from execution traces or developer reports, we derive operational contracts from framework and deployment-platform documentation and examine whether ordinary deployment-platform events such as restart, replacement, and shutdown violate the requirements of otherwise correctly executing agents.
B. Container deployment and operational correctness.
Prior work has extensively studied container deployment artifacts. Studies have characterized Docker usage [16], identified Docker-specific refactorings and technical debt [68], [69], and catalogued practices and misconfigurations in Dockerfiles [17], [18], Compose files [19], [70], and Kubernetes manifests [20], [21], [71], [72]. Most closely, Jebari et al. [4] studied 1,993 Dockerfiles from ML projects, characterizing their roles and build inefficiencies. These studies assess deployment artifacts against practices that apply independently of the application they deploy. Our operational contracts instead capture obligations that arise from the interaction between agent code and its deployment environment.
IX. CONCLUSION
Container platforms routinely restart, replace, and terminate containers, while agent systems carry saved state and running work across these deployment-platform events. Neither the agent framework nor the deployment platform states the deployment obligations needed when the two are combined. We introduced 14 operational contracts to make these obligations explicit and derived fourteen for LangGraph with Docker, Compose, and Kubernetes.
Across 433 deployed agent systems, the boundary is both widespread and failure-prone: at least one contract applies to 75.5% of systems, while 37.4% of those needing durable state lose it on restart and 41.5% on container replacement. Execution confirms that these violations matter: 14 of 16 predicted violations manifest as runtime failures, while all seven scorable predictions that a contract holds are confirmed. Developer repairs independently cover twelve contracts through 35 fix patterns; 78% modify application code, and only two thirds fully satisfy the deployment obligation.
REFERENCES
[1] McKinsey & Company, “The state of AI in 2025: Agents, innovation, and transformation,” https://www.mckinsey.com/capabilities/tech-and-ai/our-insights/the-state-of-ai-2025, 2025, global survey of 1,993 participants, June–July 2025. Accessed 2026-10-25.
[2] Google Cloud, “The ROI of AI 2025: How agents are delivering for business,” https://cloud.google.com/transform/roi-of-ai-how-agents-help-business, 2025, survey of 3,466 senior leaders with National Research Group. Accessed 2026-10-25.
[3] L. Sun, “Is a pod the right deployment unit for an AI agent?” CNCF Blog, https://www.cncf.io/blog/2026/07/14/is-a-pod-the-right-deployment-unit-for-an-ai-agent, 2026, 14 July 2026.
[4] F. Jebari, E. Ksontini, A. Barrak, and W. Kessentini, “ML in a box: Analyzing containerization practices in open source ML projects,” in Proc. of the 23rd International Conference on Mining Software Repositories (MSR), 2026, arXiv:2607.10126.
[5] LangChain, Inc., “LangSmith deployment documentation: Deploy a standalone server,” https://docs.langchain.com/langsmith/deploy-standalone-server, accessed 2026-09-20.
[6] X. Chen, C. Gao, C. Chen, G. Zhang, and Y. Liu, “An empirical study on challenges for LLM application developers,” ACM Transactions on Software Engineering and Methodology, 2025, arXiv:2408.05002.
[7] M. Pan et al., “Measuring agents in production,” in Proceedings of the 43rd International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 306, 2026, pp. 95 649–95 695.
[8] Docker, Inc., “docker container stop. Docker CLI reference,” https://docs.docker.com/reference/cli/docker/container/stop/, accessed 2026-09-20.
[9] —, “Storage. Docker engine documentation,” https://docs.docker.com/engine/storage/, accessed 2026-09-20.
[10] —, “docker compose down. Docker CLI reference,” https://docs.docker.com/reference/cli/docker/compose/down/, accessed 2026-09-20.
[11] A. Wiggins et al., “The twelve-factor app,” https://12factor.net, last updated 2017; accessed 2026-09-20.
[12] The Kubernetes Authors, “Volumes. Kubernetes documentation v1.37,” https://kubernetes.io/docs/concepts/storage/volumes/, accessed 2026-09-20.
[13] LangChain, Inc., “LangGraph documentation: Persistence,” https://docs.langchain.com/oss/python/langgraph/persistence, accessed 2026-09-20.
[14] —, “LangGraph documentation: Interrupts,” https://docs.langchain.com/oss/python/langgraph/interrupts, accessed 2026-09-20.
[15] —, “LangGraph documentation: Durable execution (legacy page, release tag 0.6.0),” https://langchain-ai.github.io/langgraph/concepts/durable_execution/, accessed 2026-09-20; the page was later removed and its URL redirects to Persistence.
[16] J. Cito, G. Schermann, J. E. Wittern, P. Leitner, S. Zumberi, and H. C. Gall, “An empirical analysis of the Docker container ecosystem on GitHub,” in Proc. of the 14th International Conference on Mining Software Repositories (MSR), 2017.
[17] J. Henkel, C. Bird, S. K. Lahiri, and T. Reps, “Learning from, understanding, and supporting DevOps artifacts for Docker,” in Proc. 42nd Int. Conf. on Software Engineering (ICSE), 2020, pp. 38–49.
[18] G. Rosa, F. Zappone, S. Scalabrino, and R. Oliveto, “Fixing Dockerfile smells: An empirical study,” Empirical Software Engineering, 2024.
[19] M. H. Ibrahim, M. Sayagh, and A. E. Hassan, “A study of how Docker Compose is used to compose multi-component systems,” Empirical Software Engineering, vol. 26, no. 6, 2021.
[20] A. Rahman, C. Parnin, and L. Williams, “The seven sins: Security smells in infrastructure as code scripts,” in Proc. of the 41st International Conference on Software Engineering (ICSE), 2019.
[21] A. Rahman, S. I. Shamim, D. B. Bose, and R. Pandita, “Security misconfigurations in open source Kubernetes manifests: An empirical study,” ACM Trans. Softw. Eng. Methodol., vol. 32, no. 4, 2023.
[22] N. Islam, R. S. Ayon, D. G. Thomas, S. Ahmed, and M. Wardat, “When agents fail: A comprehensive study of bugs in LLM agents with automated labeling,” arXiv:2601.15232, 2026.
[23] M. Cemri, M. Z. Pan, S. Yang, L. A. Agrawal, B. Chopra, R. Tiwari, K. Keutzer, A. Parameswaran, D. Klein, K. Ramchandran, M. Zaharia, J. E. Gonzalez, and I. Stoica, “Why do multi-agent LLM systems fail?” in Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2025, arXiv:2503.13657.
[24] A. Asgari, A. Panichella, P. Derakhshanfar, and M. Olsthoorn, “What challenges do developers face in AI agent systems? An empirical study on Stack Overflow and GitHub issues,” arXiv:2510.25423, 2025, v2, January 2026.
[25] LangChain, Inc., “LangChain: Build context-aware reasoning applications,” https://github.com/langchain-ai/langchain, 2024, 130k+ GitHub stars, 40M+ monthly PyPI downloads.
[26] —, “LangGraph: A framework for building stateful, multi-actor applications with LLMs,” https://github.com/langchain-ai/langgraph, 2024.
[27] LangChain, “State of agent engineering,” https://www.langchain.com/state-of-agent-engineering, 2025, survey of 1,340 respondents, 18 Nov–2 Dec 2025. Accessed 2026-10-25.
[28] M. Mastouri, E. Ksontini, and A. Barrak, “Replication package: operational contracts between agent frameworks and container platforms,” Zenodo record 23649669 (reviewer access link), 2026, access link for reviewers.
[29] E. Kalliamvakou, G. Gousios, K. Blincoe, L. Singer, D. M. German, and D. Damian, “An in-depth study of the promises and perils of mining GitHub,” Empirical Software Engineering, vol. 21, no. 5, pp. 2035–2071, 2016.
[30] B. Burns, B. Grant, D. Oppenheimer, E. Brewer, and J. Wilkes, “Borg, Omega, and Kubernetes,” ACM Queue, vol. 14, no. 1, pp. 70–93, 2016.
[31] M. Monperrus, M. Eichberg, E. Tekes, and M. Mezini, “What should developers be aware of? An empirical study on the directives of API documentation,” Empirical Software Engineering, vol. 17, no. 6, pp. 703–737, 2012.
[32] The Kubernetes Authors, “Virtual IPs and service proxies. Kubernetes documentation v1.37,” https://kubernetes.io/docs/reference/networking/virtual-ips/, accessed 2026-09-20.
[33] —, “Jobs. Kubernetes documentation v1.37,” https://kubernetes.io/docs/concepts/workloads/controllers/job/, accessed 2026-09-20.
[34] —, “Node-pressure eviction. Kubernetes documentation v1.37,” https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/, accessed 2026-09-20.
[35] LangChain, Inc., “LangSmith documentation: Agent server environment variables,” https://docs.langchain.com/langsmith/env-var, see BG_JOB_SHUTDOWN_GRACE_PERIOD_SECS. Accessed 2026-09-20.
[36] R. Meng, M. Mirchev, M. Böhme, and A. Roychoudhury, “Large language model guided protocol fuzzing,” in Proc. Network and Distributed System Security Symp. (NDSS), 2024.
[37] D. Xie, B. Yoo, N. Jiang, M. Kim, L. Tan, X. Zhang, and J. Lee, "How effective are large language models in generating software specifications?" in Proc. IEEE Int. Conf. on Software Analysis, Evolution and Reengineering (SANER), 2025.
[38] H. Li, Z. Dong, S. Wang, H. Zhang, L. Shen, X. Peng, and D. She, "Extracting formal specifications from documents using LLMs for test automation," in Proc. 33rd IEEE/ACM Int. Conf. on Program Comprehension (ICPC), 2025.
[39] T. Ahmed, P. Devanbu, C. Treude, and M. Pradel, “Can LLMs replace manual annotation of software engineering artifacts?” in Proc. 22nd Int. Conf. on Mining Software Repositories (MSR), 2025.
[40] E. N. Elnozahy, L. Alvisi, Y.-M. Wang, and D. B. Johnson, “A survey of rollback-recovery protocols in message-passing systems,” ACM Computing Surveys, vol. 34, no. 3, pp. 375–408, 2002.
[41] P. Helland, “Life beyond distributed transactions: An apostate’s opinion,” in Proc. 3rd Biennial Conference on Innovative Data Systems Research (CIDR), 2007, pp. 132–141.
[42] D. Wu, H. Wang, W. Yu, Y. Zhang, K.-W. Chang, and D. Yu, "LongMemEval: Benchmarking chat assistants on long-term interactive memory," in Proc. International Conference on Learning Representations (ICLR), 2025, arXiv:2410.10813.
[43] W. G. Cochran, Sampling Techniques, 3rd ed. John Wiley & Sons, 1977.
[44] iZiTTMarvin/MemCoach, “feat: 2026-04-12 - 1) implement cross-device session recovery with LangGraph SQLite checkpointer; 2) fix frontend error handling & Review page imports,” gitHub commit 5fe31eb; MemorySaver() replaced by SqliteSaver. Accessed 24 Oct 2026. [Online]. Available: https://github.com/iZiTTMarvin/MemCoach/commit/5fe31ebd2a69f6fa246cb760be29f53a1d081eae
[45] kgarbacinski/AutoViralAI, “fix: survive container restarts for pending approval interrupts,” gitHub commit b09d304. Accessed 24 Oct 2026. [Online]. Available: https://github.com/kgarbacinski/AutoViralAI/commit/b09d304a5f0eee1dbc00eecae81d810a621a9317
[46] theexperiencecompany/gaia, “fix(docker): mount pgdata at /var/lib/postgresql for postgres 18 compatibility (#681),” gitHub commit 47f5fb7. Accessed 24 Oct 2026. [Online]. Available: https://github.com/theexperiencecompany/gaia/commit/47f5fb704164b6c31ad1835b181ea515c9428276
[47] skyflo-ai/skyflo, “feat (infra): add engine init containers for DB and Redis readiness,” gitHub commit bfce170. Accessed 24 Oct 2026. [Online]. Available: https://github.com/skyflo-ai/skyflo/commit/bfce170ea55772832c67dab39ebff2121aa8e2f5
[48] kvyb/opentulpa, “Drain active web and Telegram turns during deploy shutdown,” gitHub pull request #90. Accessed 24 Oct 2026. [Online]. Available: https://github.com/kvyb/opentulpa/pull/90
[49] cohen-liel/hivemind, “fix: post-PR#12 cleanup — idle/waiting state bug, config sync, and override case sensitivity (#13),” gitHub commit 88dcdf; in server.py, orchestrator state is saved before stop(), which runs under GRACEFUL_STOP_TIMEOUT. Accessed 24 Oct 2026. [Online]. Available: https://github.com/cohen-liel/hivemind/commit/88dcdf214ac93176b4eeebbcd8c25c8557794f
[50] ballyang747/dingTalkMutilAgent, “chore(deploy): Docker containerization (full + lite) + tighten .gitignore for publish,” gitHub commit 16ebc71; the fix is ENTRYPOINT ["/usr/bin/tini", "--", ...] with exec gosu in the entrypoint. Accessed 24 Oct 2026. [Online]. Available: https://github.com/ballyang747/dingTalkMutilAgent/commit/16ebc71c16bf4b8a8230cdea9533795fcc09b59e
[51] Yanyutin753/LambChat, “fix: dedupe scheduled task fire slots,” gitHub commit 2777c19. Accessed 24 Oct 2026. [Online]. Available: https://github.com/Yanyutin753/LambChat/commit/2777c196e43154ec686e9f384eda2da7854280c4
[52] ginlix-ai/LangAlpha, “feat(lifecycle): recovery scanner for orphaned runs,” gitHub commit ec0c18d. Accessed 24 Oct 2026. [Online]. Available: https://github.com/ginlix-ai/LangAlpha/commit/ec0c18d268a1fe068d138076fa95dd8ae327c58c
[53] divisor/evidencelab, “feat(admin): group-only run config, cancel a run, recover orphaned runs,” gitHub commit dce2943. Accessed 24 Oct 2026. [Online]. Available: https://github.com/dividor/evidencelab/commit/dce29433b9b24463ed3aa026de00f30fca3a1174
[54] langchain-ai/open-swe, “fix: Avoid hanging on a stale sandbox-creating sentinel after restart,” gitHub pull request #1182. Accessed 24 Oct 2026. [Online]. Available: https://github.com/langchain-ai/open-swe/pull/1182
[55] lksnext-ai-lab/ai-core-tools, “Fix OOM kill in K8s: replace per-request checkpoint connections with shared pool,” gitHub pull request #89. Accessed 24 Oct 2026. [Online]. Available: https://github.com/lksnext-ai-lab/ai-core-tools/pull/89
[56] sourangshupal/Agentic-RAG-project, “fix(k8s): increase API memory limit from 2gi to 4gi,” gitHub commit a87437b. Accessed 24 Oct 2026. [Online]. Available: https://github.com/sourangshupal/Agentic-RAG-project/commit/a87437bb121674d3a7c33451ffb5926b9912f5ec
[57] PurpleAILAB/Decepticon, “fix(sandbox): clean up orphaned tmux servers at daemon startup,” gitHub pull request #505. Accessed 24 Oct 2026. [Online]. Available: https://github.com/PurpleAILAB/Decepticon/pull/505
[58] Emiyaaaaa/HiveMind, “feat: enhance event streaming with Last-Event-ID support,” gitHub commit e5d1115. Accessed 24 Oct 2026.
[Online]. Available: https://github.com/Emiyaaaaa/HiveMind/commit/e5d1115a5518eaeb76d81f5f489a5dc4bb8ba244
[59] Y. Wang, X. Xu, J. Chen, T. Bi, W. Gu, and Z. Zheng, “An empirical study of agent developer practices in AI agent frameworks,” arXiv:2512.01939, 2025.
[60] S. Alvanakis Apostolou, J. Bosch, and H. Holmström Olsson, “Agentic AI in industry: Adoption level and deployment barriers,” arXiv:2605.14675, 2026.
[61] M. Galster, S. Mohsenimofidi, J. L. Lulla, M. A. Abubakar, C. Treude, and S. Baltes, “Configuring agentic AI coding tools: An exploratory study,” in Proc. of the 3rd ACM International Conference on AI-Powered Software (AIware), 2026, pp. 11–20.
[62] B. Rombaut, “Inside the scaffold: A source-code taxonomy of coding agent architectures,” 2026, arXiv:2604.03515.
[63] L. Dong, Q. Lu, and L. Zhu, “A taxonomy of AgentOps for enabling observability of foundation model based agents,” 2024, arXiv:2411.05285.
[64] A. Barrak, “Traceability and accountability in role-specialized multi-agent llm pipelines,” in 2025 40th IEEE/ACM International Conference on Automated Software Engineering Workshops (ASEW). IEEE, 2025, pp. 315–322.
[65] J. Beem, A. Barrak, and E. Ksontini, “Who broke the pipeline? traceability and accountability in multi-agent llm software engineering pipelines,” 2026.
[66] Z. Chen, Y. Cao, Y. Liu, H. Wang, T. Xie, and X. Liu, “A comprehensive study on challenges in deploying deep learning based software,” in Proc. of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE), 2020.
[67] Z. Chen, H. Yao, Y. Lou, Y. Cao, Y. Liu, H. Wang, and X. Liu, “An empirical study on deployment faults of deep learning based mobile applications,” in Proc. of the 43rd International Conference on Software Engineering (ICSE), 2021.
[68] E. Ksontini, M. Kessentini, T. Ferreira, and F. Hassan, “Refactorings and technical debt in Docker projects: An empirical study,” in Proc. 36th IEEE/ACM International Conference on Automated Software Engineering (ASE), 2021.
[69] E. Ksontini, A. Abid, R. Khalsi, and M. Kessentini, “DRMiner: A tool for identifying and analyzing refactorings in Dockerfile,” in Proc. 21st IEEE/ACM International Conference on Mining Software Repositories (MSR), 2024.
[70] K. Eng, A. Hindle, and E. Stroulia, “Patterns of multi-container composition for service orchestration with Docker Compose,” Empirical Software Engineering, vol. 29, no. 3, p. 65, 2024.
[71] G. Muntoni, J. Soldani, and A. Brogi, “Mining the architecture of microservice-based applications from their Kubernetes deployment,” in Advances in Service-Oriented and Cloud Computing (ESOCC Workshops), 2021.
[72] D. Neri, J. Soldani, O. Zimmermann, and A. Brogi, “Design principles, architectural smells and refactorings for microservices: A multivocal review,” Software and Systems Modeling, vol. 19, pp. 3–21, 2020.