AI Act High-Risk Rules: Which Articles Become Code?
Your policy says a person approves every payment; does your code agree? Read as an engineer, each high-risk AI Act article maps to a change you can build and show.

IN 30 SECONDS
A compliance control in code is a check that runs on the path every ordinary action takes, instead of a promise in a document. This stage maps each high-risk article, 9 to 15 plus 72, to such a change. It assumes a lawyer has settled whether your system is high-risk.
KEY TAKEAWAYS · 3
- In an engineering reading, each high-risk article (9 to 15, plus 72) maps to something you can build: about half are documents you can generate, the rest code paths, tests and alerts.
- Put the rule on the path every ordinary action takes, check before the action, and make failing the check a designed outcome.
- Those controls can support compliance work; they do not establish legal compliance by themselves.
On this page
The checklist: article to code change
IN SHORT I’d map each high-risk article to something you can build and show in a repository.
WORDS TO KNOW
- Intended purpose
- The use the provider intends the system for. Reviewers start from it.
- Deployer
- A person or organisation that uses an AI system under its own authority.
- Abstain
- When an agent declines to answer because its evidence is thin, instead of guessing.
First, a qualified reviewer must look at what the system is meant to do, its Intended purpose The use the provider intends the system for. Reviewers start from it. See the glossary, and check the Article 6 conditions, both the Annex I and the Annex III routes. The ideas here assume that question is settled.
IN PLAIN WORDS
The rows come from the high-risk requirements (Chapter III, Section 2), plus Article 72. About half are documents you can generate from the repo; the rest are code paths, tests and alerts. That grouping is an engineering framing, not a legal taxonomy.
ADAM says: Think of the Act as a fire code, and your controls as the doors, alarms and drills. Where it breaks: whether the Act covers your system at all is a legal classification you settle with a lawyer.
And having the controls in place doesn’t, on its own, make a system compliant.
Coming up next: So why put the rule in the code rather than in a policy?
Two times I enforced compliance in code
IN SHORT Compliance you enforce in code beats compliance you promise in a document.
I’ve built it that way twice. First on-chain, directly on the blockchain: ERC-3643 enforces transfer eligibility inside the token. On an ordinary transfer, identity and compliance checks run before it goes through, so the token reaches only a verified holder.
WATCH OUT
That doesn’t cover everything. Privileged paths, meaning actions reserved for authorised roles such as a forced transfer, the admins themselves and whether off-chain identity decisions are valid still need their own review.
The second was a retrieval agent inside a fund, built to answer only with cited evidence. When the evidence is thin, it is designed to Abstain When an agent declines to answer because its evidence is thin, instead of guessing. See the glossary rather than guess.
STEP BY STEP
Step 1. On the path. ERC-3643 checks inside the token’s transfer. The agent checks inside its answer.
- On the path ERC-3643 checks inside the token’s transfer. The agent checks inside its answer.
- The check fails The token checks identity claims before the transfer settles; the agent checks its evidence before it answers. Here the check says no.
- A designed outcome The transfer reverts: it fails and its effects are undone. The agent abstains instead of guessing.
The AI Act would file these under human oversight and accuracy. I called them the reasons the agent was allowed near the books. Like the token, they support compliance work; they don’t establish it.
Built right, a rule on the ordinary path is a rule nobody has to remember.
ITEM GET
Rule on the path
FAQ
No. It’s an engineering checklist that maps obligations to code, so you know what to build. It doesn’t tell you whether the law applies to you, or how a court would read it.
Ask a lawyer how your system is classified and how the rules read. Then use this to build.
STAGE CLEAR
What you now know
- You can name the code change I’d map to each high-risk article, and to Article 72.
- You can say why a rule on the code path beats a rule in a document.
Check yourself
Tap or click a question to see the answer.
A colleague adds a policy PDF: “the agent never pays without approval”. The payment code still runs alone. What would you change?
Put the rule on the path: the payment code itself waits for a signature. A promise in a document stops nothing.
Former CTO of Integra. Named author (1 of 5) of ERC-3643, first author of ERC-6960, co-author of ERC-7410, and co-author of ERC-8203, which is still a draft. Building production AI and regulated Web3 systems.
Have a project to ship or a role to fill?
Discuss your project or roleFollow the engineering notes
Get new articles on production AI and smart contracts by email.

