---
title: "How to Create Effective AI Agent Guardrails"
id: "4056"
type: "insight"
slug: "ai-agent-guardrails"
published_at: "2026-11-23T19:03:38+00:00"
modified_at: "2026-11-23T19:03:39+00:00"
url: "https://jetstream.security/insights/ai-agent-guardrails/"
markdown_url: "https://jetstream.security/insights/ai-agent-guardrails.md"
excerpt: "AI agent guardrails start with a design specific enough to check production against. Companies learn whether they had one after something breaks."
taxonomy_insight_category:
  - "AI Advisory"
taxonomy_insight_type:
  - "Editorial"
taxonomy_insight_tags:
  - "Agentic AI"
  - "AI Governance"
  - "Design Control"
  - "Human-in-the-Loop"
---

AI Advisory

# How to Create Effective AI Agent Guardrails

AI agent guardrails start with a design specific enough to check production against. Companies learn whether they had one after something breaks.

[Agentic AI](https://jetstream.security/insights/insight_tags/agentic-ai/)
[AI Governance](https://jetstream.security/insights/insight_tags/ai-governance/)
[Design Control](https://jetstream.security/insights/insight_tags/design-control/)
[Human-in-the-Loop](https://jetstream.security/insights/insight_tags/human-in-the-loop/)

JetStream Security

November 23, 2026Editorial

In April 2025, users of the Cursor code editor started getting logged out whenever they signed in on a second device. Some wrote to support to ask why. According to [WinBuzzer](https://winbuzzer.com/2025/04/22/cursor-ais-support-bot-hallucinates-policy-sparking-user-backlash-and-company-apology-xcxwbn/)
, the answer came from an AI support bot, which told them their subscription was limited to a single active session.

There was no such policy. The chatbot made it up, and nothing public suggests any AI agent guardrails limited what it could tell a customer on the company’s behalf. The logouts most likely came from a real bug in a recent session security update. The bot filled the gap between a real problem and a missing answer with a rule that sounded plausible.

Some wrote to support to ask why. According to [WinBuzzer](https://winbuzzer.com/2025/04/22/cursor-ais-support-bot-hallucinates-policy-sparking-user-backlash-and-company-apology-xcxwbn/)
, the answer came from an AI support bot, which told them their subscription was limited to a single active session.

There was no such policy. The chatbot made it up, and nothing public suggests any AI agent guardrails limited what it could tell a customer on the company’s behalf. The logouts most likely came from a real bug in a recent session security update. The bot filled the gap between a real problem and a missing answer with a rule that sounded plausible.

Some users canceled their subscriptions before Cursor stepped in. When co-founder Michael Truell did, he was direct: “We have no such policy. You’re of course free to use Cursor on multiple machines.” He added that Cursor’s AI replies to email support are now labeled as AI, [The Register reported](https://www.theregister.com/special-features/2025/04/18/cursor-ai-support-bot-hallucinated-its-own-company-policy/1015579)
. The story spread well beyond developer forums, including coverage from [Ars Technica](https://arstechnica.com/ai/2025/04/cursor-ai-support-bot-invents-fake-policy-and-triggers-user-uproar/)
, and it is catalogued as [Incident 1039](https://incidentdatabase.ai/cite/1039/)
 in the AI Incident Database.

It’s easy to file this under “chatbots hallucinate.” A more useful question is what a guardrail would have needed to know. A filter that checks answers after the fact has to know what a true statement about Cursor’s policies looks like. Cursor hasn’t said how the bot was set up, or what it was approved to assert, look up, or promise. The outcome is on the record, though: a customer-facing agent stated a rule that existed nowhere, and nothing stopped it from sending it.

Whatever was or wasn’t on file at Cursor, the lesson holds for any agent that speaks for a company. An AI system can’t be approved, audited, or trusted on a decision nobody described in advance. That’s what this piece is about.

## What AI agent guardrails look like before an agent ships

Let’s keep it simple. AI agent guardrails set at design time name what an agent may do, with which tools and which data, before it runs.

The phrase “AI agent guardrails” often points to filters, which is software that scans what goes into and out of an agent and blocks the bad parts. Filters are useful, and they work at runtime, after the agent is already running. Guardrails set at design time come first. They are the written limits an agent is built and approved against: which tools it can use, which data it can reach, what it can decide alone, and where a person has to sign off.

Here’s how that looks in practice. Take a support agent that can look up a customer’s order history and issue refunds under $100, and nothing else. That sentence is a design. It names two tools, one data source, and a limit. Anyone reviewing it can say yes or no, and anyone checking production later can ask whether the agent did anything outside it. Security teams call this least privilege, which means the agent holds only what the job needs.

Now apply the same idea to Cursor’s support bot. A guardrail written at design time might say that the bot answers policy questions only from approved documents and hands off anything it can’t find there. “One device per subscription” would have failed that check in seconds, because no approved document contains it. The invented rule would have been caught the first time someone looked.

That’s what bounded autonomy means: an agent that acts on its own, inside limits somebody wrote down and approved. “Refunds under $100, from this order system, and nothing else” is a limit anyone can check, and that’s the property that makes it useful.

## Why AI agent governance policies get bypassed

Cursor was one company’s bad week, and it’s tempting to leave it there. The numbers say the underlying problem is common.

In September 2026, EY, which sells AI assurance and advisory services, published a survey of 202 senior AI decision-makers at US public companies with at least $1 billion in annual revenue. [According to EY](https://www.ey.com/en_us/newsroom/2026/09/ey-survey-finds-that-autonomous-ai-implementation-outpaces-oversight-yielding-an-ai-governance-gap)
, 98% of respondents said their organization has formal AI governance policies. And 47% said their organization has previously not followed its AI governance process for urgent deployments. The policy exists, yet the deadline wins.

Agentic AI raises the cost of that gap. Of the respondents, 91% said their organization uses agentic AI in pilots or full deployment. Of those, 85% said at least a handful of their agentic systems execute actions without real-time human involvement. Nearly all respondents (98%) also said their organization has conducted a formal AI assurance review at least annually. Among those, the most common findings included data quality problems (57%), AI model drift (48%), and shadow AI (39%). The policies were in place, and the reviews still found problems.

Richard Jackson, EY Americas Assurance Chief Technology Officer, summed up the pattern: “Organizations are applying yesterday’s governance rules to today’s interactions with AI.” The survey was fielded from May 28 to June 15, 2026, with a margin of error of plus or minus 7 percentage points.

Rusty Perry, JetStream’s chief information security officer, covers [why a policy alone does not make a control](https://jetstream.security/insights/a-policy-is-not-a-control/)
 in more detail.

## Who owns AI agent governance, and what counts as proof

Ask who owns AI agent governance and the answer will depend on who you’re talking to.

The risk and compliance lead wants the documented position: what the policy says, who approved it, and when. The platform engineer wants the machine-readable version, the file or configuration an agent actually runs against. The person who owns the AI program, often a chief data officer, chief AI officer, or head of AI governance, wants something neither of them hands over on its own: proof that the two match.

That third job is the hard one. Writing a clear, well-approved policy is tractable. Showing that a running agent honors it is where programs get exposed, because the person accountable for the program’s outcome is the one who has to explain the gap. Every agent needs a named owner, and the program needs someone who can see all of them.

So here’s a working test for how to prove an AI agent follows your policy. Can you take the agent’s approved design and its live behavior, put them side by side, and say where they differ? If the design is a paragraph of intent, you can’t. If it’s specific, you can, and you can do it continuously instead of once a year. Keith Weisman, JetStream’s Head of Forward Deployed Engineering, covers [continuous evidence that production matches the design](https://jetstream.security/insights/runtime-governance-ai-audit-evidence/)
 in more detail.

Good proof has three parts: the approved design, the agent’s live behavior, and any difference between them, recorded with a date when it happens. A report assembled months later from logs that were never built to answer the question has a weaker claim. The record has to exist when the change does.

A design is effective when production can be checked against it, by the person accountable for the whole program.

## AI agent change management and approval workflows

A design only helps while it stays true, and agents change. A model gets swapped, a tool gets added, a prompt gets rewritten. In a software release, a change like that goes through a pull request and a ticket. For an agent, it often goes through nothing.

AI agent change management closes that gap. Every change to the design, whether a new tool, a wider data permission, or a different model, goes through an approval workflow. Someone proposes the change, a named person signs off, and the version history records who approved what and when.

Approval doesn’t need to be heavy. A wording tweak to a help message can pass with a note. A change that widens what an agent can do, like a new tool or a higher refund limit, needs a named reviewer before it takes effect.

A design of record covers the models, tools, data sources, and identities an agent uses, along with its owner. That makes it a different thing from a registry or [an AI agent inventory](https://jetstream.security/insights/make-the-ai-agent-a-reportable-asset/)
. An inventory tells you which agents exist. A design of record describes how each one is supposed to behave, so you can check it.

[JetStream AI Blueprints™](https://jetstream.security/jetstream-ai-blueprints/)
 do this job: a living operational contract for each agentic system, with versioning, change control, and approval workflows built in.

## Back to Cursor

Go back to Cursor. A support bot told customers about a rule that didn’t exist, and customers were the ones who caught it. Whatever Cursor had on file, the fix for any agent starts before it ships: write down what it may do, get that approved, and check production against it, every change included.

You can’t approve what you can’t describe.

## Quick answers about AI agent guardrails

**How do you control AI agent behavior?** Set the limits at design time. Name the tools, data, and decisions an agent may use or make, get them approved, and check production against that record. Filters and runtime enforcement then catch what slips past.

**How do you prove an AI agent follows your policy?** Compare the agent’s approved design with its live behavior and record any difference when it happens. A design specific enough to check is what makes the comparison possible.

**Who owns AI agent governance?** Every agent needs a named owner, and the program needs one accountable person who can see all of them. In many companies that person is a chief data officer, chief AI officer, or head of AI governance.

**What is bounded autonomy for an AI agent?** An agent acts on its own within limits that someone wrote down and approved, such as the tools it may use, the data it may reach, and the amounts it may spend or refund.

## Stay ahead with our newsletter

Stay informed on industry trends, expert analysis, and product updates.

#### Explore more insights

[See all Insights](/insights)

[https://jetstream.security/insights/mcp-server-security-questions/](https://jetstream.security/insights/mcp-server-security-questions/)
AI Advisory

Nov 12, 2026

###### 6 Questions to Ask Before You Connect to an MCP Server

An MCP server is code your agent will trust with real access. Here are six questions that tell you what you’re trusting before the first call runs.

[https://jetstream.security/insights/mcp-server-security-questions/](https://jetstream.security/insights/mcp-server-security-questions/)

[https://jetstream.security/insights/the-economics-of-ai-risk/](https://jetstream.security/insights/the-economics-of-ai-risk/)
AI Advisory

Oct 29, 2026

###### The Economics of AI Risk

Your board already knows how to govern capital. AI spend needs the same discipline, down to the individual agent and the person who owns it.

[https://jetstream.security/insights/the-economics-of-ai-risk/](https://jetstream.security/insights/the-economics-of-ai-risk/)

[https://jetstream.security/insights/ai-notetaker-legal-risk-eavesdropping-discovery/](https://jetstream.security/insights/ai-notetaker-legal-risk-eavesdropping-discovery/)
AI Advisory

Oct 12, 2026

###### AI Meeting Assistants Raise Eavesdropping Concerns and Discovery Headaches

A federal court has allowed wiretap and privacy claims against an AI notetaker to proceed. The harder questions may be the ones inside your own organization.

[https://jetstream.security/insights/ai-notetaker-legal-risk-eavesdropping-discovery/](https://jetstream.security/insights/ai-notetaker-legal-risk-eavesdropping-discovery/)

## Top Articles

01

Editorial

### [Brazilian Court Sanctions Lawyers for Prompt Injection in Court Filing](https://jetstream.security/insights/brazilian-court-sanctions-prompt-injection-filing/)

July 1, 2026

02

Editorial

### [The AI Gateway Isn’t a Cost Play. It’s a Control Plane](https://jetstream.security/insights/ai-gateway-security-control-plane/)

July 21, 2026

03

Press Release

### [JetStream Security Achieves FedRAMP Class D (High) Certification Through Second Front](https://jetstream.security/insights/jetstream-security-fedramp-high-certification/)

July 22, 2026

## Featured Experts

[https://jetstream.security/author-bio/joe-poyner/](https://jetstream.security/author-bio/joe-poyner/)

### [Joe Poyner](https://jetstream.security/author-bio/joe-poyner/)

Sr. Solution Engineer

Joe Poyner is a security engineer based in Oklahoma City with more than 15 years in the EDR...

[https://jetstream.security/author-bio/pratik-roychowdhury/](https://jetstream.security/author-bio/pratik-roychowdhury/)

### [Pratik Roychowdhury](https://jetstream.security/author-bio/pratik-roychowdhury/)

Vice President and Head of Product

Pratik Roychowdhury is a two-time founder with two decades of experience building products in cloud, application and API...

[https://jetstream.security/author-bio/patrick-zeller/](https://jetstream.security/author-bio/patrick-zeller/)

### [Patrick E. Zeller](https://jetstream.security/author-bio/patrick-zeller/)

General Counsel, Legal and Compliance

Patrick has spent over twenty years advising Fortune 100 companies on privacy, cybersecurity, and data protection — including...
