Skip to content

AI agent guardrails: keeping agents safe in your systems

Updated 3 Dec 2026 · 3 min read

Short answer

AI agent guardrails are the limits and checks around an agent that decide what it can access, what it may do on its own, what needs a person, and how its work is verified. They matter more than the model: a well-guarded agent fails safely, an unguarded one fails expensively.

On this page
  1. Why agents need different guardrails
  2. Guardrails by layer
  3. The checklist
  4. How to test guardrails
  5. Common mistakes
  6. Questions

Why agents need different guardrails

A chat assistant can only say something wrong. An agent can do something wrong: change a record, send an email, issue a credit. OWASP's list of top risks for applications built on language models includes prompt injection and excessive agency (an AI given more permissions or autonomy than its task needs). Both are about what the AI can do, not what it says.

Guardrails by layer

Access

Question it answers:
What can the agent reach?
Examples:
Its own accounts, scoped permissions, no shared admin logins

Action

Question it answers:
What may it do?
Examples:
Allowed actions, approval limits, volume caps

Input

Question it answers:
What does it trust?
Examples:
Instructions only from its owner; emails and documents treated as data

Output

Question it answers:
Is the result right?
Examples:
Read back from the system of record, checked against rules

Oversight

Question it answers:
Who is responsible?
Examples:
A named owner, logs, regular review, a stop switch
LayerQuestion it answersExamples
AccessWhat can the agent reach?Its own accounts, scoped permissions, no shared admin logins
ActionWhat may it do?Allowed actions, approval limits, volume caps
InputWhat does it trust?Instructions only from its owner; emails and documents treated as data
OutputIs the result right?Read back from the system of record, checked against rules
OversightWho is responsible?A named owner, logs, regular review, a stop switch

A gap in any one layer can undo the others. An agent with perfect approvals but an administrator's login is still one bad instruction away from a mass change.

The checklist

  1. 1Least access. A separate account for each agent, with only the permissions its task needs. Read-only wherever writing isn't required.
  2. 2Allowed actions. A written list of what the agent may do. Anything else is refused, not attempted.
  3. 3Approval limits. Amounts, customers or record types above a threshold wait for a person, using the business's existing approval matrix.
  4. 4Data is not instructions. Text in emails, documents and web pages is treated as data. An instruction found there is never followed (prompt injection defence).
  5. 5Volume and rate limits. Caps on how many records an agent can change per hour or per run, so a mistake can't repeat thousands of times.
  6. 6Verified results. The outcome is read back from the system of record. The agent's own report that it succeeded is not enough.
  7. 7Full audit trail. Every step, input, decision and change is logged with time and actor, and kept.
  8. 8Test first. New agents and changes run on a test environment or past cases before live data.
  9. 9Stop switch. Anyone responsible can pause an agent at once, and access can be revoked in one place.

How to test guardrails

Before an agent goes live, try to make it fail on purpose. A short test set catches most problems:

  • An email containing instructions to change a supplier's bank details or forward data.
  • A case just above and just below each approval limit.
  • A duplicate of a case already done.
  • A record with missing or contradictory data.
  • An action outside its allowed list, such as deleting a record.
  • A burst of cases larger than its volume cap.

Each should end the same way: refused, held for a person, or logged and stopped. Repeat the tests after every change to the agent or its permissions.

Common mistakes

  • Giving the agent an administrator's login because it is quicker to set up.
  • Approving everything, so approvals stop meaning anything (see human in the loop).
  • Measuring the agent by its own logs instead of by the records in your systems.
  • No owner: an agent with nobody responsible for its rules and results.

Questions

What is prompt injection?

Text placed where an AI will read it, such as in an email or a web page, that tries to make it do something its owner didn't ask for. The defence is to treat everything the agent reads as data, limit what it can do, and require approval for risky actions.

Are guardrails the same as content filters?

No. Content filters stop harmful text. Agent guardrails limit actions: access, permissions, approvals, rates and verification.

How FRU handles this

How FRU accesses your systems

FRU's agents use their own accounts with the permissions each workflow needs, decisions above your limits go to your team, every step is logged, and results are confirmed in your systems.

Paid at go-live.Refunded if targets aren't met.

Get started