The NIST AI RMF applies to AI agents without modification, but the controls that satisfy it move from the model to the actions the agent takes. An agent holds credentials, calls tools and changes state, so Govern needs agent-level accountability, Map needs a tool and data inventory, Measure needs action-level tests and logs, and Manage needs a way to stop an agent mid-task. The practical place to enforce most of this is the gateway layer, not the prompt.
It builds on our NIST AI RMF implementation page and the implementation checklist.
What agents change
| Property | Model-only system | Agent |
|---|---|---|
| Output | Text or score a person reads | Actions taken in other systems |
| Identity | Calling application | The agent itself, often acting for a user |
| Attack surface | Prompt and training data | Prompt, tool descriptions, retrieved content, tool outputs |
| Evidence of behavior | Input and output logs | Plan, each tool call, each result, who approved |
| Failure cost | Wrong answer | Wrong action, possibly irreversible |
These differences are our summary of general practice. The vendor and standards material listed below describes each part.
Map to functions
| RMF function | Control for agents | Evidence |
|---|---|---|
| Govern | Named owner per agent, approved action scope, escalation rules, stop authority | Agent register entry, approval record |
| Map | Inventory of tools, data sources and permissions each agent can reach; classification of action risk | Tool and permission map per agent |
| Measure | Tests for prompt injection, tool misuse and scope escape; action-level logging; review of sampled runs | Test reports, log samples, review notes |
| Manage | Kill switch, credential revocation, rate and spend limits, incident runbook | Drill record, revocation test |
For the attack side, see prompt injection controls for AI agents. For identity, see workload identity federation and agents.
Gateway controls
A gateway gives you one place to apply a control and one log to prove it. We separate three layers:
- Model traffic. An AI gateway applies token limits, content filters, routing and prompt and response logging.
- Tool calls. An MCP gateway authenticates the agent, allows only listed tools and logs every call. See also the MCP server security checklist.
- Agent registry and identity. On the WSO2 stack, the agent governance page describes how agents are registered and controlled.
Where an agent can bypass the gateway, the control does not exist. Test for that bypass directly, because it is the common gap.
A starting checklist
- Every agent has a registered owner, purpose and action scope.
- Every agent has its own credential, not a shared service account.
- Tool access is allow-listed by tool and by operation, not by system.
- Write and external-send actions require approval or a hard limit.
- All model and tool calls log to one store with the agent identity and the user it acts for.
- A stop procedure revokes the agent's credentials, and it was tested this quarter.
- Prompt injection tests run before each change and after tool additions.
Questions we hear
Do we need a new framework? No. Use the one you have and add agent rows to the same inventory and evidence map.
What if the vendor runs the agent? You still own the risk. Ask the vendor which of these controls they provide and which logs you can export.
Agent controls by stage of an agent run
| Stage | What can go wrong | Control |
|---|---|---|
| Receive a task | Hidden instructions in a document or message | Treat retrieved content as data; filter and test for injection |
| Plan | The agent chooses a tool outside its purpose | Allow-list tools per agent; reject calls outside scope |
| Call a tool | Excess permission; wrong parameters | Scoped credentials; parameter checks; limits on value and volume |
| Read the result | Poisoned or sensitive output | Filter and classify outputs; mask data not needed |
| Act | Irreversible change | Approval step; dry run; undo path where possible |
| Report | No record of what happened | Log plan, calls and results with agent and user identity |
Each row is an item for the Map and Measure work: list the exposure, then test the control. Re-run the tests when you add a tool, change a model or change a prompt, because any of those changes the surface.
Questions to ask your platform vendor
- Can each agent have its own identity and revocable credential?
- Can we export every tool call and result to our own log store?
- Can we stop one agent without stopping all of them?
- What happens to in-flight actions when we revoke access?
- Which controls run in your platform, and which are left to us?




