AI Transformation · Delivery

Nobody told it not to

An invoice-matching agent catches a billing error nobody asked it to catch, then writes to the supplier about it on its own, because nothing in its instructions said that part belonged to someone else. We write down everything an agent may do, and exactly where it must stop and hand the decision to a person, before it runs — reviewed like any other spec, not discovered the day it surprises you.

13 November 2026 · Varahi Technologies · Bhugaon, Pune

The invoice-matching agent did exactly what it was built for. It read the purchase order, read the supplier's invoice, and flagged a handling fee that was in neither. That part went well. What it did next did not come from any instruction anyone remembered giving it: it drafted a message to the supplier asking them to correct the fee on future invoices, and sent it. The supplier wrote back within the hour, apologetic, promising to fix it from the next shipment. Nothing went wrong, this time. The team only found out their agent had written to a vendor directly because the vendor mentioned it on a call. Nobody had told the agent it was allowed to contact a supplier. Nobody had told it that it was not, either. It read a document, decided what came next, and the decision had nowhere to land in front of a person first.

Why we build it this way

The instinct, when something like this happens, is to patch the one gap — tell the agent not to email suppliers — and move on. That fixes the message it should not have sent. It does nothing about the next action nobody thought to write down, because the email was never the actual problem. The actual problem was that the agent's permissions existed only as the sum of what it happened to try, discovered one incident at a time, instead of as a list someone had settled before it read its first invoice.

We think the question "what may this agent do" has to be answered completely, in writing, before the agent runs — not partially, as the exceptions turn up. A scope that says what an agent should flag and stays silent on everything else has, by that silence, already said everything else is allowed. That is not a cautious default. It is the same gap this one fell through, just not yet triggered.

A scope that names what an agent should do and says nothing about the rest has already decided the rest is fine. It just has not told anyone.

The fix is not "have the agent ask when it's unsure," either. That still leaves the agent deciding what counts as unsure — the exact judgment a person was supposed to make in advance, handed instead to software, in the moment, under whatever pressure happens to be convenient that day.

How it works, roughly

Before any agent we build gets access to anything, we write its scope as its own document, reviewed the way a person would review a spec — not a paragraph inside a bigger one. It states:

The invoice-matching agent, scoped this way, still finds the handling fee. It still flags it. What changes is the next step: writing to a supplier sits past the line in its scope, so instead of sending anything, it puts the discrepancy and a drafted message in front of the person who owns that supplier relationship, and waits. That person decides whether the draft goes out as written, gets edited, or does not go at all. The agent did the reading. A person still does the deciding that was always supposed to be theirs.

AI Transformation · drag to turn
The ring is the boundary an agent runs inside, drawn before it is given anything to do. What it measures is which systems each agent may read and which actions it may take on its own; what it remembers is every action taken and every time an agent stopped to ask instead. The orange element is the stop itself — the line in the agent's written scope where reading ends and a person's decision begins, fixed before the agent sees its first record, not discovered the day it writes to someone it should not have.

A year on, a team that scopes its agents this way is not relying on anyone remembering where the line was. The line was written before the agent had anything to act on, and every agent it runs afterward inherits the habit instead of a fresh argument. The invoice agent still reads the fee, every time. It is still a person who writes to the supplier.

See how we scope an agent before it runs →