How to Audit Agentic AI Workflows: A Control Testing Guide

Auditing agentic AI workflows through control testing and evidence review.

Agentic artificial intelligence gives organizations entirely new ways to conduct business. Unlike traditional forms of automation, which essentially just follow rules, AI agents can interpret instructions, plan actions, use tools, and perform sequences of steps with little or no interaction. Likewise, workflows built from multiple agents can distribute tasks among several specialized agents with varying permissions.

These agents can access core business systems and data. Their outputs and actions can vary even for similar inputs. Traditional IT controls around access, change management, approvals, and logging remain essential, but auditors may need additional procedures to trace an agent's actions and verify what actually occurred.

The greatest challenge for auditors is the need to evaluate what a given AI agent accesses, decides, alters, and executes, not just what it produces. In this article, I describe what agentic AI workflows are, why they require additional testing procedures, and how to create procedures that can support a defensible audit conclusion.

What Are Agentic AI Workflows?

An agentic AI workflow is a process in which one or more AI agents in audit interpret objectives, plan actions, interact with tools, and evaluate results, rather than executing a predefined series of steps. The flow usually consists of:

  • AI agents and language models that interpret commands and decide upon next steps.

  • Orchestrators that manage the work of multiple agents.

  • Integrations with tools and services (APIs, databases, and apps) via agents.

  • Memory and contextual data drawn from prior interactions or external sources.

  • Approvals and escalations by a human for actions requiring oversight.

  • Execution logs recording prompts, tool calls, and outcomes.

Traditional rule-based automation workflows generally follow predefined rules and execution paths. By contrast, in an agentic workflow, tools are dynamically and adaptively called to achieve the desired outcome. As a result, conventional audit assumptions and logic typically break down.

Why Do Agentic AI Workflows Require Specialized Auditing?

Audits of IT systems typically presume deterministic system behaviors and human supervisory authority over the automation. Agentic systems can violate both of these assumptions. According to ISACA (2026), frameworks built to audit deterministic automation can result in auditors producing complete-looking reports that fail to capture the major failure modes of agentic AI.

Five characteristics matter most:

  1. Nondeterministic outputs: Similar inputs can result in different outputs. A single successful test cannot necessarily prove consistent behavior.

  2. Delegated authority: Agentic systems can have authority to act across multiple applications, not just retrieve data.

  3. Dynamic execution paths: Agents can select different actions and execution paths across multiple connected systems, not just retrieve information.

  4. Model and prompt changes: A vendor may update the model of their agentic AI, potentially changing agent behavior without a traditional release of the application.

  5. Evidence traceability: Auditors need AI audit trail records that span prompts, decisions, tool calls, approvals, and outcomes.

Traditional access reviews check whether a user's access is justified by their role. For an agent, the scope of connected systems and the permissions available through them must also be evaluated. For example, an agentic system may have read access to a customer record, update access to a contract record, and trigger an approvals workflow. Transaction sampling has a similar limitation; it may show a sampled output was processed correctly, but it does not, by itself, establish whether the agent consistently operated within its authorized boundaries.

Key Risks to Evaluate When Auditing Agentic AI

Risk area

What auditors should examine

Excessive agent permissions

Unauthorized access or actions beyond approved scope

Prompt manipulation

Instructions that override intended behavior (see OWASP LLM01: Prompt Injection)

Data exposure

Access to confidential or restricted information

Unauthorized execution

Actions taken without required approval

Model drift

Behavioral changes following model or configuration updates

Inadequate logging

Missing or incomplete execution records

Third-party dependencies

Risks introduced by external models and tools

Auditors should separate inherent risk, the exposure that exists before any control is applied, from residual risk, which reflects what remains after the organization's controls are factored in. A high inherent risk does not necessarily indicate an unacceptable residual risk. Auditors should evaluate whether the relevant controls are suitably designed and operating effectively before reaching a conclusion.

How to Perform Control Testing for Agentic AI Workflows

1. Review AI Agent Inventory and Ownership

Control objective: Ownership, approved purposes, and documented scopes should be defined for every production agent.

Procedures: Obtain production agent inventory, identify business and technical owners, review documented objectives, reconcile the inventory against the production environment, investigate any discrepancies identified, and check whether unapproved or inactive agents have been flagged.

Evidence: Inventory records, ownership records, deployment approvals, and architecture records.

2. Test Agent Permissions and Access Controls

Control objective: Agents should be permitted to access only what their approved responsibilities require.

Procedures: Obtain service account and credential inventories; review permissions for connected applications and APIs; compare granted permissions to approved responsibilities; test access to denied records; check whether restricted credentials have been rotated and revoked; and review access review records. This procedure employs the same methodology utilized in broader control testing activities.

Evidence: IAM policies, role assignments, service account configurations, access review records, and API permission logs.

3. Test Prompt Governance and Instruction Controls

Control objective: System prompts should be documented, approved, version-controlled, and reviewed on change.

Procedures: obtain current production prompts; compare to the approved versions; check change logs; test to determine actions taken in response to conflicting or unauthorized instructions; review whether independent technical controls prevent prohibited actions.

Evidence: Prompt repositories, version histories, approval records, configuration snapshots, and test results.

4. Evaluate Tool Usage and Agent Authority Boundaries

Control objective: Agents should not execute actions beyond their authorized scope.

Procedures: Examine tools integrated with the agent and the APIs; review permissions for CRUD (Create, Read, Update, Delete) and transactions; test unauthorized tool calls; review sensitive actions and determine whether additional authorization is required; review records of denied actions.

Evidence: Tool registries, API access policies, execution logs, authorization records, and exception reports.

5. Test Human Oversight and Approval Mechanisms

Control objective: High-impact actions should receive human review where policy or risk assessment requires it.

Procedures: identify actions requiring approval; review thresholds and escalation conditions; test whether agents pause for authorization; verify reviewers can reject or override proposed actions; inspect exception logs for actions executed without required approval. This is the core of human-in-the-loop AI design.

Evidence: approval workflows, reviewer logs, override records, escalation policies, and exception reports.

6. Review Model and Workflow Change Management

Control objective: Changes to models, prompts, tools, and configurations should go through assessment and approval.

Procedures: obtain change histories; review approval records for material updates; examine third-party model update notifications; verify regression testing after significant changes; check whether prior versions can be identified and restored.

Evidence: change tickets, deployment records, model version histories, regression test results, and vendor notifications.

7. Validate Execution Logging and Audit Trails

Control objective: Agent activity should be recorded well enough to support independent review and reconstruction.

Procedures: Inspect logs covering prompts, responses, commands, and outcomes; determine whether each action can be tied to an agent identity; check timestamps and workflow identifiers; assess retention and access restrictions; review protections against alteration. These steps reflect audit trail best practices for AI systems.

Evidence: execution logs, API traces, audit trails, monitoring configurations, and retention policies.

8. Evaluate Agent Performance and Behavioral Monitoring

Control objective: Organizations should identify unexpected behavior shifts and investigate significant deviations.

Procedures: Review exception monitoring reports; investigate atypical variations in approval and transaction values; examine tool usage and output distribution; review remediation records; inspect reports of unauthorized or incorrect actions.

Evidence: Monitoring dashboards, exception reports, incident records, behavioral evaluation results, and remediation documentation.

How to Evaluate Audit Evidence From Agentic AI Workflows

Evaluating evidence for an agentic system means verifying the completeness of execution records, evaluating the reliability of system-generated logs, and assessing whether there is sufficient traceability of prompts, tool calls, and final actions. Additional procedures include reviewing evidence of approvals and overrides, reconciling agent activities with records in downstream applications, and ensuring evidence is retained and made available, which are important for audit evidence tracking.

In an agentic system, evidence of actual system execution may not be captured with screenshots or AI-generated summaries. A summary states what an agent claims to have done. Execution logs and API traces provide records of system activity, subject to the reliability and completeness of those records. An auditor should assess them separately.

Frameworks That Support Agentic AI Audits

Framework

Relevance

NIST AI Risk Management Framework

AI risk identification, measurement, management, and governance

ISO/IEC 42001

AI management systems and organizational controls

NIST Cybersecurity Framework 2.0

Cybersecurity governance and risk management

ISO/IEC 27001

Information security management and access controls

SOC 2 Trust Services Criteria

Security, availability, confidentiality, processing integrity, and privacy criteria

These frameworks are designed for different purposes and are not interchangeable. Which one applies depends on the system under review, the organization, the engagement objectives, and the criteria. The OWASP Top 10 for LLM Applications is a good resource to assess LLM-related risks such as prompt injection and excessive agency.

How Roz Supports Agentic AI Control Testing Workflows

Roz is an AI-native audit fieldwork and control-testing platform built for auditors, not the companies they audit. It supports auditors conducting control testing in agentic AI engagements through:

  • Evidence collection and mapping: Control-linked evidence requests and evidence-to-control mapping help organize client documentation.

  • AI-powered control testing: Defined or AI-suggested attribute checks run against evidence and sample sets, generating PASS, FAIL, N/A, or INFO results with supporting reasoning for auditor review.

  • Evidence sufficiency checks: Help identify missing or potentially insufficient evidence for auditor review.

  • Workpaper preparation: Completed control activities can be exported as formatted workpapers with supporting evidence and annotations, following established audit documentation best practices.

  • Audit trails and human review: Test reruns, verifications, and overrides are recorded, allowing auditors to review and verify AI-generated results.

Roz follows the same approach described in its audit workflow automation guidance: accelerating repetitive fieldwork, evidence review, and testing documentation while keeping professional judgment and final conclusions with the auditor.

Roz supports the testing and documentation process. It does not independently validate AI agents, execute penetration tests, or certify AI systems.

Conclusion

Agentic AI auditing is not a separate discipline from traditional control testing. It extends existing procedures to cover delegated authority, prompt governance, model changes, execution traceability, and human oversight. Familiar control objectives still apply, including appropriate access, documented changes, reliable logging, and required approvals.

What changes is the evidence needed to support a conclusion. Auditors should focus on whether controls are appropriately designed and operating effectively, backed by evidence of actual system behavior rather than a generated explanation of it. As agentic deployments become more common across customer support, finance, and internal operations, the firms that build this muscle now will be better positioned to scope and execute these engagements with confidence, including ongoing activities supported by continuous auditing vs. continuous monitoring practices.

Frequently Asked Questions

What makes auditing an AI agent different from auditing traditional software?

A traditional application runs fixed logic and typically follows predefined execution rules. An AI agent reasons through a task and can choose different actions for similar inputs. Auditors may need to consider behavioral variation, distribution analysis, and boundary testing in addition to standard access and change reviews.

Do auditors need to understand the underlying AI model to test these controls?

Not in technical depth. Auditors need to understand the agent's permissions, prompts, and execution paths well enough to design test procedures and evaluate whether logged evidence supports its actual behavior.

What is the biggest evidence risk in agentic AI audits?

Relying on the agent's own summary of what it did instead of execution logs, API traces, and reconciled downstream records. A summary describes intended behavior. It does not prove what the system executed.

Related Articles

Read more from us here