Software escrow is an arrangement in which a software supplier deposits its source code, and often the build instructions, with a neutral third party, the escrow agent, who releases it to the customer if defined events occur, such as the supplier going insolvent or ceasing to maintain the product. It answers one question: if the supplier disappears, does the customer still have something to work with? It does not answer a second question that matters more once AI agents write part of the code: how was this code built, what was checked, and who approved it? A deposit proves that the code exists and, at best, that it compiles. It does not prove that the code was reviewed, tested against an agreed contract, or signed off by a named person. A modern deposit should therefore carry the evidence of the build next to the code itself.
What is software escrow for?
The classic case is a business that depends on software it does not own. A manufacturer runs its planning on a vertical product from a small vendor, a clinic runs its scheduling on one. If the vendor closes, the customer holds a licence to a binary and nothing else. Escrow turns that risk into a contract clause.
The mechanism has four parts:
- The deposit. The supplier hands source code, and usually build scripts and documentation, to the escrow agent.
- The release conditions. Events written into the agreement: insolvency, cessation of support, a material breach of the maintenance terms.
- The verification. Agents typically offer levels, from checking that the files are present and readable to rebuilding the product in a clean environment.
- The update rule. The deposit is refreshed on a schedule, so that what is held is not three versions old.
It is a sound instrument and it is cheap compared with the risk it covers. The point of this article is not that it is obsolete. It is that it answers a question from before agents wrote code.
What question does it answer, and which one does it leave open?
Escrow answers a continuity question: if the supplier is gone, can we keep the system running and maintain it ourselves? The buyer who asks it is protecting against a disappearance.
The question that now sits next to it is a provenance question: how did this code come to be what it is, and who took responsibility for it? A buyer asks it after an incident, during a security review, or when a regulator or insurer asks the supplier to show how changes are controlled.
| | Continuity question | Provenance question | | --- | --- | --- | | Typical wording | "If you disappear, do we have the code?" | "How was this change made, checked and approved?" | | What answers it | The deposit and its verification | A record created while the work was done | | When it is needed | After the supplier fails | Any time, often years after the change | | Who can fulfil it | The escrow agent, from the deposit | Only the supplier's delivery process |
An escrow agent cannot reconstruct provenance after the fact. It can only store what it is given. If the supplier's process produced no record, there is nothing to deposit.
Why is continuity not provenance?
Because code can be perfectly recoverable and still unaccountable. A deposit can contain a repository that builds cleanly and yet hide that a large share of it was generated by an agent, that no one read the diffs line by line, that the tests were run by the model and reported by the model, and that nobody with a name approved the release.
This is not a hypothetical worry. The METR randomised trial published on 10 July 2025 found that experienced developers took 19% longer with AI tools while believing they were faster. Self-reported progress, human or machine, is weak evidence, which is why verification has to be run by a system and stored.
For the customer who inherits the code through a release event, the consequence is practical. They get a repository and no way to tell which parts were reviewed, which were only generated, and which tests mean anything. They inherit the maintenance burden without the context that would make it manageable. The shape of the problem is the one described in shadow AI in your codebase, only now it sits inside a contractual deposit.
What would a modern deposit have to include?
Add to the source and build instructions a small set of records that exist independently of the model:
- A bill of materials. What the build contains, in a standard format such as CycloneDX. See SBOM for AI-generated code for what it does and does not tell you.
- Build provenance. Where and how the artefact was built, expressed in a framework such as SLSA.
- The change record. For each change: the original request, the task contract, the diff, the verification output, the outcome and the named approver, as described in software audit trail when an agent made the change.
- A statement of how agents were used. Which parts of the work an agent performed, under which rules, with which checks. Short, factual, versioned.
- The failures. Rejected and retried changes are part of the history. A record with only successes is not trusted.
None of this requires the escrow agent to change how it works. It is additional content in the deposit, and the verification level can be extended to check that the records are present and consistent with the commits.
The condition is that the supplier produces these records as a by-product of delivery. A record assembled by hand when the deposit is due will be incomplete exactly where it matters.
What should you ask for in the next contract?
If you are the buyer, or the supplier answering a buyer, these clauses cost little to add:
- The deposit includes the change record for every release, not only the source.
- Verification covers the presence and integrity of the records, not only a clean rebuild.
- Each release in the record has a named person who approved it, with a date.
- Agent involvement is declared in writing, with the rules it operated under.
- The deposit is refreshed with every released version, not once a year.
Keep it proportionate. A small supplier cannot produce a forensic archive, and asking for one will only produce a form filled in for the occasion. What you can reasonably ask for is that the records exist because the process creates them.
That is the principle behind Detent, the end-to-end delivery system: the system prepares the record while the work is done, a person signs it, and nothing is released without that signature. A deposit built from that output carries code and proof together. For how tools compare on what they leave behind once the session ends, see the benchmark.
