Guide

How to keep an audit trail of what your AI agents did

Record every action in five parts: what was proposed, which rule allowed it, who approved it, what was done, and how the result was checked. Write each part when it happens, in a log nothing can edit afterwards. A chat transcript or a tool's own activity page is not that record.

Five steps

  1. Record the proposal before the action

    What the agent intends to do, with which tool and on whose behalf, written down before anything runs. If the plan changes, write a new proposal and keep the old one.

  2. Record the decision and who made it

    Which rule allowed the action, or which person approved it, when, and what the approval covered. An approval that does not say what it covered cannot answer for itself later.

  3. Record each attempt separately

    A retry is a new entry, not a correction of the old one. The failed attempt is part of what happened.

  4. Record the evidence, and where it came from

    The response, the record or the page that shows the result, kept with a note of what produced it. Mark a test run as a test run.

  5. Only add to the log, and make tampering visible

    Entries are added and never changed. When each entry carries a hash of the one before it, a removed or altered entry shows.

Three mistakes that make a trail useless

  • Collecting the activity log of each tool and calling the pile an audit trail.
  • Letting the agent write the summary of what it did, and keeping only the summary.
  • Keeping a record that the people or the software it describes can edit.

How Orvay does it

In Orvay every action starts as a proposal that is never edited, each attempt is its own run, and every decision is appended to a hash-chained log. A state change cannot land without its entry, and the evidence is kept with the record and labelled as live or simulated.