When the Agent Commits and the Bill Is Yours

At dawn, two identical crates of office supplies sit side by side on a Sri Lankan supplier's loading verandah, already being loaded, while the business owner and the supplier stand over them, each pointing at a different crate.

AI, Human Agency and the Digital Economy · Part 41 of 41


A purchase order went out at three in the morning. Nobody signed it, and it was still the company’s to pay.

(Illustrative — constructed, no supplier and no amounts.) The assistant had a spending limit and a short list of approved suppliers, and it did what it was asked — it reordered the consumables the office had run low on. When a confirmation did not come back the way it expected, it ordered them again.

Why it fired twice is a technical question, and it has good answers elsewhere.

The commercial question is the one I want to sit with. There are now two orders. A supplier has read both and begun to act on both. Which one is the mistake, and who gets to decide that?

Inside your own walls, a wrong action is yours to undo. Across the line between two parties, somebody else is already moving.

The stages of a transaction, and the record that grants an assistant its authority, are set out in the piece before this one. This one starts on the far side of that line.

A second order is a second obligation

I wrote a standing rule for building with these systems, and it belongs here:

“A model’s generated reasoning is not an authoritative audit trail. Record sources, applicable rule versions, actions, approvals and resulting system state.”

An explanation is not evidence. A model will tell you, fluently and after the fact, why it placed the second order, and that account is generated text, not a record. What you can rely on against a counterparty, and it against you, is narrower and duller: the offers that came in, the approval that let one become an order, and the outcome the other side acknowledged.

I would like to tell you that the law settles the rest. It does not settle it in the direction people expect.

Sri Lanka is a party to the UN Convention on the Use of Electronic Communications in International Contracts, in force here since 1 February 2016. Its effect is to make a machine-formed contract real, not to make it easy to unwind. It also reaches less far than its name suggests: it applies to contracts between parties whose places of business are in different States, and not to contracts concluded for personal, family or household purposes. And on the question that matters here — who carries the cost of that second order — it says nothing at all.

The instrument creates the commitment. It does not allocate the loss.

That gap is not a footnote. It is the subject. My conclusion from it, and it is mine rather than anyone’s rule: nothing in the law I can point to makes an agent’s duplicate commitment less real than the first one, which is why preventing it is the design’s job and not the dispute process’s.

Preventing a duplicate is partly an engineering problem, and that half is well understood. My half is commercial. A duplicate is not a retry. It is a second offer accepted, a second obligation created, and a second invoice somebody will send you.

So record the offers, the approvals and the acknowledged outcomes as facts rather than as narration — and record them before you need them.

Who pays when a bounded agent commits wrongly?

Ask anyone selling you agentic commerce who bears the loss, and you usually get an answer about accuracy rates. That is not an answer to the question.

The honest position is that nobody has settled it. The principal delegated. The operator built. The counterparty accepted. Each has a case against the others, and no rule was written for this. What can be said with confidence is that the assistant does not bear it — an agent is not a party, holds no authority of its own, and cannot be liable for anything. Authority is always the principal’s, delegated and revocable.

One jurisdiction is visibly re-engineering part of this. Directive (EU) 2024/2853 redefines “product” to mean all movables and says it “includes electricity, digital manufacturing files, raw materials and software”; its recital 13 names AI systems directly; its Article 8 is headed “Economic operators liable for defective products”; and Article 10(1) puts on the claimant the burden of proving defectiveness, damage, and the causal link between them. It was published in the Official Journal on 18 November 2024 and does not apply to products placed on the market or put into service before 9 December 2026. It is EU law; Sri Lanka has no equivalent, and I am not calling for one here.

Read it as a frontier, not a model — my judgment. Even in the EU it reaches defective products that cause damage. It does not reach “the assistant ordered the right thing twice.” A commercial mistake is not a defect, and no directive anywhere makes an agent liable.

Fraud lives on the same boundary, and I will describe only its shape. An assistant that reads offers is an assistant that can be written to: whatever a counterparty puts in front of it becomes an input to a decision you will be billed for. No fraud-incidence figure for agent-mediated commerce exists in any primary source I reached, for Sri Lanka or internationally, and I will not construct one.

What happens when every buyer’s agent is optimising at once?

This is the part that cannot exist inside one organisation. It only appears at scale, between parties.

Calvano, Calzolari, Denicolò and Pastorello put pricing algorithms into a modelled oligopoly and found they “consistently learn to charge supra-competitive prices, without communicating with one another.” Their own account of how: “The algorithms learn these strategies purely by trial and error. They are not designed or instructed to collude, they do not communicate with one another, and they have no prior knowledge of the environment in which they operate.”

The scope matters, every time. This is a simulation — Q-learning agents in a modelled oligopoly, in a working paper text dated April 2019. It is not observed market data and not a documented market failure. The authors say so themselves: supra-competitive prices are “not, per se, genuine proof of collusion, as high prices could be due to the algorithms’ failure to learn the competitive equilibrium.” And there is no Sri Lankan data on algorithmic pricing at all, so this evidence is entirely international and entirely simulated.

A risk demonstrated in a model is still worth designing against. That is a judgment, not a legal conclusion, and I am not saying anyone has broken a competition law.

Supplier bias is the quieter version of the same thing. Your agent only sees what it can reach. If the catalogue it reads is chosen by whoever built the smoothest integration rather than whoever offers the best terms, you have not automated procurement. You have automated a preference — and you will not notice, because nobody is reading the offers any more. That is why offers get recorded, not only orders.

If it goes wrong, what can you actually produce?

A dispute is not an argument about what happened. It is an argument about what each side can show.

So the practical test of a delegation is not whether the agent is good. It is whether, six weeks later, you can put in front of a stranger what was offered, what was approved, under what limit, and what the other side confirmed. If that pile is empty, you are not in a dispute. You are in a negotiation you have already lost.

And recovery is often partial — goods shipped, a slot held, a price that moved. Expect to get some of it back and write off the rest, which is an argument for caring about the size of a commitment long before the elegance of the automation.

“If the agent gets it wrong, we cancel the order”

This is the strongest objection to everything above, and it deserves a straight answer.

For small, reversible, repeat purchases it is broadly true. A supplier who wants your business next month takes the cancellation without a word. Automated negotiation has run quietly in bounded settings for a very long time, and mostly nothing happens.

But “we cancel it” is an assumption about the counterparty, not a property of the system. It fails exactly where it matters: a commitment already relied on, a counterparty with no reason to accommodate you, a dispute in which neither side can produce what was offered and approved, and volume — one wrong order becoming a thousand before anyone looks.

Reversibility is a design property you have to buy. It is not a default.

A checklist that is allowed to say no

The checks below are my proposal, not a standard, and no institution has adopted them. Run them per commitment type, not per system. The point is that the last row is a legitimate answer.

The commitment What it costs if it is wrong Who bears that cost today What has to exist before it is switched on
Repeat order, approved supplier, inside a standing limit Small, usually reversible You, in practice — a monthly supplier absorbs it Recorded offer, approval and acknowledged outcome; a duplicate check that blocks rather than retries
First order from a new counterparty Unknown until it happens Unallocated — this is the gap A named human approval, and cancellation terms agreed between the parties beforehand
Anything a counterparty acts on before you can review it — a booking, a delivery, a held slot Theirs as well as yours Usually whoever relied first An agreement on what is reversible, and for how long
Price-sensitive buying against other automated buyers Competitive, not only financial Unallocated — a design risk, not a legal claim Human review of pricing outcomes over time, not order by order
Anything you cannot describe in the first column Unknowable, which is the finding itself — Don’t switch it on. “Not yet, not this” is an answer

What is near-term, and what is still speculative

“Ambition should be paired with staged implementation and explicit uncertainty.”

Bounded applications are here now: known counterparties, standing terms, small limits, recorded outcomes. That is not exciting and it works.

Open agent markets — agents discovering and transacting with counterparties nobody vetted — are speculative, and I use that word deliberately. The evidence is simple. The convention that settles whether a machine-formed cross-border contract binds you has twenty-one parties, two decades after it was adopted in 2005. If the foundational question is still that unevenly answered between states, an open market of transacting agents is not waiting on better models.

Where I would draw my own line today, as my proposal and not a recommendation: repeat commitments to counterparties I already have a relationship with, inside a limit I could absorb without a conversation — and nothing beyond that until offers, approvals and outcomes are recorded well enough that a dispute has something to stand on.

The question to take into your next vendor meeting is not how accurate the agent is. It is this: when it commits us wrongly, who pays, and what can we produce? If nobody in the room can answer, you have not found a technology problem. You have found the terms you still have to agree.

This is the forty-first and final essay in a series asking how people, organizations and nations can turn increasingly capable AI into greater human capability, better services and sustainable economic opportunity. It is one of the companion essays, which sit outside Parts I–VI.


All essays in this series: AI, Human Agency and the Digital Economy

Sources

  • United Nations Convention on the Use of Electronic Communications in International Contracts — New York, 2005 (PDF). Article 1(1) limits the Convention to contracts between parties whose places of business are in different States; Article 2(1)(a) excludes contracts concluded for personal, family or household purposes. It addresses the validity of machine-formed contracts; it does not allocate loss between the parties.
  • Status: United Nations Convention on the Use of Electronic Communications in International Contracts — UNCITRAL. Twenty-one parties; in force for Sri Lanka since 1 February 2016. The party count is a thin multilateral base two decades after the Convention was adopted in 2005, and that is all this piece draws from it.
  • Artificial Intelligence, Algorithmic Pricing and Collusion — Calvano, Calzolari, Denicolò & Pastorello, working paper text dated April 2019 (PDF). Q-learning pricing agents in a modelled oligopoly — a simulation, not observed market data, and not a documented market failure. The authors note that supra-competitive prices are “not, per se, genuine proof of collusion”.
  • Directive (EU) 2024/2853 on liability for defective products — Official Journal, 18 November 2024. Article 4(1) includes software in the definition of “product”; recital 13 names AI systems; Article 8 names the economic operators liable; Article 10(1) sets what a claimant must prove. EU only; it does not apply to products placed on the market or put into service before 9 December 2026. Sri Lanka has no equivalent, and none is implied.

One response to “When the Agent Commits and the Bill Is Yours”

  1. […] Next in this series: C02b — When the Agent Commits and the Bill Is Yours […]

Leave a Reply