EU AI Act Compliance Guide

    ISO/IEC 5338 and EU AI Act Article 12 Logs: What Process Records Cover for AI Agents

    ISO/IEC 5338 operation and monitoring records can support Article 12 compliance as procedural evidence, but they are unlikely to satisfy it alone. Article 12 requires high-risk AI systems to technically allow automatic recording of events (logs) over the system's lifetime. Process records describe how a system is run. They do not replace system-generated events for individual interactions and tool calls. ISO/IEC 5338 is a life cycle process standard and should not be treated as a substitute for regulatory compliance.

    Runtime event fields an agentic deployment should capture

    • Interaction and tool-call identifiers with timestamps, so each event can be placed in sequence
    • Tool invoked, target system and the parameters passed, subject to minimisation
    • Policy decision applied to the action (allowed, redacted, blocked, escalated) and the policy version that produced it
    • Human approval or verification: who, when, and which action or output was reviewed
    • Input and output handling, including what was redacted or withheld before the event was stored
    • Outcome and error state of the call, plus integrity protection and access controls on the stored record

    What Article 12 requires

    Article 12(1) of Regulation (EU) 2024/1689 states that high-risk AI systems shall technically allow for the automatic recording of events (logs) over the lifetime of the system. The wording describes a capability of the system, not a documented practice around it. Article 12 applies to high-risk AI systems, so the first scoping decision is whether each agentic deployment is high-risk, and who is the provider and who is the deployer.

    The Regulation ties logging to three purposes: identifying situations that may result in a risk within the meaning of Article 79(1) or in a substantial modification, facilitating post-market monitoring under Article 72, and monitoring the operation of high-risk AI systems under Article 26(5). The text also refers to identifying the natural persons involved in verifying results under Article 14(5). Recital 71 adds that the requirement should not create unnecessary burden, and that it could be sufficient for separate verifications by different persons to be recorded automatically in the logs the system generates.

    A provision following Article 12 requires providers to keep automatically generated logs to the extent they are under the provider's control, for a period appropriate to the intended purpose and at least six months, unless Union or national law provides otherwise, in particular data protection law. As of November 2026, the consolidated text dated 27 July 2026 retains the Article 12 wording. The Commission's Digital Omnibus on AI proposal of 19 November 2025 would set 2 December 2027 for stand-alone high-risk systems and 2 August 2028 for those embedded in products. The proposal is pending, so timelines should be recorded with the version of the law relied on.

    Process records and event logs answer different questions

    A life cycle process standard such as ISO/IEC 5338 organises how an organisation plans, operates, monitors and maintains an AI system. The records it produces typically show that a process exists and was followed: monitoring plans, review outcomes, change decisions, incident handling. That is valuable governance evidence, and it helps show that operation is controlled.

    An Article 12 log answers a different question: what happened in the system, at a given moment, in a form that supports risk identification, post-market monitoring and deployer oversight. The Regulation does not define event granularity in the text relied on here, so whether per-interaction or per-tool-call events are required is a matter of interpretation. The stated purposes are outcome-oriented, though. Records should be judged on whether they can support those uses, not only on whether they exist.

    For AI agents the distinction matters more than for a fixed model. An agent selects tools, passes parameters, receives results and may act on external systems within one interaction. A monthly monitoring report cannot reconstruct a single tool call. That is an analytical inference, but a well-grounded one: if a regulator or deployer asks what the system did in one interaction, only a system-generated event record can answer.

    Crosswalk: Article 12 expectations against process records

    Use this table as a working template. The evidence types are practitioner assessments, and each organisation should confirm them against its own ISO/IEC 5338 record set.

    • Automatic recording of events over the lifetime: Process records can show that logging is planned and owned. They do not themselves record events. Gap: runtime-generated events.
    • Identifying risk or substantial modification (purpose a): Change and monitoring records give procedural context. Detecting risk situations needs event data that can be queried and compared over time.
    • Post-market monitoring support (purpose b): Monitoring plans and review outputs are useful. Their value depends on underlying events being retained and retrievable.
    • Deployer operation monitoring (purpose c): Operating procedures help deployers. Deployers also need logs they can collect, store and interpret, with documentation of the mechanisms provided.
    • Human verification of results: Procedures can define who reviews what. Evidence that a named person verified a specific output or action is an event, not a procedure.
    • Retention and access: Retention policies can be documented procedurally. Enforcing retention, integrity and access control is a system property.

    Retention, access and data protection tradeoffs

    Retention design should start from the six-month minimum for provider-controlled logs and then reconcile it with other Union or national law. The retention provision defers expressly to data protection law, and agent logs can hold personal data in prompts, tool parameters and outputs. A NIST workshop report on monitoring deployed AI systems records the same tension: activity logs may contain personal data that cannot legally be shared without consent, and privacy commitments to customers may restrict information sharing.

    The practical tradeoff is between completeness and minimisation. Redacting sensitive values before storage reduces exposure, but the log must still show that a redaction occurred and why. Access control matters as much as capture: deployers need to collect, store and interpret logs, while other parties should not see content they have no need for. Settle these decisions with privacy counsel before the logging schema is fixed, because changing a schema after events have accumulated weakens continuity of evidence.

    Ownership also needs to be explicit. Article 12 points to provider-side capability, Article 26(5) to deployer monitoring, and provider retention applies to logs under the provider's control. A short responsibility matrix per deployment prevents each party assuming the other holds the evidence.

    Where policy enforcement in the execution path fits

    Closing the gap means generating evidence at the moment an agent acts, not reconstructing it afterwards. Trussed enforces policy in the execution path across models, agents, tools and MCP servers, applying allow, redact, block, rate limit or escalate for human approval to individual interactions and tool calls. Because enforcement happens at runtime, not after the fact, it produces audit-ready evidence of what an AI system was allowed to do and what it did, mapped to the EU AI Act.

    This addresses the interaction and tool-call layer of the crosswalk. It does not replace ISO/IEC 5338 process records, the provider and deployer responsibility decisions, or a legal assessment of whether a system is high-risk. It also does not cover areas outside that scope, such as model or dataset lineage. Used with process records, runtime evidence lets a compliance team show both that a control process exists and what it decided on a given call.

    Process records and event logs compared

    Process records

    Documented procedures, monitoring plans and review outputs that show how an AI system is operated.

    Article 12 event logs

    Automatically recorded events generated by the system itself across its lifetime.

    Runtime evidence for agents

    Per-interaction and per-tool-call events covering policy decisions, human approvals and outcomes.

    Map your agent evidence against Article 12

    Review how enforcement in the execution path produces audit-ready evidence for individual interactions and tool calls.

    See How Evidence Is Produced