AI regulation and compliance basics
Most engineers meet AI regulation as a sudden security questionnaire or a request from legal for "documentation of the model". This doc is the map I wish I had: what the EU AI Act actually requires and when, how the NIST AI Risk Management Framework and ISO/IEC 42001 fit in, and which artefacts your engineering team should produce so compliance becomes a by-product of good practice rather than a fire drill. This is engineering orientation, not legal advice; your counsel decides how the rules apply to you.
Why it matters
The EU AI Act (Regulation (EU) 2024/1689) applies to providers and deployers of AI systems placed on the EU market or whose output is used in the EU, regardless of where the company is based. Enterprise buyers outside the EU increasingly ask for alignment with NIST AI RMF or certification against ISO/IEC 42001. The good news is that the three overlap heavily: an inventory, risk assessment, documentation, testing, monitoring and incident handling cover most of what each asks for.
How it works
EU AI Act sorts systems by risk:
- Prohibited practices (such as certain manipulative techniques, social scoring and some biometric uses), banned since 2 February 2025.
- General-purpose AI (GPAI) models, whose providers have obligations (technical documentation, copyright policy, training data summary, plus extra duties for models with systemic risk) applying since 2 August 2025.
- High-risk systems, listed in Annex III (employment, education, credit, essential services, law enforcement and others) or embedded in regulated products under Annex I. These carry the heaviest obligations: risk management, data governance, technical documentation, logging, human oversight, accuracy and robustness, and conformity assessment.
- Transparency obligations under Article 50, for example telling people they are interacting with an AI system and marking synthetic content.
- Minimal risk, everything else, with voluntary codes.
The timeline moved in 2026. The "Digital Omnibus on AI" amendment, formally adopted in mid-2026 and reported by law firms as published in the Official Journal in July 2026, postponed high-risk obligations: Annex III systems from 2 August 2026 to 2 December 2027, and Annex I product-embedded systems to 2 August 2028. Article 50 transparency duties and the AI Office's GPAI enforcement powers stayed on 2 August 2026, with a short extension to 2 December 2026 for marking obligations on systems already on the market. Always check the consolidated text on EUR-Lex before relying on a date.
Rendering diagram…
NIST AI RMF 1.0 (AI 100-1) is voluntary and organises work into four functions: Govern, Map, Measure and Manage. Its Generative AI Profile (NIST AI 600-1, July 2024) lists twelve risks that generative AI creates or worsens, including confabulation, data privacy, information security and harmful content, and maps suggested actions to the four functions.
ISO/IEC 42001:2023 is a certifiable management system standard (an "AIMS"), structured like ISO 27001. Certification says your organisation's processes for governing AI meet the standard; it does not certify a particular model or product.
Reference architecture
The trick is one set of engineering artefacts that feeds all three frameworks.
Rendering diagram…
Start with the inventory. You cannot classify, assess or document systems you do not know about, and shadow AI features built in a hackathon are where surprises live.
Code
A lightweight, version-controlled inventory record that engineers maintain alongside code. Keeping it in the repo means it changes in the same pull request as the feature.
from dataclasses import dataclass, field
from enum import Enum
class EURisk(str, Enum):
PROHIBITED = "prohibited"
HIGH_ANNEX_III = "high_annex_iii"
HIGH_ANNEX_I = "high_annex_i"
TRANSPARENCY = "transparency_art50"
MINIMAL = "minimal"
@dataclass
class AISystemRecord:
system_id: str
owner: str
purpose: str
models: list[str] # provider and exact model ids or weight hashes
eu_risk: EURisk
role: str # "provider" or "deployer" under the AI Act
personal_data: bool
human_oversight: str # who can intervene and how
evals: list[str] = field(default_factory=list) # links to eval reports
nist_genai_risks: list[str] = field(default_factory=list) # e.g. "confabulation"
last_reviewed: str = ""
def gaps(self) -> list[str]:
missing = []
if self.eu_risk in {EURisk.HIGH_ANNEX_III, EURisk.HIGH_ANNEX_I} and not self.evals:
missing.append("High-risk system without documented testing")
if self.eu_risk == EURisk.TRANSPARENCY and "disclosure" not in self.human_oversight:
missing.append("Article 50 disclosure not documented")
if not self.last_reviewed:
missing.append("Never reviewed")
return missing
A CI job that loads every record and fails on gaps() for high-risk systems is a surprisingly effective governance control.
Trade-offs and pitfalls
- Classification is a legal call. Engineers can propose a risk tier; legal must confirm it. Document the reasoning either way.
- Provider versus deployer. Fine-tuning or substantially modifying a model, or putting your name on a system, can change your role and obligations.
- Dates move. The omnibus already shifted the high-risk timeline once. Track the official text, not blog summaries.
- Paper compliance. Documentation that does not match the running system is worse than none in an audit. Generate it from real configs and eval results.
- Ignoring other laws. GDPR, sector rules (finance, health), consumer protection and local AI laws still apply alongside the AI Act.
- Over-engineering minimal-risk features. Proportionality matters; a spell-checker does not need a conformity assessment.
Checklist
- Maintain an AI system inventory with owners, models and purposes.
- Classify each system under the EU AI Act with legal sign-off.
- Map controls to NIST AI RMF functions and AI 600-1 risks.
- Generate technical documentation from real configs and eval results.
- Implement Article 50 disclosures and content marking where applicable.
- Set up post-deployment monitoring and incident reporting.
- Review the inventory on every major model or feature change.