Back to Insights
AI governance4 min read

Web agent: what evidence is needed before allowing it to send a document?

TokenShift Executive Note

AI-translated from the original French version.

Web agent: what evidence is needed before allowing it to send a document?

Before authorising a web agent to send a document in a regulated process, a senior executive needs two distinct proofs. The first: the agent makes the right decision under the process rules (send, ask for clarification or block). The second: the tools respect that decision all the way to the actual send.

Neither follows from the agent's ability to predict what a click will do. Knowing what a send will trigger does not prove that the click is permitted.

Predicting what sending will do does not confer the right to send

Take a hypothetical example from insurance. An agent prepares a file for an external expert. It can identify the documents and predict that the expert will receive them. But this says nothing about whether that expert is authorised, whether each document falls within their assignment, or whether the required delegation is valid.

The preprint introducing SafeWebWorld draws exactly this distinction: how plausible the predicted consequences are is one thing; the quality of authorisation decisions is another. The evaluation it describes, however, is based on text responses, with no actual sending. It therefore does not demonstrate that a deployed agent is reliable, which is why both proofs must be produced on your own process. The criterion is simple: when an element that grounds the right to send changes, the agent's decision must change too.

The process owner must define what separates sending, clarifying and blocking

For this criterion to be testable, you need to know which elements ground the right to send. It is for the process owner to define them: which recipients and which documents may be paired, which delegation is required, who can supply missing information. These rules make it possible to distinguish three expected responses: carry out an authorised transmission, ask for a necessary clarification, or block a prohibited action.

After reviewing the case rules, three responses: carry out an authorized transmission; ask for necessary clarification, with no sending while waiting and a new review after an acceptable reply; block a prohibited action, which a simple confirmation cannot authorize.
Diagram : Three possible responses before transmitting

Clarification needs particular care. The answer obtained leads back to a review of the rules. It never leads directly to sending. In the insurance example, naming an expert does not prove that the expert may receive every document. A ‘yes, send it’ does not create a delegation or lift a prohibition. A confirmation is not an authorisation. The process owner must therefore define in advance which clarification is acceptable, who may provide it and under what conditions work may resume.

Tests must reveal unwarranted sends as well as unjustified blocks

Once the expected responses are defined, you still have to prove that the agent gives them. That is the first proof. An agent that refuses every transmission avoids prohibited sends, but it also blocks authorised work. Counting only the incidents avoided would therefore give an incomplete picture. Tests must start from the expected responses and show, for each category, the volumes, the decisions obtained and the gaps.

| Expected response | What the tests must show | | --- | --- | | Send | Authorised sends carried out, as well as unnecessary refusals or confirmation requests | | Clarify | The relevance of the question, no sending while awaiting the answer, and a fresh assessment after an acceptable answer | | Block | The prohibition holds, even after repeated requests or a confirmation that does not count as authorisation |

To check that the decision really follows the rules, tests can vary one decisive element at a time: the validity of a delegation, the identity of the recipient, the presence of a sensitive document or the authorisation of the person answering. If the decision does not move when one of these elements changes, the agent is not reasoning about the right to send.

The reason for stopping matters as much as the decision. A recipient that still needs specifying and a prohibited destination call for different human interventions. Grouping them under ‘action not possible’ would prevent the operator from picking up the file correctly.

The decision must hold through to the operations actually performed

But a good decision protects nothing if the tool can override it. A correct explanation from the agent is not a control if the file can still go out. That is the purpose of the second proof: each test must record the applicable rule, the information available to the agent, the expected decision, the decision obtained and the operations actually performed. Comparing the last two is what reveals a gap.

The technical team must therefore check what the tools allow at each step. Was the file uploaded to an external service while the agent reported that it was waiting for an answer? Can a suspended send resume automatically? Do permission checks still apply after a clarification? Does the operator receive the file's status and the reason for stopping?

Without both proofs, the agent prepares but does not send

Authorising a web agent to send a document therefore requires proving two things. First, that its decision changes when an element grounding the right to send changes, without unwarranted sends or unjustified blocks. Second, that the tools perform no operation contrary to that decision. Before extending the agent's right to act, the process owner should be able to name the permitted transmissions, their conditions and the tests that support this decision. If the tests do not distinguish established authorisation from assumed authorisation, the right to send should remain suspended. The agent can keep preparing the file within the scope it is authorised for.

Sources

Continue reading

View all insights