HeadcountZero ← All entries

What is a dry run?

A run of the whole procedure on real inputs in which every write is recorded instead of made.

Glossary4 min readUpdated 1 Aug 2026

Definition

dry run (n.) – a full run of a procedure against real inputs in which the agent reads, decides and prepares every action, and the layer it writes through records each write instead of making it.

A dry run for an AI agent answers one question before the agent is allowed to touch a live system: given today's real data, what would it have done? The agent runs the procedure end to end. It reads the same sources, makes the same decisions and builds the same changes it would on a live run. At the point of writing, nothing is written. Each intended change, the price it would set, the email it would send, the record it would update, lands in a list that a person or a check can read.

The output of a dry run is that list, and the list is the evidence. It shows how many changes the agent intended, which records they touch, and whether any of them is the kind of change that would need a judgment gate. It does not show that the changes would have worked. A dry run proves intent, not effect.

The term comes from software operations, where it is common and means much the same thing. The Kubernetes project, in its post on apiserver dry-run, describes requests marked as dry-run that the server processes as usual but guarantees not to persist, and notes that a purely local dry run skips the server's own validation. The same split applies to agents: a dry run that never reaches the real system cannot tell you what the real system would have refused.

A dry run is the propose rung of the mandate ladder made mechanical. On propose, the agent prepares each change and a person applies it. A dry run is the same preparation with no one applying anything, run as often as needed. It is how a procedure is first watched on real data after its golden run, and how a changed procedure is checked before it goes back to its usual rung.

Where the switch lives decides whether the dry run is honest. An instruction in the prompt that says not to write anything is a request, and an agent that misreads its task can misread that too. A dry run that can be trusted is enforced below the agent: the tool it calls has a mode that logs instead of writing, or the credential it holds can read and cannot write. The same rule that applies to a kill switch applies here: it has to hold while the agent is wrong.

A dry run is also the cheapest way to see a procedure's real blast radius before granting it. The written cap says a job changes at most fifty prices a run. The dry run on this morning's feed says it would have changed four hundred. The gap between the two numbers is the finding, and it costs nothing to find.

Dry run meaning, with an example

The phrase means rehearsal: going through the motions without the consequence. For an AI agent the motions are the reads and decisions, and the consequence is the write. A dry run keeps the first and withholds the second. Dry run mode is the same thing kept as a standing setting on a procedure, so that it can be turned on whenever the procedure changes.

A hypothetical: say an agent updates product prices every hour from a supplier feed. Before it is given write access, it runs in dry run mode for a week. Each hour, instead of writing prices, it writes a file listing every price it would have changed, the old value, the new value and the feed line it came from. A person reads the files. The first day shows a feed line with a missing decimal point that would have set one product to a hundredth of its price. That line becomes a verify step in the playbook: no single change larger than a stated percentage is written without a person. The dry run found it, and no customer saw it.

How dry runs fail

The dry run differs from the live run. If dry run mode skips a step, uses a cached copy of the data or calls a different tool, it is a rehearsal of another procedure. The only safe difference between the two modes is the final write, and the code path should be the same up to that point.

The dry run leaks. A tool that was assumed to be read-only sends a notification, or a write goes through a second tool nobody switched to dry run mode. Each tool the agent can reach has to be checked, which is easier when every access grant is a recorded line under org as data.

The dry run is trusted for what it cannot show. A change can look right in the list and still fail when it meets the live system: a record locked by another process, a value the system rejects, an email address that bounces. Passing a dry run means the intent was correct. Whether the effect was correct is answered by the verify step on the first live run, which is why the first live runs after a dry run start small.