GuidesAI agent guardrails

What are AI agent guardrails?

AI agent guardrails are limits placed around an AI agent so it stays inside what it is allowed to say and do. Some guardrails filter the text going into and out of the model. Others check the actions the agent tries to take.

In short

  • 01

    Text guardrails watch messages. Action guardrails watch tool calls.

  • 02

    An agent can produce harmless text and still take a harmful action.

  • 03

    Most teams need both kinds.

Two kinds of guardrail

Text guardrails sit around the model. They scan inputs and outputs for unsafe content, leaked data and prompt injection, and they pass, rewrite or refuse a message.

Action guardrails sit between the agent and its tools. They look at what the agent is about to do, such as the amount of a refund or the record it wants to change, and decide whether that action may run.

Why text guardrails are not enough for agents

A message can look fine and still lead to a bad action. An agent asked politely to refund an order ten times has not said anything unsafe. The problem is the ten refunds.

Limits on amounts, rates and approvals cannot be judged from the text alone. They need a check on the action itself.

Common action guardrails

These are the limits teams reach for first.

  • Spending caps for each agent
  • Rate limits on how often an agent can act
  • Allow-lists of tools and data
  • Approval from a person above a set line
  • A dry run for bulk changes, so the result can be checked first
  • A kill switch for one agent or all of them

Where to put them

Put the check as close to the action as possible, and outside the agent's own reasoning. A rule written in the prompt is a request. A rule enforced in front of the tool call is a control.

Where Riskbound fits

Riskbound is an action guardrail. Each check ends in one of four outcomes: allow, ask a human, dry run or block. It is in private development.

More on Control

Common questions

Are guardrails the same as prompt instructions?

No. A prompt instruction asks the model to behave. A guardrail is a separate check that still applies when the model ignores or misreads the instruction.

Do guardrails slow an agent down?

Every check adds some delay. A check in front of each action has to be fast, or teams will switch it off. Riskbound's design target is under 10 ms per action; that is a target, not a measured result.

Control it. Prove it. Insure it.

We are working with a small group of design partners.

Get early access