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.
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.
| Type | What it controls | Example |
|---|---|---|
| Input guardrails | What the agent accepts | Ignore instructions hidden inside a document the agent reads |
| Output guardrails | What the agent produces | No client notice threatens collections |
| Action guardrails | What the agent may do with tools | Never read credentials; never write outside the project |
| Business-rule guardrails | Your commercial and legal rules | No proposal below $200 an hour; payment terms are Net 30 |
| Process guardrails | Whether “done” is really done | Tests 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.
Told
The agent is given the rule before it works.
Can the AI skip it? Yes. The model decides.
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.
Stopped
Something outside the model holds the action before it happens.
Can the AI skip it? No.
| Strength | What happens | Can the AI skip it? |
|---|---|---|
| Told | The agent is given the rule before it works. | Yes. The model decides. |
| Checked | The 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. |
| Stopped | Something 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:
- 1Never open files that hold passwords, keys or tokens.
- 2Never touch personal files outside the task.
- 3Never write outside the project, and never to production.
- 4Ask a person before editing a protected folder.
- 5Don’t edit the project’s own rules files mid-task.
- 6Don’t say “done” until the tests pass.
- 7No proposal priced below $200 an hour, and no engagement under $5,000.
- 8Payment terms are Net 30 unless the contract says otherwise.
- 9Never threaten a collections agency in a client notice.
- 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.
- 1Say it, or drop in a policy. Type a rule in plain words, or upload a handbook or policy.
- 2DataPeeps proposes the rules. Each comes with the exact sentence from your policy it was drawn from.
- 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.
- 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.
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 | Observability | |
|---|---|---|---|
| Question it answers | Which rules, and who approves them? | What happens at the moment of action? | What did the agent do? |
| When it acts | Before deployment, and when rules change | At every action | After the fact |
| Without the other two | A policy nobody enforces | Rules nobody approved | A 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:
- 1Where do the rules come from?
- 2Who approves them?
- 3Is each guardrail told, checked or stopped, in each tool you use?
- 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
| Tool | Strength | Status |
|---|---|---|
| Claude.ai and Claude Desktop | Told and checked | Live |
| ChatGPT | Told and checked | Live |
| Claude Code | Stopped | Live 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.
