Compliance is a stack, not a checkbox
- Legal basis and agreementsDPA, BAA, government terms
- Deployment pathAnthropic API, cloud platform, gov offering
- Enabled featuresonly those eligible for the regime
- Data flowswhat is sent, stored, logged, and where
- Controls and oversightaccess, retention, review, audit trail
GDPR: principles that become design decisions
The EU General Data Protection Regulation applies to processing personal data. Article 5 sets the principles: lawfulness, fairness and transparency; purpose limitation; data minimisation; accuracy; storage limitation; integrity and confidentiality — and Article 5(2) makes the controller accountable for being able to demonstrate compliance. For an architect, each principle maps to a choice. Minimisation means sending the model only the fields the task needs. Storage limitation means deciding how long prompts, outputs and logs live. Accuracy matters because a model can state wrong facts about a person.
| GDPR article | What it requires (paraphrased) | Architecture consequence |
|---|---|---|
| Art. 5 | Six processing principles plus accountability | Minimise fields sent; set retention; keep evidence of decisions |
| Art. 22 | Limits on solely automated decisions with legal or similarly significant effects | Keep meaningful human involvement; allow people to contest (5.3) |
| Art. 25 | Data protection by design and by default | Privacy controls built in from the first design, not bolted on |
| Art. 28 | Processors need sufficient guarantees and a binding contract | A data processing agreement with the AI vendor; sub-processors authorised |
| Art. 35 | Impact assessment for likely high-risk processing, especially new technologies | Run a DPIA before launching high-risk AI processing |
Article 22 deserves care because AI decisions touch it directly. It gives people the right not to be subject to a decision based solely on automated processing that produces legal effects or similarly significantly affects them. There are exceptions — where necessary for a contract, authorised by law, or based on explicit consent — but where they apply, the controller must put safeguards in place, including at least the right to obtain human intervention, to express a point of view and to contest the decision. Article 13 also requires meaningful information about the logic involved when such decision-making is used. In practice, a design with a genuine human decision-maker (5.3) is usually the simpler path.
HIPAA: business associates and eligible features
In the US, HIPAA governs protected health information (PHI) held by covered entities such as health plans and most providers. HHS defines a business associate as a person or organisation that performs functions on a covered entity’s behalf involving PHI — creating, receiving, maintaining or transmitting it — and notes that business associates are directly liable for complying with certain HIPAA provisions. A business associate agreement (BAA) must describe the permitted uses and disclosures of PHI and include safeguards and breach-reporting obligations.
Anthropic’s documentation describes a HIPAA readiness setting for API organisations: an admin enables it and executes a BAA, after which the API rejects features that are not HIPAA-eligible rather than letting them run. The eligible set includes the Messages API and several related features; the docs list others — including the Files API, the Message Batches API and code execution — as not eligible. The same page warns not to put PHI in JSON schema definitions used for structured outputs, because schemas are cached; patient details belong in message content. Anthropic’s privacy center adds that BAA customers face configuration requirements and limits on available features and integrations.
A hospital pipeline checked against HIPAA readiness
- Passes: BAA executed with the vendor
- Passes: Notes sent inline via the Messages API
- Fails: Nightly bulk run via the Batches APInot HIPAA-eligible
- Fails: Scans uploaded via the Files APIsend PDFs inline instead
- Fails: Patient names in a JSON schema enumPHI belongs in messages
- Check: App logs with PHI in a general toolyour own obligation
Retention: what zero data retention does and does not cover
Anthropic’s docs describe zero data retention (ZDR) as an arrangement where customer prompts and responses are not stored at rest after the API response is returned, apart from what is technically necessary or needed to comply with law or combat misuse. It is enabled per organisation through Anthropic’s sales team. Some features are not ZDR-eligible because they are stateful by nature — the docs list the Files API, batch processing and code execution among them — and using one of those is a choice to step outside ZDR for that data. The privacy center adds that ZDR applies to commercial API use and not to consumer plans.
FedRAMP: authorisation belongs to the cloud service
FedRAMP is the US government programme for authorising cloud services used by federal agencies. Anthropic’s Public Sector FAQ makes a point worth remembering: FedRAMP and DoD Impact Levels certify cloud services, and AI models are software components, not cloud services. So the architectural question is which hosting path carries the authorisation. The FAQ names Claude for Government as Anthropic’s FedRAMP High authorised product, lists Claude in Amazon Bedrock in AWS GovCloud as approved for FedRAMP High and DoD IL4/5 workloads, and Google Vertex AI as authorised at FedRAMP High. It also states that Claude Enterprise purchased through AWS Marketplace is not FedRAMP authorised.
Choosing a deployment path by regime
- US federal, FedRAMP HighAuthorised gov pathClaude for Government, Bedrock GovCloud, Vertex AI
- US health data (PHI)BAA + eligible featuresHIPAA readiness; no stateful extras
- EU personal dataDPA, minimise, DPIAretention and residency checked
- No regulated dataStandard commercialstill set retention and logging
Traps the wrong answers are built from
| Tempting but wrong | Do this instead |
|---|---|
| Saying the model itself is HIPAA or FedRAMP compliant. | Compliance comes from the agreement, the authorised deployment path, the eligible features and your own data handling. |
| Signing a BAA and then using any convenient API feature. | Use only HIPAA-eligible features; replace ineligible ones such as batch or file uploads with eligible alternatives. |
| Assuming zero data retention covers every feature and every plan. | Check which features are ZDR-eligible; stateful features and consumer plans sit outside it. |
| Letting a model make significant decisions about EU residents with no human involved. | Keep a meaningful human decision-maker or put Article 22 safeguards in place, and assess with a DPIA. |
| Forgetting your own application’s logs, caches and analytics tools. | Map every data flow, including your own logging, and apply the same retention and access rules. |
You should now be able to
- Translate GDPR Articles 5, 22, 25, 28 and 35 into concrete design choices for a Claude system.
- Explain HIPAA business associate obligations and what a BAA-covered Claude configuration requires.
- Describe what zero data retention covers, and recognise features that fall outside it.
- Choose a FedRAMP-appropriate deployment path, knowing that authorisation applies to cloud services rather than models.
- Identify compliance gaps in an architecture across agreements, hosting, features, data flows and oversight.