Martin Andrt CZ
Home / Insights / When may an agent act alone? Do, ask, never
Autonomy

When may an agent act alone? Do, ask, never

Three columns of cards: reversible actions with a return arrow on the left, actions waiting at a human gate in the middle, forbidden actions struck through on the right

An agent may act without asking only when its action can be undone and when it can see the whole state it is changing. If either condition is missing, the action belongs on the list of things it asks about first.

Three lists

My AI system has run since April 2026 on a single page of rules that every agent reads at startup. It has three lists.

The whole rule fits in one sentence: if an action changes state that other people can see, or cannot be undone, ask; otherwise do it and say what you did.

When a reversible edit was not

On 27 May 2026 an agent was editing the description of a monthly task in a task tracker. It fell under “do”, since it is an edit of text. The agent read the description through the API, received plain text, and wrote plain text back.

In the web interface, however, the description contained colored labels, checklists and links to subtasks. The API does not return them when reading, so the write erased them. I noticed the change, not the agent. At first the agent defended itself by saying the API data showed plain text, and only then checked what exactly it had overwritten. I restored the content from the version history in the web interface, to the version from 14:21 that day. The overwrite had happened at 15:01.

So a way back existed only because the tool kept a version history, which the agent did not know about.

Two conditions for reversibility

This gives a more precise test than “I can undo it”:

  1. A way back exists, for example version history, a trash folder or git.
  2. Before writing, the agent sees the whole state it is overwriting.

When reading simplifies the state, writing is irreversible even if it looks like an ordinary edit. I therefore recorded in the system’s memory that tasks built by hand in the interface are not overwritten through the API. The general lesson I take from it is that a write to a field the agent cannot read in full belongs on the “ask” list.

A list in text is not a lock

OWASP, in its list of risks for applications built on language models, defines “excessive agency” as the vulnerability that enables damaging actions. It names three causes: excessive functionality, excessive permissions and excessive autonomy. It recommends that a human approves high-impact actions, and that authorization is enforced in the downstream system, not left to the model’s judgment.

My three lists are instructions the agent reads. They are easy to write and mostly followed, but the text of a list enforces nothing by itself. Tools such as Claude Code have their own layer for that: permission rules of the kinds allow, ask and deny. For actions that cannot be undone, a combination works better. The rule in text tells the agent why to ask, and a technical gate makes sure it asks even when its judgment fails.

Sources

FAQ

Can the risk be reduced before any asking starts?

Yes. OWASP recommends giving the agent as few tools as possible, each with minimal functionality. A mail summariser should not be able to send mail, narrow tools are better than a general shell, and mail access often needs only a read scope. An action the agent technically cannot take needs no approval.