Agent auditability: evidence beyond conversation logs

How to make an AI agent’s permissions, tool calls, sources and outcomes inspectable after execution.

Agent auditability is the ability to reconstruct an agent's actions and examine the evidence behind them. A transcript captures what was said. An audit trail also needs to explain which identity acted, what it was allowed to do, which tool ran, which source informed the answer and what changed.

Why conversation logs and Git history are not an audit trail

Each record answers a different question. A transcript tells you what an agent said. A log tells you that something happened. Git tells you what changed, who committed it and when.

None of them tells you which agent started the change, which prompt produced it, which tools took part or whether the action was autonomous, scheduled or supervised. Git sees diffs. It does not see decisions.

Much of the activity in an agent system also happens between commits: loops, hooks, validators, retries, reviews and scheduled runs. Without a record of that activity the system develops blind spots. Blind spots become dangerous when agents operate without supervision.

Record decisions at the service boundary

Give a run and its tool calls stable identifiers. Record the caller, the applicable authorization decision, tool version, timestamps, outcome and references to relevant artifacts. Keep model and prompt versions available alongside the execution record. A tool's own service should record the operation it actually executed, rather than trusting a model's description of it.

Avoid treating every payload as something to retain forever. Define which fields can be logged, which require redaction, who can inspect records and how long they remain available. An audit system that leaks customer data creates a new incident surface.

Illustrative audit event:
run_id / tool_call_id / actor_reference
operation / tool_version / authorization_decision
started_at / finished_at / outcome / artifact_references

These fields are a starting point, not a compliance standard. The record must fit the operations and questions the organization needs to investigate.

What an audit record of an agent action must contain

The fields above describe one tool call. An audit also needs the context around it. The accountability question is what the agent committed to, what it produced and what supports the claim that the work is complete. A complete record answers these points:

  • What started the action: a user request, a ticket, a schedule or another agent.
  • Whether it ran autonomously, on a schedule or under supervision.
  • What the agent committed to do.
  • What it produced: an artifact, a code change or a test result.
  • What supports completion, such as a review tied to the version that was evaluated.
  • Which objections remain open. A confident completion message must not erase them.
  • Which interventions a person made, such as a pause, a new priority or a change of authority.

Write the record append-only. Every operation is recorded, nothing is edited and nothing is deleted. The current state is computed by replaying the history. I am incorporating an accountability ledger of this kind into my own agent environments, and the open-source Mentu Protocol is one implementation of the idea.

Distinguish observation from justification

A trace may show that a tool ran. It does not automatically show that the user had permission, that the returned data supported the conclusion or that deployment was justified. Attach the evidence relevant to each decision. For a release, that may include the evaluated configuration, test results, approval and deployed identity.

My preprint From Traceability to Justifiability examines this distinction in public delivery records. Its findings have a defined sample and observation date. The paper and repository allow readers to inspect the method instead of accepting a general claim that all agent pipelines behave the same way.

The question the preprint asks is narrow. When a pipeline promotes an AI system, can its records say that the thing tested is the thing deployed? Measured across 47 delivery platforms and 30 public repositories, the answer was not yet. Nothing emitted a checkable identity of the deployed behavior by default. The paper places such records short of justifiability, the level at which evidence can refuse a transition and not only describe it.

How to know which version of an agent acted

After an incident, a reviewer has to establish which behavior ran. The behavior of an agent depends on the model version, the instructions, the tool definitions and the retrieval and runtime configuration together. Change one of them and the behavior can change.

  • Record an identity for that whole set on every run, next to the run identifier.
  • Prefer an identity computed from content over a version name. The preprint reports that version integers behind mutable pointers are arriving as the default on agent platforms. A pointer that can move does not prove what ran.
  • Record the same identity when the configuration is evaluated. A reviewer can then tell whether the behavior that acted is the behavior that was tested.
  • Check that the evidence can be verified where it is declared. A binding that nobody can check is a statement, not evidence.

Check whether the trail answers an incident question

Take a failed or disputed action and try to reconstruct it without asking the original agent. Can another reviewer identify the actual tool arguments, relevant permission decision and outcome? Can they distinguish an attempted operation from a committed change? Can they identify missing evidence instead of receiving a fabricated explanation?

Test interrupted runs, denied operations, retries and partial failures. Check that sensitive data remains protected when someone reads the audit trail.

How to audit an AI agent step by step

  1. Pick one action that failed or was disputed.
  2. Find its run and tool call identifiers without asking the agent that acted.
  3. Read the record written by the service that executed the operation, not the description the model gave.
  4. Confirm the caller and the authorization decision.
  5. Separate what was attempted from what was committed.
  6. Match the outcome to evidence: an artifact, a test result or a review of the same version.
  7. Identify the deployed configuration and compare it with the one that was evaluated.
  8. Write down what was observed, what was inferred and what is unknown.

If a step cannot be completed, that gap is the finding. Fix the recording before the next incident, not after it.

What goes wrong with agent audit trails

  • The model describes its own action and the system stores that description as the record.
  • A completion message erases an open objection. The work looks finished until someone examines it.
  • A second agent approves the work by repeating the same assumption. Agreement is not verification. Ask whether the review introduced a test that the work could have failed.
  • Activity is read as progress. An agent can produce constant output with no accepted result. Count accepted results, reopened work and repeated failures, not actions.
  • A person intervenes in a terminal and the instruction never reaches the shared record.
  • The policy lives only in the prompt. Permissions, ownership and review requirements cannot depend on an agent remembering to respect them.
  • The trail keeps payloads that should have been redacted, and the audit becomes a leak.

A worked example: reviewing a tool call through a gateway

My MetaMCP case puts many tools behind a smaller gateway that runs on Cloud Run. Suppose a reviewer questions one tool call made by a cloud agent.

The first question is who called. The gateway combines the Cloud Run caller identity with bearer auth at the application level, so the caller is established at the boundary and not by the model. The second question is what ran. The gateway writes a ledger, and the case includes an export of that ledger as evidence. The third question is whether the service behaved as deployed. Smoke tests cover health, auth, initialize and the tools list. Logs and prompt fixtures complete the picture.

The reviewer needs neither the original conversation nor the agent that acted. That is the test an audit trail has to pass.

Evidence to request when choosing an engineer

Ask for an example incident reconstruction and the records that support it. Look for clear boundaries between what the system observed, what the engineer inferred and what remains unknown. The MetaMCP and evaluation-harness cases below show implementation work; the research source explains the accountability questions behind it.

Where to go next

Common questions

What is AI agent auditability?

It is the ability to reconstruct what an agent did and to examine the evidence behind it. That means knowing which identity acted, what it was allowed to do, which tool ran, which source informed the answer and what changed. A transcript alone does not provide this.

What is the difference between agent observability and auditability?

Observability shows that something ran, in what order and how long it took. Auditability asks whether the action was permitted and whether the evidence supports the outcome. A trace is an input to an audit. It is not the audit.

What should an AI agent audit log contain?

Stable identifiers for the run and each tool call, the caller, the authorization decision, the operation and tool version, timestamps, the outcome and references to artifacts. Keep the model and prompt versions with it, and record what started the action. Define which fields are redacted and who can read the records.

Are conversation logs enough to audit an AI agent?

No. A conversation log captures what was said, including the model's own description of its actions, and that description can be wrong. The service that executed the operation has to record what ran. The record also needs the permission decision and the outcome.

What is the difference between traceability and justifiability for AI agents?

Traceability shows what happened and in what order. Justifiability asks whether the evidence licensed the step, for example whether the thing that was evaluated is the thing that was deployed. My preprint From Traceability to Justifiability measured this in public material across 47 delivery platforms and 30 public repositories, and found the records short of it.

Work and evidence

Mentu Recipes

My contribution: Released the agent workflow runner, reviewed an adapter with a contributor and corrected approval handling.

What this supports: The case links the release, design discussion, correction and example recipes at a fixed revision.

What it does not establish: The examples demonstrate execution and verification on the documented inputs.

Source reviewed:

MetaMCP as a Cloud Run MCP gateway

My contribution: Built and documented the cloud-facing gateway path, registration artifacts, smoke checks and evidence export.

What this supports: Public implementation account covering transport, caller identity, secrets and tool-call evidence.

What it does not establish: The case study is not an independent security audit or a published concurrency benchmark.

Source reviewed:

Evaluation gates for a multi-agent education system

My contribution: Built the evaluation harness, calibrated LLM judging, isolated case state and environment-specific evaluation gates.

What this supports: The public account describes golden cases as code, a calibrated LLM judge and the evaluation harness around them, on a Google Cloud agent stack.

What it does not establish: The case documents evaluation design and release checks. Published usage figures for the agents are unavailable.

Source reviewed:

From Traceability to Justifiability (opens in a new tab)

My contribution: Authored a public preprint on accountability structures in agentic software engineering, with code and study records linked from the research index.

What this supports: Research on binding evaluated behavior to deployed behavior and checking the evidence behind promotion.

What it does not establish: A preprint with a dated public-material study; not a certification of any production system.

Source reviewed:

Related questions

Technical guides