An AI governance framework for engineering teams: NIST AI RMF and ISO/IEC 42001 as controls you can test

How an engineering team turns the NIST AI Risk Management Framework and ISO/IEC 42001 into controls that run with the system: evaluation gates, permission limits, change control and audit trails, with the evidence each one leaves.

Governance frameworks say what an organization has to manage. They do not say which test to write. That gap is where most AI governance programs stall: the policy is approved, the risks are listed, and the system keeps changing without anyone being able to show that the rules still hold. This guide reads two common references, the NIST AI Risk Management Framework and ISO/IEC 42001, from the engineering side, and names the controls and the evidence a team can produce for each part.

The NIST AI RMF, function by function

The framework (NIST AI 100-1, version 1.0) organizes the work in four functions. NIST calls it a living document, and a companion profile for generative AI, NIST AI 600-1, was published in July 2024. Read the current version before you map to it.

  • Govern. Roles, policies and accountability across the life of a system. Engineering evidence: an inventory of the AI systems in production, an owner for each one, and a written rule for who approves each kind of change, enforced by the repository and the pipeline rather than by memory.
  • Map. The context of a system: what it is for, who it affects, which data and tools it can reach and what could go wrong. Engineering evidence: a short system card per system, kept in the repository, that lists its purpose, its tools and permissions, its data sources and the actions it must never take.
  • Measure. Assessing the risks that were mapped. Engineering evidence: evaluation cases written with the people who know the domain, checks in code for what is exact, a judge calibrated against human labels for the rest, and the results of every run kept with the version that produced them.
  • Manage. Acting on what was measured. Engineering evidence: a gate that blocks a release that fails, permissions enforced outside the model, human approval before actions that cannot be undone, monitoring in production, and a rollback path that has been tested.

The order matters less than the connection. A risk that is mapped but never measured is a wish. A measurement that does not stop a release is a report.

ISO/IEC 42001 from the engineering side

ISO/IEC 42001, published in December 2023, specifies an AI management system: a way for an organization to set objectives for its AI, plan for its risks, operate controls and improve them. Its Annex A lists reference controls, and an organization records which ones apply and why in a Statement of Applicability.

Engineering does not write the management system, and it supplies most of the evidence that it works. For the controls about the life cycle of AI systems, their data, their documentation and their monitoring, an auditor will ask to see something concrete: the test that ran before a release, the record of who approved a change, the log of what a system did. The controls below are built to leave exactly that.

The controls, and the evidence each one leaves

  1. Evaluation gate. Cases versioned next to the code, run on every change, with a rule in the pipeline that blocks a failure. Evidence: the results of each run, tied to the commit that produced them.
  2. Change control for prompts and models. Prompts, tools and configuration versioned and reviewed like code, and released only through the gate. Evidence: the history of each change, its review and its evaluation result.
  3. Permission limits. Scoped credentials, read-only access where reading is enough, and allowed actions enforced by the infrastructure, not by instructions in a prompt. Evidence: the policy files and the denials they produced.
  4. Human approval. A person confirms any action that cannot be undone, such as sending, paying or deleting. Evidence: the approval record, with who approved and what they saw.
  5. Audit trail. A record of each run and each tool call: actor, authorization, version, inputs referenced, outcome. With rules on redaction, access and retention. Evidence: the trail itself, and a test that shows it is complete.
  6. Incident review. Each failure in production becomes a new evaluation case, so the gate keeps it from coming back. Evidence: the incident record and the case it added.

Where the EU AI Act fits

The EU AI Act, Regulation (EU) 2024/1689, sets obligations by the risk level of a system and by the role of the company, with dates that apply in stages. The dates for high-risk systems were the subject of the Digital Omnibus that the European Commission proposed in November 2025, so check the current text on EUR-Lex before planning against a date. Whether a system is high-risk is a legal reading. What engineering can do is make sure that, if it is, the logging, the human oversight and the documented testing already exist.

Start with one system

  1. Choose the system with the most at stake.
  2. Write its system card: purpose, tools, data, forbidden actions, owner.
  3. Build the audit trail and ten evaluation cases, and connect the gate.
  4. Move its permissions out of the prompt and into the infrastructure.
  5. Show the evidence to the people who own risk and compliance, and ask what is missing.

A control that works on one system teaches more than a policy that covers every system on paper.

How my work fits

I build these controls as a Senior AI Engineer, remotely from Monterrey, Mexico. My published work covers the same ground: research on accountability and justifiability in agentic software engineering, an evaluation harness with 138 golden cases for a production multi-agent system, and open-source MCP servers with scoped access to data. I do not give legal opinions or certify; I build and test the technical side and document it for the people who do.

Sources

Where to go next

Common questions

What is an AI governance framework?

A structured way to decide, check and prove what an organization's AI systems may do: who is responsible, how risks are identified and measured, and which controls manage them. The NIST AI Risk Management Framework and ISO/IEC 42001 are two widely used references.

What are the four functions of the NIST AI RMF?

Govern, Map, Measure and Manage. Govern runs across the other three: it sets the roles, policies and accountability. Map establishes the context and the risks of a system, Measure assesses them, and Manage acts on them.

What is the difference between the NIST AI RMF and ISO/IEC 42001?

The NIST AI RMF is a voluntary framework that describes outcomes to aim for. ISO/IEC 42001 is a standard for an AI management system that an organization can be certified against, with a set of reference controls in its Annex A. Many teams use the first to think and the second to organize and prove.

Which engineering controls count as AI governance?

An evaluation gate that blocks failing changes, permissions enforced outside the model, human approval before irreversible actions, prompts and configuration under change control, an audit trail of runs and tool calls, and an incident process that turns each failure into a new test.

Can engineering alone make a company compliant with the EU AI Act?

No. Which obligations apply depends on the system and on the role of the company, and that is a legal reading. Engineering provides the controls and the records those obligations ask for, such as logging, human oversight and documented testing.

Work and evidence

MetaMCP as a Cloud Run MCP gateway (opens in a new tab)

My contribution: Built and documented the cloud-facing gateway path, registration artifacts, smoke checks and evidence export.

What this supports: Public implementation account covering transport, caller identity, secrets and tool-call evidence.

What it does not establish: The case study is not an independent security audit or a published concurrency benchmark.

Source reviewed:

Evaluation gates for a multi-agent education system (opens in a new tab)

My contribution: Built the evaluation harness, calibrated LLM judging, isolated case state and environment-specific evaluation gates.

What this supports: The public account describes golden cases as code, a calibrated LLM judge and the evaluation harness around them, on a Google Cloud agent stack.

What it does not establish: The figure of 700,000+ students describes the population served by the system. It does not measure simultaneous users, requests per second or personal ownership of the whole platform. Client code and data remain private.

Source reviewed:

From Traceability to Justifiability (opens in a new tab)

My contribution: Authored a public preprint on accountability structures in agentic software engineering, with code and study records linked from the research index.

What this supports: Research on binding evaluated behavior to deployed behavior and checking the evidence behind promotion.

What it does not establish: A preprint with a dated public-material study; not a certification of any production system.

Source reviewed:

Related questions

Technical guides