AI governance: controls you can enforce and prove
AI governance is the set of rules for who may use which AI, with what data, at what cost. Eight controls, where to enforce each, and the evidence it leaves.
- Published
- Reading time
- 15 min read
In short
- AI governance is the set of rules for who may use which models, tools, and agents, with what data, and at what cost. A rule counts only when it is enforced where AI traffic passes and leaves a record.
- Eight controls cover most AI policies: inventory, identity, access, spend, data, tools and agents, audit, and human approval. Each one needs a named enforcement point and a named piece of evidence.
- Two enforcement points carry almost all of it: a gateway for applications and agents, and an endpoint agent for the AI tools on employee devices.
- A gateway cannot govern use that never reaches it, how a model behaves, or the decisions people make. The NIST AI RMF, ISO/IEC 42001, and the EU AI Act ask for that process work too.
AI governance is the set of rules an organization sets for its use of AI: who may use which models, tools, and agents, with what data, and at what cost. For an engineering team, a rule exists only where it is enforced at a point AI traffic passes through and leaves a record behind. A rule with neither is a wish.
Most writing on the subject covers committees and principles. This article is for the engineers who are handed the resulting policy and have to make it true. It lists eight controls, where each is enforced, and the evidence each leaves, with Bifrost, an open-source AI gateway by Maxim AI, as the worked example.
IBM's 2025 Cost of a Data Breach report puts numbers on the gap. Of the 600 organizations studied, 63% had no AI governance policies, and 97% of those with an AI-related security incident said they lacked proper AI access controls.
What makes an AI governance rule enforceable
A rule is enforceable when it names three things: the control that implements it, the enforcement point where that control runs, and the evidence the control produces. An enforcement point is a place a request must pass through to reach a model or a tool, so a check placed there cannot be skipped.
AI traffic has two such points:
- A gateway is a proxy between callers and model providers. Applications, services, and agents reach models and Model Context Protocol (MCP) tools through it, as what an LLM gateway does explains.
- An endpoint agent is software on employee devices that sends traffic from chat apps, browser AI, and coding agents through the same gateway. Without it, those tools reach providers directly, which is the gap shadow AI describes.
Take the policy sentence "customer data must not be sent to unapproved models." As written, it depends on every engineer remembering it. As a control, it is a model allow list per team plus a redaction rule, both at the gateway. The evidence is the request log, which shows the model each team called, and the count of redactions per rule.
Run the same test on every sentence of the policy: where would a request that breaks this rule be stopped, and which record would show that it was? A sentence with no answer goes onto a written list of rules the organization cannot yet enforce.
The eight controls, with enforcement point and evidence
Eight controls cover what most AI policies ask for. The table maps each one to where it is enforced and what it leaves behind.
| Control | What it enforces | Where it is enforced | Evidence it leaves |
|---|---|---|---|
| Inventory | Every model, MCP server, agent, and AI app in use has an owner | Gateway logs, endpoint discovery | A catalog built from traffic |
| Identity | Every request belongs to a person or service in the identity provider | Gateway sign-in and key issuance | Log rows with user, team, and key |
| Access | Each team reaches only approved models, tools, and data | Gateway, on every request | Allow lists and denied requests |
| Spend | Each team stays inside a budget and a rate limit | Gateway, before forwarding | Spend by team, alerts, blocked requests |
| Data | What is redacted, logged, and kept | Gateway guardrails and log settings | Redaction counts and a retention period |
| Tools and agents | Only approved MCP servers, tools, and agents run | Gateway tool filter, endpoint allow list | Tool-call logs and approval decisions |
| Audit | Every change to the rules is recorded | Gateway management API | A signed record of who changed what |
| Human approval | High-risk actions wait for a person | The application or agent runtime | An approval record tied to the tool call |
Inventory and identity: what is running and who is calling
Inventory and identity come first because every other control refers to them. An access rule cannot name a model nobody knows is in use, and a budget cannot be charged to a caller nobody can identify.
The NIST AI Risk Management Framework asks for an inventory of AI systems in Govern 1.6. A hand-filled spreadsheet is stale within weeks, so generate the inventory from traffic. At the gateway, that is the request log grouped by model, key, and tool.
On devices, the inventory comes from discovery. Bifrost Edge, the endpoint agent that extends the Bifrost gateway to employee machines, reads the MCP configuration of supported apps and builds deduplicated catalogs of the AI apps and MCP servers across the fleet.
Identity means each request carries a person or service that the company's identity provider knows, which a shared provider key cannot do. People sign in through OpenID Connect (OIDC), services hold virtual keys with a named owner, and SCIM, the protocol a directory uses to push user changes, removes access when someone leaves.
In Bifrost, identity is an Enterprise feature. User provisioning connects Okta, Microsoft Entra, Keycloak, Zitadel, Google Workspace, Auth0, or any OIDC provider, maps directory groups to roles and teams, and accepts SCIM 2.0 pushes. Two behaviors are worth requiring of any gateway. A sign-in that maps to no role is refused, and a SCIM deactivation removes the user's keys, access profiles, and memberships on arrival.
Test offboarding as an auditor would: deactivate a test user in the identity provider, then send a request with that user's key. Without SCIM, Bifrost re-reads the directory on a schedule that defaults to 24 hours, so decide whether a day is an acceptable window.
Access and spend: which team reaches what, and how much
Access control decides which models, tools, and data each team can reach, and spend control caps what each team consumes. Both run at the gateway before a request is forwarded, and both should deny by default.
AI access control has two layers that policies often merge. The first is what a caller may call: providers, models, and tools. The second is what a person may see and change inside the gateway: logs, keys, and configuration. Skip the second and the request log, full of other teams' prompts, becomes the leak.
Bifrost handles the first layer with virtual keys, in the open-source gateway. By default, a virtual key reaches only the providers listed in its configuration, each with its own allowed models. Enterprise adds access profiles, reusable policies that bundle providers, models, budgets, rate limits, and MCP tools and apply to a user, role, team, business unit, or customer. A key whose owner holds a profile is locked, so nobody loosens their own policy by editing the key.
The second layer is two Enterprise features. Role-based access control (RBAC) sets what each role can do to each resource. Data access control sets which records those actions cover: the person's own, their team's, their business unit's, their customer's, or all.
Spend is a dollar budget and a rate limit, checked per key and per group. Budgets per key, team, and customer are in open-source Bifrost, and Enterprise adds business units. A request passes only if every budget it is charged against has room, so a spent team budget blocks members whose personal budget has money left.
Enterprise alerting evaluates rules against budget and rate-limit usage every 60 seconds, notifies Slack, Microsoft Teams, PagerDuty, or a webhook, and keeps a history of every evaluation.
Deny by default has a cost: every new model needs a change before anyone can use it. If that takes weeks, people route around the gateway, so track the median time to approve a request.
Data: what is redacted, what is logged, and how long it is kept
Data rules cover what may leave in a prompt (redaction), what is recorded (logging), how long records are kept (retention), and where data is processed (residency). The first three are gateway settings. Residency is an access rule about which provider endpoints a team may call, backed by a contract, because a gateway cannot verify where a provider processes data after the call.
Audit and privacy pull in opposite directions: an auditor wants complete records, and a privacy rule wants no personal data in them. Resolve it by separating metadata from content. Keep metadata (who called which model, tokens, cost, and each check's decision) for every request. Keep content, meaning the prompts and responses, only where there is a reason, and redact it first.
Open-source Bifrost has content logging controls that turn content off globally, per virtual key, or per export destination, while attribution metadata stays. Each destination has its own setting, so a log store with content disabled says nothing about a trace export. Enterprise guardrails add redaction, with modes that rewrite live traffic and logs together or the logs alone. PII redaction and LLM guardrails cover detection.
The evidence for a data rule is a test result, since a setting only shows intent. Send a made-up account number, then search the log store and every export destination for it. What to record on every request lists the fields worth keeping.
Tools and agents: which MCP servers and agents are allowed
Tool and agent rules decide which MCP servers, which tools on them, and which agents a caller may use. They are enforced in two places because tools live in two places: behind the gateway, where a platform team connects servers, and on laptops, where employees add servers to config files.
At the gateway, the control is an allow list per key. In open-source Bifrost, MCP tool filtering is deny by default: a virtual key with no MCP configuration gets no tools, except from clients an admin marked as allowed by default. The list is checked again when a tool executes. A key also reaches a registered agent through a grant an admin sets, and that grant does not cover the agent's own model or tool calls. What an MCP gateway does and MCP security go deeper.
On devices, the control is an approval list. With Bifrost Edge, admins approve or deny AI apps and MCP servers once for the fleet. A denied item is blocked on each device at its next check-in, including a server configured before the policy existed.
A newly discovered app or server starts as pending and keeps working until someone denies it, unless admins set pending items to blocked. Allowing pending items favors adoption, and blocking them favors control at the price of a review queue.
Audit and human approval: who changed the rules, and who said yes
An audit log records every change to the rules, and human approval puts a person in front of actions no rule can safely automate. The request log shows what traffic did. The audit log shows who changed what traffic is allowed to do.
An AI audit log does its job when every change is recorded with its actor and the value before and after, secrets are left out, tampering is detectable, and records can be exported. In Bifrost Enterprise, audit logs record every create, update, and delete on the management API as a named event such as virtual_key.updated, with a diff that redacts secret fields. Each row is signed with HMAC-SHA256, and exports come as JSON, JSON Lines, or syslog for a security information and event management (SIEM) system.
Turning audit logging off writes a final audit.logging_disabled event, so the attempt to stop recording is itself recorded. Edge approvals and denials land in the same log.
Human approval covers actions that write, send, pay, or delete. The MCP specification says a human should always be able to deny a tool invocation, and the OWASP Top 10 for LLM applications lists the failure it prevents as Excessive Agency.
A gateway's part is to refuse to run chosen tools automatically. By default Bifrost does not execute tool calls. It returns them to the application, which calls a separate endpoint to run them. In Agent Mode, only tools on an auto-execute list skip that step, and the list is empty by default.
The approval screen, the approver's identity, and the record of the decision belong to the application. Log the approver, the tool, the arguments, and the decision on the same trace as the tool call.
Where each control sits in Bifrost, by tier
Open-source Bifrost enforces access, spend, tool, and logging rules for traffic that reaches the gateway. Enterprise adds the identity and evidence controls, and Edge, which requires Enterprise, adds the device controls.
| Control | Open source | Enterprise and Edge add |
|---|---|---|
| Inventory | Request logs and MCP logs | Edge catalogs of apps and MCP servers |
| Identity | A virtual key per caller | OIDC sign-in, SCIM 2.0, identity-provider tokens on requests |
| Access | Deny-by-default virtual keys | Access profiles, RBAC, data access control |
| Spend | Budgets and rate limits per key, team, and customer | Business units and alerting |
| Data | Content logging controls | Guardrails and redaction |
| Tools and agents | MCP tool filtering and agent grants | Edge approvals for apps and MCP servers |
| Audit | Request logs only | Signed audit logs with export and archive |
| Human approval | Manual tool execution and the auto-execute list | Same as open source |
The open-source gateway is free under Apache 2.0, Enterprise is custom-priced, and Edge is priced per device. A policy that needs named users, offboarding, and an audit trail, which describes most enterprise AI governance, needs Enterprise or equivalents built around the open-source core. Enterprise AI gateways is the place to compare other options.
What NIST, ISO/IEC 42001, and the EU AI Act ask for
The three texts an auditor is most likely to name are a voluntary framework, a management system standard, and a law. None prescribes a gateway. Each asks for things the eight controls produce, and for process work that no control produces.
| Text | What it is | Status as of November 2026 | What controls can evidence |
|---|---|---|---|
| NIST AI RMF 1.0 | A voluntary US framework with four functions: Govern, Map, Measure, and Manage | Released January 26, 2023. NIST says it is being revised | AI system inventory, defined human oversight, post-deployment monitoring |
| ISO/IEC 42001:2023 | An international standard with requirements for establishing, maintaining, and improving an AI management system | Edition 1, published December 18, 2023 | Records that the system is operated and improved |
| EU AI Act | Regulation (EU) 2024/1689, a law with obligations by risk level | In force since August 1, 2024. Generally applicable since August 2, 2026 | For high-risk systems: logs, human oversight, log retention |
The EU AI Act's dates changed in 2026. Per the European Commission's AI Act page, updated October 19, 2026, prohibited practices and AI literacy obligations have applied since February 2, 2025, and general-purpose AI model obligations since August 2, 2025. The AI Omnibus amendment, in force since July 27, 2026, moved high-risk rules for Annex III use cases to December 2, 2027, and those for AI embedded in regulated products to August 2, 2028.
Three articles read like control requirements. Article 12 requires high-risk systems to allow "automatic recording of events (logs)." Article 14 requires that people can oversee them, including overriding or stopping them. Article 26 requires deployers to keep the logs under their control for at least six months, unless other law says otherwise.
What a gateway cannot govern
A gateway governs the traffic that passes through it and nothing else. Three things stay outside: use that never reaches it, the behavior of the model, and decisions made by people.
Use that never reaches the gateway includes a personal phone, a home laptop, and a SaaS product that calls its own model provider. An endpoint agent narrows the gap on managed devices, for the apps it supports. The rest is vendor review, contract terms, and network controls.
The governed path also has to be the only path. An engineer holding a raw provider key bypasses every control above with one environment variable. Keep provider keys in the gateway alone, and block direct egress to provider APIs where you can.
Model behavior is outside too. Guardrails check what goes into and comes out of a model, but no gateway makes a model accurate, fair, or immune to prompt injection.
Decisions made by people are the third limit: whether a use case should exist, who is accountable for a wrong output, and whether a reviewer reads before approving. The controls supply the facts those decisions need.
Frequently asked questions
What is AI governance?
AI governance is the set of rules, roles, and controls an organization uses to decide who may use which AI models, tools, and agents, with what data, and at what cost. Legal, risk, and security teams write the policy, and engineers enforce it. A rule is enforced when it runs at a point AI traffic passes through and leaves a record.
What is an AI governance framework?
An AI governance framework is a published structure for managing AI risk. Three examples are the NIST AI Risk Management Framework, ISO/IEC 42001, and the EU AI Act: a voluntary framework, a management system standard, and a law. They say what to achieve and leave the technical controls to each organization.
What do AI governance tools do?
AI governance tools either document or enforce. Documentation tools keep model inventories, risk assessments, and policy workflows. Enforcement tools, such as AI gateways, endpoint agents, and guardrails, apply access rules, budgets, redaction, and tool allow lists to live traffic. For any AI governance platform, check which rules it can block on and which it only reports.
What is LLM governance?
LLM governance is AI governance applied to large language model traffic: which teams may call which models, with what data, under what budget, and with which tools. Most of it is enforced at an LLM gateway, because every model call can be made to pass through one. An endpoint layer covers chat apps and coding agents on employee devices.
What should AI audit logs record?
AI audit logs should record every change to the rules: who made it, when, which resource it touched, and the value before and after, with secrets left out. They should be tamper-evident and exportable to a SIEM. They are separate from request logs, which record what each model call and tool call did.
When does the EU AI Act apply?
As of November 2026, the EU AI Act has been in force since August 1, 2024, and generally applicable since August 2, 2026. Prohibited practices and AI literacy obligations have applied since February 2, 2025, and general-purpose AI model obligations since August 2, 2025. High-risk rules apply from December 2, 2027, for Annex III use cases, and from August 2, 2028, for AI embedded in regulated products.
Sources
- 01AI Risk Management FrameworkNIST
- 02AI RMF CoreNIST Trustworthy and Responsible AI Resource Center
- 03ISO/IEC 42001:2023, Information technology, Artificial intelligence, Management systemIEC Webstore
- 04AI Act: regulatory framework and application timelineEuropean Commission
- 05Article 26: Obligations of deployers of high-risk AI systemsAI Act Service Desk, European Commission
- 062025 Cost of a Data Breach Report: Navigating the AI rush without sidelining securityIBM
- 07ToolsModel Context Protocol
- 08User provisioning (OIDC and SCIM)Bifrost docs
- 09Access profilesBifrost docs
- 10Virtual keysBifrost docs
- 11Audit logsBifrost docs
- 12Edge approvalsBifrost docs