Technical Guide

    Showing an Auditor What the LLM Proposed Versus What the Agent Executed

    Audit evidence for AI agent actions has to record five things for each tool call: the proposed call, the policy evaluated, the enforcement decision, any human approval, and the final executed action. The component that enforces policy in the execution path should produce this record. Reconstructing it later from logs is inference.

    • Proposed tool call: tool name, arguments as proposed, and the version of the tool definition used.
    • Agent context: agent identity, agent version, model provider, and the person or system on whose authority it acted.
    • Policy evaluated: policy identifier and the exact policy version applied at that moment.
    • Enforcement decision: allow, redact, block, rate limit or escalate, with the rule or reason that triggered it.
    • Human approval: approval identifier, approver identity, time and outcome, where the call was escalated.
    • Executed action and result: the call as it actually ran after any redaction, the execution result, or an explicit statement that nothing ran.
    • Is the proposed tool call recorded separately from the executed action, with the policy decision recorded between them?
    • Is the record produced by a component in the execution path, or assembled afterwards from logs and traces? What does it show when the two disagree?
    • Does each record carry the policy version, authorization outcome, approval identifier and approver identity?
    • How is the evidence protected against alteration, and can an auditor verify that independently?
    • How are retention, data residency and auditor access handled, and can records be exported and mapped to the frameworks in scope?

    Why the proposal and the execution differ

    An LLM-driven agent does not execute anything by itself. It proposes a tool call, and a runtime decides what happens next. The call may be allowed unchanged, allowed with fields redacted, blocked, rate limited or escalated for human approval. Only in the first case do the proposed and executed actions match.

    This is the design that OWASP agent security guidance describes: the agent proposes an action, and a policy service or execution component independent of the agent validates scope, privilege and approval state before anything runs. The consequence for audit is that the interesting evidence sits between the proposal and the execution.

    In most deployments that middle step is not recorded. Model traces capture what the model produced. Application and downstream system records capture what ran. Neither shows which policy applied or why the two differ. An auditor is then unable to say what the AI was allowed to do, what it attempted and what actually happened. This guide treats that as an evidence design problem, scoped to individual interactions and tool calls.

    Enforcement-time evidence versus reconstruction from logs

    Reconstruction means correlating traces, events, tool invocations, identities and outcomes after the fact. It is a legitimate technique, and evidence-gap analysis can show where records are missing or inconsistent. But it has structural limits when the output is meant to test a control.

    First, correlation depends on shared identifiers and reliable timestamps across systems that were not designed to agree. Second, recorded actions or results can differ from what actually executed. MITRE ATLAS text advises distinguishing requested actions from executed ones and treating some records as supporting context rather than authoritative evidence of execution. Third, application logs rarely capture the policy version in force, so the auditor must infer which rules applied. Fourth, a call that was blocked or redacted may leave no trace in downstream systems at all, so its absence proves nothing.

    A record emitted by the component that makes the decision avoids these problems. It is written at the moment of enforcement, carries the policy version that component actually used, and states the decision rather than leaving it to be deduced. This is why the evidence has to be produced by enforcement in the execution path. Records assembled afterwards remain useful as corroboration, but they are a secondary source.

    Properties that make the evidence defensible

    A complete record is not enough if it can be altered or if the agent is the one reporting. NIST describes an immutable evidence tenet: an unbroken, tamper-evident chain of custody and an append-only body of evidence on the agent's identity, delegated intent and resulting actions. In practice that means the evidence store is separate from the agent's own reporting, and an auditor can verify that records have not been changed or removed.

    Configuration evidence matters alongside per-call records. OWASP guidance recommends retaining the tested agent version, model provider, tool policy and retrieval configuration, so an auditor can relate a decision to the system that made it. It also matters whether the tool descriptor used at execution can be identified by version and provenance, which is why the tool definition version belongs in the record.

    Retention, data residency and auditor access are design decisions to settle before an audit, not during one. Tool arguments can contain sensitive data, so the redaction applied to evidence itself, where records are stored and who may read them all affect whether the evidence can be shared with an auditor. The retention period should be set by the obligations in scope for each system.

    Regulatory context and its limits

    As of December 2026, the consolidated EU AI Act text provides that high-risk AI systems must technically allow for the automatic recording of events over the lifetime of the system. It also allows the AI Office to appoint independent external experts and auditors. Records may therefore be reviewed by parties outside the deploying organization, which favours evidence that stands on its own. Whether a particular agent is high-risk is a separate determination.

    The Commission's reading of Article 50(1) says agents that interact with natural persons must disclose their artificial nature and the person on whose behalf they act, reflecting the need for transparency of delegation and accountability. Records should therefore show whose authority an action carried. The same document says an action not intended to be directly perceived, such as a web request or browser action, is not synthetic content under Article 50(2) and carries no marking obligation. Transparency marking cannot substitute for a record of agent actions.

    NIST and OWASP material is guidance, not law. For HIPAA, NAIC, NYDFS and NIST AI RMF, the practical step is to map each field in the record to the specific controls in scope and confirm with the auditor that the record can test them.

    One tool call, five evidence points

    Proposed call

    The tool, arguments and tool definition version the LLM asked for.

    Policy evaluated

    The policy and policy version applied to that call.

    Enforcement decision

    Allow, redact, block, rate limit or escalate, with the reason.

    Human approval

    Approval identifier, approver identity and outcome where escalation occurred.

    Executed action

    What actually ran after enforcement, and its result.

    See the proposal-to-execution record for a single tool call

    Walk through how policy enforced at runtime produces audit-ready evidence for individual interactions and tool calls.

    See How Evidence Is Produced
    Next step

    How does your AI governance program compare?

    See where your program has gaps in less than 2 minutes.