Agent Guardrails by DataPeeps

What are agent guardrails?

Agent guardrails are rules that limit what an AI agent may say or do, applied before the action happens. The strongest guardrails are enforced by something outside the model. The weakest are instructions the model can ignore. To judge any guardrail, ask one question: does it tell the agent, check its work, or stop the action?

By the DataPeeps team · Published · Last updated

In short

  • Most “AI guardrails” today are instructions. A model can forget them, misread them or ignore them.
  • A real guardrail comes from rules your business already has, approved by a person, and applied as strongly as each tool allows.
  • DataPeeps Agent Guardrails brings your team’s rules to Claude, ChatGPT and Claude Code, and records which rule applied to each decision.
7-day free trial for your whole team · cancel anytime

Why do AI agents need guardrails?

Your business already has rules: the price you never go below, the payment terms on every invoice, what you never say to a client, the folders nobody touches. They live in handbooks, policies and the heads of the people who run the business.

The AI tools your team now works with don’t know any of them. A chat assistant drafts a proposal under your price floor. A coding agent edits a folder that should be off-limits. Afterwards, nothing records which rule should have applied.

The usual fix is to paste the rules into a prompt or an instructions file. That’s advice, not a control. We tested it: in 20 ordinary chats asking ChatGPT for work documents, the assistant applied the team’s rules in none of them. With Agent Guardrails it applied them in all 20, and none of the drafts broke a rule. When a rule reaches the agent it usually gets followed. The hard part is making sure it always reaches the agent, and stopping the action when it doesn’t.

Our own test, on our own accounts: the same 20 prompts, run before and after.

As agents move from writing text to acting (editing files, running commands, sending messages), that gap stops being an inconvenience. It becomes a liability.

What are the types of agent guardrails?

Guardrails sort by what they watch. Most teams need more than one kind.

Types of agent guardrails, what each controls, and an example
TypeWhat it controlsExample
Input guardrailsWhat the agent acceptsIgnore instructions hidden inside a document the agent reads
Output guardrailsWhat the agent producesNo client notice threatens collections
Action guardrailsWhat the agent may do with toolsNever read credentials; never write outside the project
Business-rule guardrailsYour commercial and legal rulesNo proposal below $200 an hour; payment terms are Net 30
Process guardrailsWhether “done” is really doneTests must pass after the last change before the agent says it’s finished

Content filters for toxicity and prompt injection matter, and many tools provide them. The OWASP GenAI Security Project catalogues those risks. The gap most businesses feel is business-rule guardrails: the rules that make your company your company.

How strong is a guardrail? Told, checked, stopped

Not all guardrails are equal. The honest measure is what happens if the model decides not to follow the rule.

  1. Told

    The agent is given the rule before it works.

    Can the AI skip it? Yes. The model decides.

  2. Checked

    The finished work is compared with the rule, and every break is shown with the passage that broke it.

    Can the AI skip it? Only if nothing outside the model runs the check.

  3. Stopped

    Something outside the model holds the action before it happens.

    Can the AI skip it? No.

The Told, Checked, Stopped model. A guardrail gets stronger as more of it happens outside the model: told is an instruction, checked is a comparison after the work, stopped is a hold before the action runs.
Told, checked and stopped compared
StrengthWhat happensCan the AI skip it?
ToldThe agent is given the rule before it works.Yes. The model decides.
CheckedThe finished work is compared with the rule, and every break is shown with the passage that broke it.Only if nothing outside the model runs the check.
StoppedSomething outside the model holds the action before it happens.No.

Telling an AI a rule is not enforcing it. Only stopping is, and stopping is possible only where a tool lets something check an action before it runs.

Any vendor should be able to tell you, tool by tool, which of the three their guardrails are. We do on this page.

Examples of agent guardrails

These are the kinds of rules teams put in front of their agents:

  1. 1Never open files that hold passwords, keys or tokens.
  2. 2Never touch personal files outside the task.
  3. 3Never write outside the project, and never to production.
  4. 4Ask a person before editing a protected folder.
  5. 5Don’t edit the project’s own rules files mid-task.
  6. 6Don’t say “done” until the tests pass.
  7. 7No proposal priced below $200 an hour, and no engagement under $5,000.
  8. 8Payment terms are Net 30 unless the contract says otherwise.
  9. 9Never threaten a collections agency in a client notice.
  10. 10Never send client data to a destination that isn’t on the approved list.

The first six protect your systems. The last four protect your business. Most guardrail products only cover the first group.

The figures here are examples. Your own rules carry your own numbers.

How DataPeeps Agent Guardrails works

You confirm each rule once. From then on, it reaches every supported tool your team uses.

  1. 1Say it, or drop in a policy. Type a rule in plain words, or upload a handbook or policy.
  2. 2DataPeeps proposes the rules. Each comes with the exact sentence from your policy it was drawn from.
  3. 3A person confirms each one. Only owners and admins can add or approve rules. If a new rule conflicts with an old one, you choose what happens. Nothing is silently overwritten.
  4. 4Your rules reach your tools. Chat assistants are told and checked. In Claude Code, actions are stopped.

In Claude, Claude Desktop and ChatGPT: told and checked

Your team’s rules are in front of the assistant before it writes a proposal, quote, notice or client email. If what you asked for conflicts with one, it says so and asks before going ahead, and the finished draft is checked against your rules. Chat apps let nothing stop an answer, so we don’t claim to.

Live · someone on your team
A chat assistant that has been told a team’s rule: asked to go past it, it names the rule and asks before going ahead. The rule shown is an example.

In Claude Code: stopped before it runs

Every action the coding agent takes is checked against your rules before it runs. Secrets and personal files stay off-limits, work stays inside the project, the documents it writes follow your business rules, and the agent can’t loosen its own rules.

Start in watch mode to see what would have been stopped, without interrupting anyone. Switch to enforce when you’re ready.

Every decision names its rule

Each decision records which rule applied and where that rule came from. Owners see counts by rule, by person and by day. DataPeeps keeps counts, never your prompts, commands or file contents.

Agent guardrails vs governance vs observability

Governance, guardrails and observability compared
GovernanceGuardrailsObservability
Question it answersWhich rules, and who approves them?What happens at the moment of action?What did the agent do?
When it actsBefore deployment, and when rules changeAt every actionAfter the fact
Without the other twoA policy nobody enforcesRules nobody approvedA record of what went wrong

You need all three. Governance without guardrails is a policy nobody enforces. Guardrails without governance are rules nobody approved. Read next: What is agent governance?

How to choose an agent guardrails tool

Ask every vendor four questions:

  1. 1Where do the rules come from?
  2. 2Who approves them?
  3. 3Is each guardrail told, checked or stopped, in each tool you use?
  4. 4What record is left afterwards?

If you need to map the answers to a framework, the NIST AI Risk Management Framework is the usual starting point. Our agent governance page maps it line by line.

Where Agent Guardrails works today

Where DataPeeps Agent Guardrails works today, by tool and strength
ToolStrengthStatus
Claude.ai and Claude DesktopTold and checkedLive
ChatGPTTold and checkedLive
Claude CodeStoppedLive on macOS
Other coding agents—On the roadmap

Agent Guardrails is a guardrail on the agent, not a lock on the developer. It helps you put your own policies into practice. It doesn’t, by itself, make you compliant with any regulation.

Agent Guardrails comes with Team and Enterprise workspaces. See pricing for plans and security for how DataPeeps protects your data.

Frequently asked questions

What are agent guardrails?

Rules that limit what an AI agent may say or do, applied before the action happens. The strongest are enforced outside the model. The weakest are instructions it can ignore.

What’s the difference between guardrails and governance?

Governance decides the rules and who owns them. Guardrails apply them at the moment of action. Read: What is agent governance?

Are system prompts and AGENTS.md files guardrails?

They’re the weakest kind: told. The model can ignore them, and nothing records whether it did.

Can guardrails stop ChatGPT or Claude from writing something?

Not in chat. Chat apps don’t let anything stop an answer. Guardrails there can make sure the rules are loaded and the draft is checked.

Do I need to stop using ChatGPT or Claude?

No. Agent Guardrails brings your rules to the tools your team already uses.

Will it slow my developers down?

A routine check takes a fraction of a second. A document read against your rules adds a couple of seconds.

Who decides the rules?

Only owners and admins. A rule a team member saves waits for their approval.

What does DataPeeps keep?

Counts of decisions: which rule, how often, for whom. Never your prompts, commands or file contents.

Your rules already exist. Put them in front of your agents.

Start a Team trial, confirm your first rules, and bring them to the AI tools your team already uses.

7-day free trial for your whole team · cancel anytime