[agenticwork]
← blog

The NIST AI Risk Management Framework: A Practical Guide for Engineering Teams

On January 26, 2023, the National Institute of Standards and Technology released the AI Risk Management Framework (AI RMF 1.0). Unlike prescriptive regulations that mandate specific technical controls, the NIST AI RMF is a voluntary framework designed to help organizations identify, assess, and mitigate risks associated with AI systems throughout their lifecycle. It has since become the de facto reference point for AI governance in the United States, referenced by federal agencies, cited in procurement requirements, and adopted by organizations looking for a structured approach to AI risk that is not tied to any single regulatory regime.

For engineering teams, the framework can feel abstract. It speaks in terms of "characteristics of trustworthy AI" and "socio-technical systems." This article translates the framework into concrete engineering decisions — what it requires, what it means for your AI systems, and how production architectures like our platform map to its core functions.

The Four Core Functions

The AI RMF organizes AI risk management into four core functions. These are not sequential phases — they are continuous, concurrent activities that apply throughout the AI system lifecycle.

GOVERN: Establish the Rules

The GOVERN function is about establishing the organizational context for AI risk management. It asks: who is responsible for AI risk decisions? What policies exist? How are risk tolerances defined and communicated?

For engineering teams, GOVERN translates to concrete requirements:

  • Defined approval workflows: Who can authorize an AI system to move from development to production? What criteria must be met?
  • Role-based access controls: Who can modify agent behaviors, tool permissions, and governance policies? How are those changes tracked?
  • Risk tolerance policies: What level of autonomous action is acceptable for different categories of AI operations? Which actions require human approval?
  • Accountability structures: When an AI system makes a decision that causes harm, who is accountable? How is that accountability chain documented?

Most organizations skip GOVERN entirely when prototyping AI systems. The engineer building the prototype is the only person involved, so governance feels unnecessary. The problem surfaces when the prototype needs to become a production system and nobody has defined who can approve what, under which conditions, with what oversight.

MAP: Understand the Context

The MAP function is about understanding the context in which your AI system operates. What are its intended use cases? What are the foreseeable misuse cases? Who are the stakeholders affected by the system's outputs and actions? What are the potential harms?

The NIST framework identifies three categories of potential harm:

  1. Harm to people: Physical harm, psychological harm, economic harm, or harm to civil liberties. For agentic AI, this includes scenarios where an agent takes actions that adversely affect individuals — denying a claim, flagging a transaction, or making a recommendation that leads to a negative outcome.
  2. Harm to organizations: Reputational damage, financial loss, operational disruption, or legal liability. An AI agent that sends incorrect information to customers, makes unauthorized commitments, or exposes sensitive data creates organizational harm.
  3. Harm to ecosystems: Broader societal and environmental impacts, including effects on democratic processes, labor markets, and the information ecosystem.

For engineering teams building agentic AI, MAP requires a systematic inventory of what your agents can do, what could go wrong, and who would be affected. This is not a one-time exercise. Every time you add a new tool capability, expand an agent's permissions, or deploy to a new use case, the risk surface changes and the MAP function needs to be revisited.

MEASURE: Quantify the Risks

The MEASURE function is about establishing metrics and evaluation methods for AI risk. How do you know whether your AI system is performing within acceptable bounds? How do you detect when it drifts outside them?

For agentic AI systems, measurement is particularly challenging because agent behavior is non-deterministic and context-dependent. The same agent given the same input may take different paths depending on the state of external systems, the model's internal randomness, and the specific tools available. Meaningful measurement requires:

  • Behavioral metrics: What percentage of agent actions are approved by human reviewers? What is the rejection rate? What categories of actions are most frequently rejected?
  • Accuracy metrics: For agents making decisions or classifications, what is the error rate? How does it vary across different populations or contexts?
  • Operational metrics: How often do agents fail or time out? What is the distribution of step counts per workflow? How frequently do agents request tools outside their permitted scope?
  • Bias and fairness metrics: Are agent outcomes consistent across demographic groups? Do certain inputs systematically produce different quality of service?

MANAGE: Respond to Risks

The MANAGE function is about taking action on identified risks — implementing controls, remediating issues, and continuously improving the system based on monitoring data. This is where governance meets engineering.

MANAGE includes:

  • Risk treatment: For each identified risk, decide whether to mitigate it (reduce its likelihood or impact), accept it (document the decision and rationale), transfer it (through insurance or contractual terms), or avoid it (do not deploy the capability).
  • Incident response: When an AI system causes harm, how is the incident detected, investigated, and resolved? What triggers an automatic shutdown of an agent?
  • Continuous improvement: How do monitoring results feed back into system design? How are lessons from incidents incorporated into governance policies and technical controls?

NIST AI 600-1: The Generative AI Profile

In July 2024, NIST released AI 600-1, a companion document that applies the AI RMF specifically to generative AI systems. AI 600-1 identifies twelve risks unique to or amplified by generative AI, including confabulation (hallucination), data privacy violations, environmental costs, and the generation of harmful content.

For agentic AI, several of these risks are particularly relevant:

  • Confabulation with action: A generative model that hallucinates a fact in a text response is problematic. A generative model that hallucinates a parameter in a tool call that modifies a production database is dangerous. AI 600-1 calls attention to the amplified risk when generative AI outputs are not just consumed by humans but acted upon by automated systems.
  • Data privacy in context: Agentic systems that access multiple data sources may inadvertently combine information in ways that violate privacy expectations — correlating data from different systems to infer sensitive information that no single system would have revealed.
  • Information security: Agents with tool access represent a new attack surface. Prompt injection attacks that manipulate an agent into misusing its tools are not theoretical — they are a documented vulnerability class that AI 600-1 explicitly addresses.

How Our Platform Maps to the Framework

Our platform was not designed to implement the NIST AI RMF specifically, but its architectural decisions align directly with the framework's core functions — each addressed by purpose-built platform capabilities.

GOVERN: Audit System and RBAC as Policy Enforcement

The GOVERN function requires defined approval workflows, role-based access controls, and accountability structures. Our platform implements this through three integrated capabilities. The Audit System records every decision, every approval, and every action in immutable, cryptographically hashed logs that provide tamper-evident accountability. RBAC enforces per-tool granularity — defining who can modify agent behaviors, tool permissions, and governance policies, with every change tracked. And the HITL gates route high-risk actions to human approval while auto-approving low-risk actions with full logging. The policies themselves are version-controlled, auditable, and modifiable only by authorized roles.

This is not a bolted-on compliance layer. It is the execution model. An agent cannot bypass the HITL gate because the gate is the execution path. The GOVERN function's requirement for accountability structures is satisfied structurally, not through optional logging.

MAP: DLP Scanner for Risk Surface Identification

The MAP function requires understanding what data your AI systems access and what harms could result. The platform's DLP Scanner implements the MAP function at the data layer — performing real-time detection of PII and sensitive data across 50+ data patterns, identifying what sensitive information agents are encountering and flagging exposure risks before they become incidents. Combined with the Document Processing Engine that classifies and categorizes business documents, organizations get a systematic inventory of their data risk surface that updates continuously as agents interact with new data sources.

MEASURE: SmartModelRouter for Behavioral Metrics

The MEASURE function requires quantifiable metrics for AI risk. The SmartModelRouter provides a key measurement layer by tracking model performance across 15+ model families through 5 provider integrations — response quality, latency, cost, and failure rates per model per task type. Its Intelligence Slider (0-100) creates a measurable, tunable dimension for the cost-quality trade-off. The Audit System complements this with behavioral metrics: HITL rejection rates, action patterns, drift detection, and anomaly identification — the operational signals that tell you whether your AI system is performing within acceptable bounds.

MANAGE: Sandboxed Execution and HITL as Risk Treatment

The platform's Kubernetes-native sandbox implements the MANAGE function's risk treatment controls at the infrastructure level. Scoped credentials prevent agents from accessing resources beyond their authorized scope. Network policies prevent unauthorized external communication. Resource limits prevent runaway agents from consuming unbounded compute. The OBO Authentication system ensures agents act with user identity, not with shared service accounts — creating clear attribution for every action.

The MANAGE function's requirement for incident response is addressed through circuit breakers and automatic shutdown capabilities. If an agent's error rate exceeds a defined threshold, or if the DLP Scanner detects unauthorized data exposure, execution is halted automatically and the incident is logged in the Audit System for review.

Practical Steps for Engineering Teams

The NIST AI RMF is voluntary, but its influence is growing. Federal agencies reference it in procurement requirements. State-level AI legislation is being written with the framework as a reference. Industry standards bodies are adopting its terminology and structure. Organizations that align with the framework now will be better positioned as the regulatory landscape evolves.

For engineering teams deploying agentic AI, the practical steps are:

  1. Inventory your agents: Document what each agent can do, what tools it has access to, and what data it can reach. This is the foundation of the MAP function.
  2. Define approval policies: For each category of agent action, determine the appropriate level of human oversight. This implements the GOVERN function.
  3. Instrument everything: Ensure every agent action is logged with full context — the input, the reasoning, the tool call, the result. This enables the MEASURE function.
  4. Enforce boundaries at the infrastructure level: Use sandboxed execution with scoped credentials and network policies. This implements the MANAGE function's risk treatment controls.
  5. Build feedback loops: Use monitoring data to continuously refine governance policies, risk assessments, and technical controls.

The NIST AI RMF provides the conceptual structure. The engineering challenge is implementing that structure in production systems where AI agents make real decisions and take real actions. The organizations that figure this out will deploy AI with confidence. The ones that treat governance as an afterthought will deploy AI with anxiety — or not deploy it at all.

Sources