Skip to content
Baguals

Product · November 23, 2026

AI agent governance: how to control the risks

An AI agent that serves customers and acts on your systems needs the same rules as anyone else with access: what it can do on its own, what someone has to approve, how much it can spend and where everything is recorded. This is the practical guide for management and risk teams.

By Cristopher Clavero, Founder of Baguals

An AI agent is governed with five pieces: a list of actions that require human approval, an audit log that records everything it does, a spending cap that stops it when the budget runs out, mandatory tests before each version goes live, and roles that limit who can change what. Without those pieces, an agent is a black box with access to your systems; with them, it is a process your management and your auditors can review.

Why does an AI agent need different controls from traditional software?

Traditional software always does the same thing given the same input. An AI agent, by contrast, interprets what it is asked, decides which tool to use and acts. That flexibility is what makes it useful, and it is also what makes limits necessary.

OWASP, the foundation behind the most widely used security risk lists in the software industry, names this in its Top 10 for large language model applications. The excessive agency risk (LLM06:2025) appears when a system can perform damaging actions in response to unexpected, ambiguous or manipulated model output, and its root cause is usually one of three: excessive functionality, excessive permissions or excessive autonomy (OWASP). The mitigation it proposes is direct: require a human to approve high-impact actions before they are taken.

The other risk specific to these systems is spending. Every model call costs money, and OWASP describes unbounded consumption (LLM10:2025) as excessive, uncontrolled use that can lead to service outages and economic losses (OWASP).

If you want a broader framework, the AI Risk Management Framework from NIST, the US standards institute, was released on January 26, 2023, is intended for voluntary use and organizes AI risk management into four functions: govern, map, measure and manage (NIST). You don’t need to adopt all of it for your first agent, but it works as a checklist for your risk team.

Which actions should a person approve before the agent takes them?

The general rule: anything that moves money, changes customer data or commits the company to a third party. In practice, it helps to split actions into three levels:

Level Examples Who decides
Runs on its own Answering an order status, sending a shipping notice, resending a document The agent, with a record
Requires approval Waiving a charge, changing a customer’s billing email, confirming a special rate, issuing a credit note A named person on your team
The agent never does it Promising something outside your rules, such as a date off the schedule or an unauthorized discount Always handed to a person

What matters is the starting point. At Baguals, moving money, changing customer data or committing to a price requires human approval by default: those actions start blocked and your team later decides which ones can run on their own. While approval is pending, the conversation waits; nothing happens until someone decides. The approver sees the request, the conversation and the data on a single screen, an approval can’t be resolved twice, and the name of whoever decided goes on the record.

There is a second layer that doesn’t depend on approvals: rules that can’t be wrong, such as prices, deadlines and limits, are calculated in code and come from your tables. The model talks and picks a tool; it doesn’t invent a rate.

What should be recorded, and who can change it?

Everything: every message, every tool call, every approval and every cost. A complete record does two jobs: reconstructing what happened when a customer complains, and showing an auditor that the rules were followed.

For the record to be useful, it has to meet three conditions:

  • It only accepts new entries. Nobody corrects an entry; if something changed, another one is added.
  • It says who did what. Each entry names the agent, the version that was live and the person involved, if any.
  • It includes the cost. Every model call records what it cost, including retries and discarded attempts that would otherwise stay hidden.

In Baguals agent control, the audit log works like this: entries are appended, no one at your company can edit or delete them, and the platform has no function to do so. If a customer asks what happened in a conversation three weeks ago, you can show them the full sequence.

How do you put a spending cap on an AI agent?

With a monthly budget that is checked before each model call, not at the end of the month. The difference matters: an alert that arrives with the invoice doesn’t prevent the spending.

The technical detail worth asking about is what happens when the system can’t check the budget. There are two options:

  • Fail open: if it can’t check, it keeps spending. More convenient, and riskier.
  • Fail closed: if there is no budget left, or it can’t be confirmed, no model is called.

At Baguals the cap fails closed. Without budget the model isn’t called, the customer gets a polite notice and the conversation stays available for your team to pick up. Each agent also runs with fallback models and retries, and every attempt is recorded with its cost, so spending doesn’t exceed your cap even if a provider fails.

How do you test and release a new version without breaking what works?

The same way you would change a critical system: in a separate draft, with tests that must pass and a way to roll back.

Before a new version talks to a customer, it should go through:

  1. Simulated conversations, with a test customer who asks the hard questions: the vague request, the angry complaint, the topic change halfway through.
  2. An evaluator, a separate model that grades each conversation against criteria written from your instructions and quality standards.
  3. Exact checks on the hard rules: it must use this tool, it must never say that, it must hand off in this case.

At Baguals, if the new version does worse than the one in production, it can’t be published. Each agent has a draft and published versions; only one is live and published versions are never edited. Changes go to the draft, an open conversation finishes on the version it started with and, if something goes wrong, you can roll back to the previous version.

Who can change an agent’s rules?

Not everyone. Separating roles matters as much as approvals, because whoever builds an agent shouldn’t be the only one supervising what it does.

A sensible setup distinguishes three roles:

  • Owner: sets the budget, who has access and their permissions.
  • Builder: changes instructions, skills and tests in the draft.
  • Supervisor: reviews conversations, approves sensitive actions and reads the audit log.

At Baguals those three roles exist, and each one sees and does only what its role allows. The platform enforces it, not each person’s good intentions.

What data should an agent never store?

Passwords, access keys and card numbers. Customers type them into a chat even when nobody asks, and an agent that stores everything ends up keeping them. At Baguals a filter removes them before every message and document is saved. On top of that, each company’s data is isolated from every other company’s.

What should you ask an AI agent vendor before signing?

These questions separate a demo from a system you can put into production:

  1. Which actions require human approval by default, and who defines that list?
  2. Can the audit log be edited or deleted? Who could do it?
  3. What happens when the budget runs out or can’t be checked?
  4. How is a version tested before release, and how do you roll back?
  5. Which roles exist, and who can change the agent’s instructions?
  6. Where is data stored, and what is filtered out before it is saved?
  7. Which security and compliance controls can you show working today?

Where should you start?

With a single workflow, with the control rules written before anything is built: what runs on its own, what gets approved, how much can be spent and who supervises. That way your risk team reviews something concrete, not a promise. It’s the same principle we describe in why every AI transformation starts with one workflow.

If you want to see how these controls would look in your operation, tell us about your process.

Transform your operating model with Baguals

Get in touch