Lesson 66.6 · 6 of 7 · 5 min read · Reviewed 24 Nov 2026
The NIST AI Risk Management Framework in brief
By the end, you can
- Describe the four functions of the NIST AI Risk Management Framework.
- Map everyday engineering practices to Govern, Map, Measure and Manage.
The EU AI Act (66.5) is law. The NIST AI Risk Management Framework (AI RMF) is different: a voluntary framework published by the US National Institute of Standards and Technology. It doesn’t tell you what you must do; it gives a shared structure for finding and handling AI risk. Many organisations, inside and outside the US, use it to organise their AI governance.
This is an overview, not legal or compliance advice. Read the framework itself for its full wording.
What “trustworthy” means here
The framework describes characteristics of trustworthy AI: valid and reliable; safe; secure and resilient; accountable and transparent; explainable and interpretable; privacy-enhanced; and fair, with harmful bias managed. Risks are failures of these.
The four functions
| Function | The question it answers | In an agent team, this looks like |
|---|---|---|
| Govern | Who is responsible, and what are our rules? | An AI policy, named owners per system, risk appetite, training, a way to raise concerns |
| Map | What is this system, who does it affect, and what could go wrong? | Intended use, users and affected people, a threat model (65.1), a data-flow map (70.4) |
| Measure | How big are the risks, and are they changing? | Evals, red-teaming, bias audits (66.4), online monitoring and drift (67.4) |
| Manage | What do we do about them? | Prioritised fixes, guardrails, approval gates, rollouts and kill switches, incident response (72.5) |
Govern is cross-cutting: it shapes how the other three are done. Map, Measure and Manage repeat through the life of a system, not once before launch. A model upgrade, a new tool or a new user group sends you back to Map.
A worked example
A team is about to give its support agentAgent: A system where a model decides its own next steps, calling tools in a loop until the task is done. a new issue_refund tool.
- Govern: the AI policy says actions that move money need a named owner and an approval rule. The owner is the payments lead.
- Map: who can trigger refunds? What if a prompt injectionPrompt injection: An attack where text crafted by someone else makes a model ignore its instructions or take unintended actions. in an email asks for one (65.2)? What if amounts are misread? Risks are listed with likelihood and impact.
- Measure: an evalEval: A repeatable test that measures how well an AI system performs on a set of cases with defined success criteria. set with tricky refund requests, an injection red-team set, and a dashboard of refunds per hour and refund size.
- Manage: refunds above a threshold need human approval (64.5), a per-day cap, a kill switch (72.3), and audit entries for every attempt (66.1). Residual risk is accepted in writing by the owner.
None of this is new engineering. The framework’s value is that it makes sure each part happens, has an owner and is written down.
The Playbook and the Generative AI Profile
- The AI RMF Playbook lists suggested actions for each function and its categories. Use it as a checklist to adapt, not a form to fill in word for word.
- The Generative AI Profile (NIST AI 600-1) applies the framework to generative models and lists risks that are new or worse with them, such as confabulation (confident false output), harmful content, data privacy, information security and intellectual property issues.
Common mistakes
- Treating the framework as a one-off document written before launch.
- Skipping Govern, so nobody owns the risks Measure finds.
- Measuring without managing: dashboards of risks with no thresholds or actions.
- Claiming “NIST compliant”. The framework is voluntary and has no certification; say instead how you use it.
Key points
- The NIST AI RMF is a voluntary framework from the US National Institute of Standards and Technology for managing risks from AI systems.
- It has four functions: Govern (culture, policies, roles), Map (context and risks), Measure (assess and track them) and Manage (prioritise, act and monitor).
- Govern runs across the other three; the rest repeat through the system's life rather than happening once.
- A companion Playbook suggests actions, and a Generative AI Profile applies the framework to generative models.
Map team practices to the RMF functions
Place a team's practices under Govern, Map, Measure and Manage and find the risks nobody owns or acts on.
You will have: A gaps() check that lists risks without an owner, without a measure, or measured with no action behind them.
Steps
- Run the starter and read the practices under each function.
- Flag any function with no practice at all.
- For each risk, flag a missing owner (Govern), a missing measure (Measure) and a measure with no action (Manage).
- Fix one gap in the data, for example give refund drift an owner and an alert threshold, and run again.
Done when
- Every function has at least one practice.
- Refund drift is flagged twice: no owner, and nothing acts on its dashboard.
- Supplier ranking bias is flagged as never measured; 3 gaps in total.
Open in the Playground No API key needed.
Starter code (Python)
# Map a team's everyday practices to the NIST AI RMF functions and find the gaps.
PRACTICES = [
("AI policy for actions that move money", "Govern"),
("named owner per agent", "Govern"),
("threat model for the support agent", "Map"),
("data-flow map", "Map"),
("eval set with tricky refund requests", "Measure"),
("prompt-injection red-team set", "Measure"),
("dashboard of refunds per hour", "Measure"),
("approval gate above the refund threshold", "Manage"),
("kill switch for auto-refunds", "Manage"),
]
# Each risk found in Map: who owns it, how it is measured, and what is done when the measure crosses a line.
RISKS = [
{"risk": "injected email triggers a refund", "owner": "payments lead",
"measure": "prompt-injection red-team set", "manage": "approval gate above the refund threshold"},
{"risk": "refund amount misread", "owner": "payments lead",
"measure": "eval set with tricky refund requests", "manage": "approval gate above the refund threshold"},
{"risk": "refund volume drifts upward", "owner": None,
"measure": "dashboard of refunds per hour", "manage": None},
{"risk": "agent ranks suppliers unfairly", "owner": "procurement lead",
"measure": None, "manage": None},
]
FUNCTIONS = ["Govern", "Map", "Measure", "Manage"]
def gaps(practices, risks):
found = []
# TODO 1: add "no practice for <function>" for any of the four functions with no practice
# TODO 2: for each risk, flag a missing owner (Govern), a missing measure (Measure),
# and a measure with no action behind it (Manage)
return found
for fn in FUNCTIONS:
print(f"{fn:<8}", "; ".join(p for p, f in PRACTICES if f == fn))
found = gaps(PRACTICES, RISKS)
for g in found:
print("GAP", g)
print(f"gaps: {len(found)}")
Show a solution
# Map a team's everyday practices to the NIST AI RMF functions and find the gaps.
PRACTICES = [
("AI policy for actions that move money", "Govern"),
("named owner per agent", "Govern"),
("threat model for the support agent", "Map"),
("data-flow map", "Map"),
("eval set with tricky refund requests", "Measure"),
("prompt-injection red-team set", "Measure"),
("dashboard of refunds per hour", "Measure"),
("approval gate above the refund threshold", "Manage"),
("kill switch for auto-refunds", "Manage"),
]
# Each risk found in Map: who owns it, how it is measured, and what is done when the measure crosses a line.
RISKS = [
{"risk": "injected email triggers a refund", "owner": "payments lead",
"measure": "prompt-injection red-team set", "manage": "approval gate above the refund threshold"},
{"risk": "refund amount misread", "owner": "payments lead",
"measure": "eval set with tricky refund requests", "manage": "approval gate above the refund threshold"},
{"risk": "refund volume drifts upward", "owner": None,
"measure": "dashboard of refunds per hour", "manage": None},
{"risk": "agent ranks suppliers unfairly", "owner": "procurement lead",
"measure": None, "manage": None},
]
FUNCTIONS = ["Govern", "Map", "Measure", "Manage"]
def gaps(practices, risks):
found = []
have = {fn for _, fn in practices}
for fn in FUNCTIONS:
if fn not in have:
found.append(f"no practice for {fn}")
for r in risks:
if not r["owner"]:
found.append(f"Govern: no owner for '{r['risk']}'")
if not r["measure"]:
found.append(f"Measure: '{r['risk']}' is never measured")
elif not r["manage"]:
found.append(f"Manage: '{r['risk']}' is measured but nothing acts on it")
return found
for fn in FUNCTIONS:
print(f"{fn:<8}", "; ".join(p for p, f in PRACTICES if f == fn))
found = gaps(PRACTICES, RISKS)
for g in found:
print("GAP", g)
print(f"gaps: {len(found)}")