Guide

How to verify an AI agent did the work

Do not ask the agent. Check the result with something the agent did not produce: the page that should now exist, the record that should have changed, the response a server gives. An agent saying done is a claim, and the check is the evidence.

Five steps

  1. State the outcome before the work starts

    Write down what must be true afterwards, in a form something can check: an address that answers, a file with given content, a record with a given value.

  2. Pick evidence the agent cannot write

    An exit code, a server response, a database read, a screenshot taken by a separate tool. A summary written by the agent is not evidence.

  3. Let something else do the checking

    A different process, a different model or a person. Whatever did the work must not be what confirms it.

  4. Keep the evidence with the result

    Store what was checked, when and by what, next to the record of the work, so the answer can be read again later.

  5. Treat a failed check as a result

    A check that fails is information. Record it, and run the work again as a new attempt rather than editing the old one.

Three mistakes that make a check worthless

  • Asking the same model to grade its own answer.
  • Accepting a log line as proof that the outside world changed.
  • Checking that a command ran rather than what it changed.

How Orvay does it

In Orvay whatever proposes an action never verifies it: each result is checked by a different actor, and the evidence is kept with the record and labelled as live or simulated.