What Agents Inherit
Why do agent pilots work while production deployments fail?
Agent pilots succeed on short, bounded tasks finished in one pass; production runs finish only when the design keeps stable intermediate states and verifies each step before the next one builds on it.
Agent pilots work because they run short, bounded tasks on clean inputs, where one uninterrupted pass is likely to finish. Production runs are long. They wait days for an approval, cross four or five systems, and get interrupted by deploys, timeouts, and data that changes underneath them. A run built as one continuous pass loses its work at the first interruption, and a run checked only at the end cannot say which step went wrong. Production agents need stable intermediate states, so an interrupted run resumes from its last good step, and verification at each step, so a bad output is caught before the next step builds on it. Herbert Simon described the first requirement in 1962 with two watchmakers. Edsger Dijkstra built the second into an operating system in 1968. Current durable execution tools make both affordable, with one gap they leave to the designer.
Why do agent pilots succeed?
A pilot is chosen to succeed, and the choice does most of the work. The task is short: read a request, look something up, draft a reply or a record. The inputs are curated, and the run finishes in seconds or minutes inside one process that nobody restarts. Approvals are stubbed, or the person watching clicks them. If a step fails, someone reruns the whole thing.
Under those conditions the model’s accuracy on each step is the only variable being tested, and current models are good at short tasks. In March 2025, across multi-step software and reasoning tasks, METR found that the models it tested had “almost 100% success rate on tasks taking humans less than 4 minutes, but succeed <10% of the time on tasks taking more than around 4 hours” (METR). Models have handled longer tasks since. The shape of the curve is what matters here: success falls as the task gets longer.
Compounding explains the shape. If each step is right 99 times in 100 and failures are independent, a 20-step run finishes clean about 82% of the time and a 100-step run about 37% of the time. Production processes are longer than pilots, and their steps include waits, handoffs, and writes to systems the pilot never touched.
What happens when a long agent run meets production?
A bank’s business account-opening agent shows the mechanism. A small manufacturer applies for an operating account and an overdraft line, listing three beneficial owners.
The run touches four systems and one person. It opens the onboarding case in the CRM, sends the business and its owners to KYC/KYB screening, requests a credit decision on the overdraft line, and creates the account in core banking in restricted status so the customer can fund it. Screening returns a possible match on one owner, so the case waits for a compliance analyst’s review. The review takes two days.
In the pilot, this ran in two minutes on synthetic applicants who never produced a screening match. In production, two things happen during the wait. The agent service is redeployed, and the run’s state lived in process memory, so the run starts over from the application event it was triggered by. On the second pass it creates a second restricted account, because nothing tells it the first one exists. It also sends a second screening request built from the ownership list in that original event, although the relationship manager corrected one owner’s name in the CRM the day before.
No model error appears anywhere in that sequence. Each step, taken alone, was reasonable. The stall lands on people: the compliance analyst now has two alerts for the same business, one screened against an owner list that is out of date, and has to work both; the relationship manager has to close the duplicate account and explain it; and the customer receives two account numbers before either one can move money. The agent program acquires a reputation for mistakes that are gaps in the design of the run.
Enterprises have handled waiting before. Workflow and BPM suites persisted each process instance between steps so that it could wait days for an approval and resume where it stopped.
What did Herbert Simon’s watchmakers show about long processes?
In “The Architecture of Complexity” (1962), Simon told a parable about two watchmakers, Hora and Tempus, whose watches had about 1,000 parts each (Simon, 1962). Tempus built his so that a partly assembled watch, set down to answer the phone, “immediately fell to pieces and had to be reassembled from the elements.” Hora built subassemblies of about ten parts, put ten of those into larger subassemblies, and ten of those into the watch. An interruption cost Hora a few parts of work.
Simon then did the arithmetic. With a one-in-a-hundred chance of interruption per part, Tempus completes a full assembly 44 times per million attempts, while Hora completes a ten-part subassembly nine times in ten. Tempus takes about four thousand times as long per watch. Simon’s conclusion: “complex systems will evolve from simple systems much more rapidly if there are stable intermediate forms than if there are not.”
The run in the example is Tempus’s watch. Its intermediate states existed only in memory, so a redeploy sent it back to the elements. The pilot never showed this because short runs rarely meet an interruption, and that is the one regime where Tempus does fine.
Simon’s second idea says where the subassemblies belong. In a nearly decomposable system, “the short-run behavior of each of the component subsystems is approximately independent of the short-run behavior of the other components.” Interactions inside a part are strong; interactions between parts are weak. In an agent run, the strong interactions sit inside a step that works one system, such as assembling a screening request from the ownership documents. The weak ones sit between systems. Those seams are where a run should come to rest in a recorded state that survives a restart.
How did Dijkstra verify a system too large to test whole?
Stable intermediate states answer interruption. They do nothing about the bad step, the one that completes without error and produces the wrong thing, which later steps then build on.
Dijkstra’s 1968 report on his THE multiprogramming system, built by six people at the Technological University, Eindhoven, describes a strict hierarchy of levels: processor allocation at level 0, memory segments at level 1, and so on up to user programs. Each level hid a resource from the levels above it. The team tested from the bottom: “Starting at level 0 the system has been tested, each time adding (a portion of) the next level only after the previous level has been thoroughly tested” (EWD 196).
No system can be tested on every input, so Dijkstra tested on relevant cases, and “What is relevant or not, cannot be decided as long as one regards the mechanism as a black box.” An end-to-end agent eval treats the agent as a black box: request in, outcome out, pass or fail. When it fails, it cannot say which step failed. When it passes, it cannot say which states were never exercised. Dijkstra added the line most relevant to anyone scaling a pilot: “the larger the project, the more essential the structuring!”
For a production agent, the levels are the checks a proposal passes before it commits. Did the run read the current ownership record from the CRM? Does the screening request cover every owner above the bank’s ownership threshold? Does the account the agent proposes match the credit decision and the customer’s entity type? Each check is small enough to test against its own cases, and each runs before the next step depends on its output. These external checks are part of the control tier described in why enterprise AI agents stall.
What does durable execution fix for AI agents, and what does it leave open?
Durable execution is the current product category for Hora’s subassemblies. Temporal records each workflow’s steps in an event history; if the application crashes, Temporal “will automatically recreate its pre-failure state so it can continue right where it left off,” and completed steps, LLM calls included, are reused from the history instead of run again (Temporal docs). AWS Step Functions can redrive a failed Standard Workflow execution “from the unsuccessful step,” keeping the results of the steps that succeeded (AWS docs), and its callback pattern pauses a workflow until a task token returns, for example from a human approval, for up to a year (AWS docs). Agent frameworks carry the same idea: LangGraph’s checkpointers persist graph state for fault tolerance and human approval steps, and its documentation notes that the in-memory checkpointer used in its quickstart loses every checkpoint when the process restarts (LangGraph docs).
The gap is the commit. A checkpoint records that the run reached a step; it does not make that step safe to repeat. Temporal’s documentation describes the case: a worker finishes an activity and crashes before reporting it, so the activity runs again. Temporal recommends idempotent activities, enforced by an idempotency key at the service being called (Temporal docs). Integration platforms met the same problem with retries, and in the integration programs I worked, retries that posted twice to the ERP or billing system were common enough that the integration team built the duplicate checks and reconciliation jobs itself. In the example, the duplicate account survives durable execution unless the account-creation call carries a key that core banking checks. Recognizing a repeated posting as a repeat is a job for the control tier and the system of record, and the workflow engine cannot do it for them.
Per-step evals are the tooling counterpart to Dijkstra’s levels: score each step against its own cases (retrieval, policy check, record assembly), and let the next step run only on output that passed. When a run goes wrong, the team knows which level failed.
What should leaders inspect before an agent pilot goes to production?
Each of these can be answered from the design, before scale:
- How long does the production process take, request to final posting, in wall-clock time, and what is the longest wait inside it? If the answer is days, where does the run’s state live during the wait?
- If the agent service restarts mid-run, which step does the run resume from? If the answer is “the beginning,” the run is built like Tempus’s watch.
- For each step that writes to a system of record, what key makes a repeat harmless, and does the receiving system check it?
- Which steps have their own evaluation, and does a failed check stop the next step from running?
- When a run fails at step seven, whose queue does it land in, and what does that person see?
These questions sit in the orchestration and business meaning layers of the Enterprise Software Layer Model, between the agent’s proposal and the system of record. The last essay in this series assembles them, with the rest of the control tier, into a production-ready architecture for AI agents.
Questions this essay answers
Why do AI agent pilots fail in production?
Pilots run short tasks on curated inputs in one uninterrupted pass, so per-step model accuracy is the only variable tested. Production runs are long, wait for approvals, get restarted, and write to systems of record, so they fail on lost state, repeated postings, and unverified intermediate steps that the pilot never exercised.
What is durable execution for AI agents?
Durable execution records each completed step of a run so that a crashed or paused run resumes from its last good step instead of starting over. Temporal, AWS Step Functions, and agent-framework checkpointers such as LangGraph's provide it. It does not make a repeated write to a system of record harmless; that needs an idempotency key the receiving system checks.
Should AI agents be evaluated end to end or step by step?
Both, but end-to-end evals alone cannot say which step failed or which states were never exercised. Dijkstra's argument from 1968 applies: test each level against its own small set of relevant cases, and let the next step run only on output that passed.