Compliance

AI Compliance Checklist for Healthcare, Finance, and Enterprise AI Agents

July 2026 | 20 min read | InferenceFort Team

Regulators don't care that your agent made a decision autonomously. They care that you can prove what it decided, on what data, and who was accountable. When an AI agent reads a patient record to draft a care summary, it is a HIPAA business associate. When it answers a European customer's support query, GDPR applies to the prompt text itself. The compliance obligations don't change because the actor is software.

What makes AI agents genuinely harder to govern than traditional software is that they are autonomous, non-deterministic, and multi-step. A traditional application has a defined set of database queries and API calls auditors can enumerate. An agent has open-ended tool access, dynamically generated payloads, and behavior that emerges from the interaction between the model, the system prompt, and runtime inputs.

This guide covers six frameworks in depth: HIPAA, SOC 2, GDPR, PCI DSS, ISO 27001, and the EU AI Act. For each, we answer what specifically applies to AI agents, what you need to implement, and what the penalty is for getting it wrong.

1. Why AI Agents Create New Compliance Challenges

Autonomous decisions with side effects. An agent that can send emails, execute database writes, or trigger external API calls can cause compliance violations without any human instruction at the moment of violation. Compliance frameworks assume a human decision-maker — or at minimum a deterministic system — triggered every regulated action. Agents break that assumption, which means technical enforcement has to fill the gap where human process reviews used to be sufficient.

Prompt text is regulated data. When a user tells a support agent "my account number is 4111..." or a healthcare assistant "I need to refill my Lipitor prescription," that prompt text is regulated data. It flows through your inference infrastructure, gets logged by the LLM provider, and may be retained for model improvement. Every layer of that pipeline is in scope — not just the application database.

Key principle: If regulated data can appear in a prompt, the entire inference pipeline — including the model provider, the SDK, the audit log, and every tool the agent can call — is in scope for the applicable compliance framework.

2. HIPAA and Healthcare AI

HIPAA's Privacy and Security Rules apply whenever an AI agent processes Protected Health Information (PHI). PHI is any individually identifiable health information — clinical, demographic, or financial — if it could be used to identify a specific patient. Penalties for willful neglect range from $50,000 to $1.9 million per violation category per year.

The 18 HIPAA Safe Harbor Identifiers

Safe Harbor de-identification under 45 CFR §164.514(b) requires removing all 18 identifiers. When a patient tells a healthcare AI assistant "I'm Jane Smith, DOB 03/12/1971, and I need to know if my insurance covers the procedure my cardiologist Dr. Patel scheduled for next Tuesday," that single sentence contains at least six identifiers. Your enforcement layer needs to detect all of them before the prompt reaches any model provider.

BAA Requirements

Business Associate Agreements are required with every service that processes PHI on your behalf — including your LLM provider. OpenAI offers a BAA through their Enterprise tier; Anthropic has HIPAA-compliant options. But a BAA only covers data sent to those APIs. If your agent logs prompts to a third-party observability platform or caches responses in a vector store, those services need BAAs too.

The most defensible posture for healthcare AI is in-process PHI redaction before the LLM call. If PHI is stripped before the prompt leaves your process, your LLM provider never sees it, and the BAA question for that provider becomes moot.

Audit Logging Under HIPAA

The HIPAA Security Rule (§164.312(b)) requires audit controls that record and examine activity in systems containing or using PHI. For AI agents, this means retaining records for six years that include:

3. SOC 2 for AI Systems

SOC 2 (AICPA Trust Service Criteria) is the dominant compliance framework for SaaS companies. When AI agents process customer data, they expand your SOC 2 scope in ways most companies haven't fully addressed. The AICPA released AI-specific guidance in 2024; auditors are now actively testing for AI controls.

Trust Service Criteria and AI

Security (CC6) — logical access controls. The tools you grant an agent are equivalent to the permissions you grant a service account. An agent that can query a customer database should have its access logged, reviewed, and bounded by least privilege — the same governance you apply to any service identity.

Availability (A1) — new dependency chain. Your AI agents introduce LLM providers, external tool APIs, and your policy enforcement layer as availability dependencies for business processes. Your SOC 2 controls need to document what happens when these are unavailable, including explicit fail-open versus fail-closed policy choices.

Confidentiality (C1) — prompts are confidential data. Customer data in prompts must be treated as confidential. Every third-party observability or logging tool you've added to your inference pipeline needs to be in scope for your confidentiality controls — including the ones added for debugging convenience.

Processing Integrity (PI1) — output validation. SOC 2 auditors are now asking what checks exist on agent outputs before they affect business data. Models are probabilistic; testing alone is not sufficient evidence of processing integrity for autonomous agents.

What Auditors Are Now Testing

4. GDPR and AI Agents

GDPR applies whenever an AI agent processes personal data of EU residents — regardless of where the agent or controller is located. The maximum fine is €20 million or 4% of global annual turnover, whichever is higher. For AI agents, several concrete requirements differ from traditional software.

Lawful Basis for Processing

Every processing activity needs a lawful basis under Article 6. For enterprise AI agents, the most common applicable bases are:

Special category data (Art. 9) — health data, biometrics, racial origin, political opinions — requires explicit consent or a specific regulatory basis. Healthcare AI agents processing EU patient data need both Art. 6 and Art. 9 bases established before any data touches the agent.

Right to Explanation and Automated Decisions

Article 22 GDPR restricts solely automated decisions that produce legal or similarly significant effects. If an AI agent's output directly determines a credit decision, an insurance premium, or an employment outcome, you need either human review in the loop or explicit consent from the data subject. Users also have a right under Articles 13 and 14 to know that an AI is involved in decisions affecting them and how that AI works.

Data Minimization in Prompts

Article 5(1)(c) requires data minimization — only processing personal data adequate, relevant, and limited to what is necessary. System prompts that pull entire customer records "just in case" violate this principle. Your prompt construction should be as specific as your database queries — request only the fields the agent needs for the specific task at hand.

Third-Country Transfers: The OpenAI and Anthropic Question

Sending personal data to OpenAI or Anthropic APIs may constitute a transfer to a third country. Both providers are enrolled in the EU-US Data Privacy Framework (effective 2023), which provides a transfer mechanism. You still need to:

Practical guidance: In-process PHI and PII redaction before the LLM call is the most defensible GDPR posture. If personal data is stripped before the prompt leaves your EU infrastructure, the third-country transfer question doesn't arise for the model provider.

5. PCI DSS

PCI DSS v4.0 governs cardholder data (CHD) — primary account numbers (PANs), cardholder names, expiration dates, and service codes. Penalties for non-compliance range from $5,000 to $100,000 per month, and card brand fines can reach $500,000 per incident. The question for AI agents is whether they can encounter CHD in prompts, tool responses, or retrieval context.

When Cardholder Data Appears in Prompts

The scenarios are more common than teams expect:

If any of these apply, the agent's inference infrastructure is in PCI DSS scope. The LLM provider, the SDK, and the audit log system all need to meet PCI DSS requirements — or you need to remove CHD before it reaches any of those systems.

Scope Reduction Strategies

The least painful path is scope reduction — prevent CHD from ever appearing in prompts. Three practical approaches:

PCI DSS Requirement 3.4 requires PANs to be rendered unreadable anywhere they are stored. If your audit log captures full prompt text containing PANs, those logs are in scope. In-process redaction before logging is the only way to keep audit logs out of PCI DSS scope.

6. ISO 27001

ISO 27001:2022 added Annex A controls directly relevant to AI systems. The framework is risk-based — you identify risks to information assets and select appropriate controls. AI agents introduce new risks that need to be explicitly addressed in your Statement of Applicability (SoA). Certification failure means losing the certification and rebuilding trust with enterprise customers who require it.

Relevant Annex A Controls for AI

Risk Assessment for Autonomous Systems

ISO 27001's risk assessment (Clause 6.1.2) requires identifying risks to information assets. For AI agents, the novel risks that need entries in your risk register include: prompt injection leading to unauthorized actions, data exfiltration via tool calls, model inversion attacks exposing training data, and supplier risk from model providers with unilateral data handling policy changes. Each needs an associated control and documented residual risk acceptance.

7. EU AI Act

The EU AI Act is fully applicable from August 2026 and creates obligations based on risk classification. Penalties for non-compliance with high-risk system requirements reach €30 million or 6% of global annual turnover. For enterprise AI agents, the key question is whether the agent falls into a high-risk category under Annex III.

High-Risk AI System Classification

Several Annex III categories apply directly to common enterprise agents:

A loan underwriting agent, an HR candidate screening agent, and a fraud detection agent are all clearly high-risk under these definitions. If you have agents that influence individual decisions in these domains, assume high-risk classification until legal review says otherwise.

High-Risk System Requirements

High-risk AI systems require a set of technical and governance controls before deployment:

Article 12's automatic logging requirement is specific: logs must capture the operating period of each use, the reference model version, the input data or a reference to it, and the outputs. For AI agents this maps to: session timestamps, which model and policy bundle version was active, a hash or reference to the prompt, and the agent's outputs and tool calls.

Prohibited Practices

Article 5 prohibits AI systems that manipulate individuals through subliminal techniques, exploit vulnerabilities of specific groups, or conduct social scoring. Enterprise agents generally don't fall into these categories, but "social scoring" warrants review — any agent that generates assessments of individuals' trustworthiness or behavior based on data unrelated to the immediate task needs legal sign-off before deployment.

8. Audit Logging Requirements by Framework

Requirement HIPAA SOC 2 GDPR EU AI Act (High-Risk)
Log prompt content Yes (with PHI handling) Recommended (confidentiality) Hash or metadata only recommended Yes (Art. 12 — input data)
Log model/provider Yes Yes Yes (RoPA) Yes (technical docs)
Log user identity Yes (§164.312(b)) Yes (CC6.2) Yes (accountability) Yes
Log tool calls Yes (if tool accesses PHI) Yes (CC6) Yes Yes (Art. 12)
Log policy decisions Yes Yes Yes (Art. 22 decisions) Yes (Art. 12)
Retention 6 years Audit period + 1 year typical Not specified (data minimization applies) Minimum 6 months (Art. 12)
Tamper evidence Implied by integrity requirement CC9 (change management) Integrity principle (Art. 5(1)(f)) Yes — logs must be protected
Deletion capability Not required for audit logs Not required Yes — right to erasure (Art. 17) No specific provision
Human review of AI decisions Not specified PI1 (processing integrity) Yes — Art. 22 (automated decisions) Yes — Art. 14 (human oversight)

9. Compliance Architecture

COMPLIANCE CONTROL MAPPING AI AGENT LangChain / Vercel AI SDK ENFORCEMENT SDK Policy Eval · PHI Redact · Audit LLM PROVIDER OpenAI / Anthropic API AUDIT STORE Postgres · SIEM · S3 HIPAA PHI Redaction 18-Identifier Scan 6yr Audit Retention BAA Coverage SOC 2 Access Controls Tool Governance Change Management Availability SLAs GDPR Data Minimization Transfer Mechanisms Right to Erasure Art. 22 Human Review EU AI ACT Risk Classification Art. 12 Logging Human Oversight Conformity Assessment
Compliance controls delivered by the enforcement SDK and audit infrastructure

10. Implementation Checklist

These 20 items are the minimum viable AI compliance posture for an enterprise deploying agents on regulated data. Each item is specific enough to verify — not a policy statement, but a technical control you can test.

HIPAA (Healthcare)

SOC 2

GDPR

PCI DSS

EU AI Act

Enforce compliance without per-call code

InferenceFort intercepts at the framework layer — PHI redaction, audit logging, model access policy, and tool governance activated by installing the SDK.

Get early access