← Vetro Attest · Free Art. 12/14 checker · Free EU AI Act tools

Audit trail for AI agents: what to record and how to make it hold up

An agent that calls models and tools on its own is making decisions nobody watched in real time. When something goes wrong (a refund issued twice, a customer email that should not have gone out, a bill that tripled) the question is always the same: what exactly did it do, and can we prove it?

An audit trail answers that. Application logs usually do not.

Logs vs. audit trail

Application logsAudit trail
Written forDebugging, by the team that wrote the codeSomeone else, later, who does not trust the team by default
CoverageWhatever a developer chose to logEvery action, recorded mechanically
IntegrityEditable, rotatable, deletableEdits and deletions are detectable
OrderBest-effort timestampsStrict sequence per run
IdentityRarely says which system wrote itSigned by the system that produced it

What to record for an agent

  1. Every model call: model name and version, parameters, prompt, response, token counts, cost.
  2. Every tool call: tool name, arguments, result or error. This is where money moves and data changes.
  3. Every policy decision: budget checks, forbidden actions, content rules, with the verdict and reason. Refusals are evidence too.
  4. Run boundaries: start, end, outcome, errors, so each decision has a clear scope.

Four properties an auditor checks

  1. Completeness: are events captured at the call site, or only where someone added a log line?
  2. Integrity: if one byte of a stored event changes, does anything notice? (See tamper-evident logs.)
  3. Attribution: is the log signed, so you can tell which system produced it?
  4. Retention: is it kept long enough, in a form someone can still verify later? (See Article 26 retention.)

Checklist

How Vetro does it

Vetro wraps the model and tool clients and writes every action to a hash-chained, ed25519-signed JSONL ledger, with policies checked inline before the action runs. If you already emit OpenTelemetry GenAI traces, you do not need to change anything to get a first reading.

Vetro Attest verifies a ledger or OTLP trace for free and, for 49 USD, issues a counter-signed report mapping the evidence to the EU AI Act record-keeping articles, including an explicit list of what the log cannot show.

See a sample ledger verified in one click, check your own logs free or get the countersigned EU AI Act report.

Pricing