AI Governance · Whitepaper

Chapter 9 · Risk, Governance, Trust and Assurance

AI Governance as Code

Key insights from Chapter 9 of "AI Governance"

Author Conceived and directed by Gunnar Nordqvist; text written by AI agents under his direction.
Published 1 November 2026
Build number 2026.11
eu-ai-act governance-as-code agentic-architecture digital-sovereignty
Figure 9.1: The governance control loop. Policies in the repository drive pipeline gates; deployed systems emit evidence; the inventory and review functions consume it and feed changes back to the policies and to the exception records.
Figure 9.1: The governance control loop. Policies in the repository drive pipeline gates; deployed systems emit evidence; the inventory and review functions consume it and feed changes back to the policies and to the exception records.

Chapter 8 made risk classification executable and kept the risk register in version control. This chapter builds the management system that consumes them, turning AI governance from a sequence of committee meetings into controls that run in pipelines, produce evidence, and can be audited without a workshop. It treats the AI management system of ISO/IEC 42001 as an operating model expressed in a repository, codifies the three policy families that matter most, namely model approval, data use, and deployment, and describes the AI inventory that feeds both the internal register and the public algorithm registers that European authorities increasingly maintain. Architecture as Code introduced Policy as Code (Chapter 10) and Governance as Code (Chapter 11) with the principle of assuring once and complying many times (66, Nordqvist, 2025); this chapter extends that principle to models, prompts, and agents.

Most AI governance programmes begin with a steering group, published principles, and a review board that approves AI use cases. Within a year the board has a backlog, teams have learned to describe their work in terms that avoid the board, and the organisation runs systems nobody has looked at. The board is not at fault; the mechanism is. A committee can decide, but it cannot enforce, observe, or remember at the pace of a delivery organisation that ships weekly.

Governance as code inverts the mechanism. The committee decides the rules, approves the interpretation of regulation, and reviews the evidence the rules produce; the pipeline applies the rules identically to every change, refuses what does not comply, and records what it did. Architecture as Code showed this for infrastructure, with Rego policies, pull-request approvals, and evidence published to an audit portal (66, Nordqvist, 2025). For AI the same structure applies to new objects: model versions, prompt configurations, evaluation results, risk register entries from Chapter 8, and threat models, the structured analyses of how a system could be attacked or misused. The committee still exists, but it meets to look at dashboards generated from evidence rather than at slides written to obtain approval.

Primary topics explored

  1. From committees to controls
  2. ISO/IEC 42001 as a codified operating model
  3. 1. Scope
  4. 2. Principles
  5. 3. Risk tiers and approval path
  6. 4. Inventory

About AI Governance

AI Governance is Book 2 of The Transformed Architecture. It shows how large European enterprises and public authorities decide what artificial intelligence is used for, classify and manage its risks, meet the obligations of the EU AI Act and its neighbours, choose and contract their suppliers, organise the forums that take decisions, and produce the evidence that shows it is all true.

It builds on the conclusions of Architecture as Code.

Who should read this

Chief risk and compliance officers, AI governance boards, CIOs and chief architects, and senior officials in public authorities.

Portrait of Gunnar Nordqvist

Gunnar Nordqvist

Conceived, directed and published the books of The Transformed Architecture.

Continue with the full chapter

Read the full chapter online

Chapter 9: AI Governance as Code in AI Governance gives the detailed explanations, practical examples and implementation patterns behind this summary.

This whitepaper belongs to “Risk, Governance, Trust and Assurance” and is one of 32 drawn from the manuscript.