AI Audit Records for Client Files: Compliance Guide
Compliance Guide

What Records Should an Agency Keep When AI Touches a Client File?

An agency should capture six discrete record types for every AI interaction with a client file: the agent's identity and version, the input it received, the tool calls it made, the data it accessed, the output it produced, and the human review decision that followed. These must be logged as separate timestamped events, not a single combined entry, and protected from modification to remain usable in a dispute or regulatory inquiry.

Logging Architecture Required to Generate These Records

Producing usable audit records is a function of how logging is structured, not just whether logging exists. The following practices determine whether the resulting logs can withstand scrutiny.

  1. 1

    Identity binding

    Every log entry must be tied to a unique agent or model identity and version, not a generic service account, so actions remain attributable over time.

  2. 2

    Event-based logging

    Each category (input, tool call, data access, output, review) should generate its own timestamped event rather than being collapsed into one combined entry.

  3. 3

    Tamper-evidence

    Logs should be protected against unauthorized modification, for example through write-once storage or cryptographic hashing, so they hold up as evidence in a dispute.

  4. 4

    Retention policy

    Retention duration should be explicitly defined by policy, since no general standard prescribes a universal period for AI audit logs.

  5. 5

    Review and analysis

    Logs must be periodically reviewed, not only stored, consistent with audit-and-accountability practices that treat review as a distinct ongoing control.

Six Record Categories Every AI-Touched Client File Needs

Each category below should exist as its own logged event, tied to the acting agent's identity, rather than being inferred from a single combined entry.

Record TypeWhat It Captures
Agent IdentityWhich model, version, or agent instance acted.
Input ReceivedThe prompt or data submitted to the agent.
Tool CallsWhat external tools or systems the agent invoked.
Data AccessedWhich client file fields or records were read or modified.
Output ProducedWhat the agent generated or changed.
Human Review DecisionWho reviewed the action, and what they decided.

Defining an AI Audit Record

An AI audit record is distinct from a general application log. Where a typical system log confirms that a process ran, an AI audit record must establish what an agent was asked to do, what it actually did, what data it touched, and whether a human reviewed the outcome before it affected a client file. This distinction matters because AI agents increasingly make or recommend decisions inside workflows that were previously fully human-controlled: drafting correspondence, summarizing records, flagging discrepancies, or updating file status. Without a record tied to a specific agent identity and a specific client file event, an agency cannot reconstruct what happened when a client disputes an outcome or a regulator asks how a decision was reached. The baseline expectation, drawn from established audit-and-accountability practice, is that any system taking accountable action should log identity, timestamp, outcome, and the subject affected. Applying that baseline to AI agents means treating each agent action as an auditable event, not an incidental side effect of a tool.

What Governance Standards Say About Recordkeeping

Several published frameworks support this approach without prescribing a fixed AI-specific log schema. The NIST AI Risk Management Framework (AI RMF 1.0, published January 2023) organizes AI risk management around Govern, Map, Measure, and Manage functions that include documentation and traceability expectations. Its companion Generative AI Profile, released in July 2024, raises content provenance and data lineage as a named risk area, which translates directly into a need to document what an AI agent generated and from what source data. ISO/IEC 42001:2023,