Skip to content
GatewayMarkdown

What's next for guardrails

Rate limits, and checks on prompts and responses for injected instructions, sensitive data, unsafe topics, patterns and checks of your own, on the way, and what to use until each arrives.

Planned

These guardrails are planned. None of them is available yet; each says what it will do, how you’ll use it, and what to use today. Today’s guardrails limit what an agent may hold, not what it says: see Agent guardrails.

The gateway caps how often calls are allowed through it, per realm, per agent, per MCP tool and per route, so a runaway agent or a looping tool call is slowed before it reaches your API.

How you’ll use it: set limits in the realm, beside your policies, and every gateway enforcing that realm applies them.

Today: give risky agents short-lived tokens and hold sensitive scopes for their owner with agent guardrails, stop an agent that misbehaves, and set rate limits at your TLS front end.

Checks on what passes between agents, models and tools, in the path, before a prompt reaches a model or a response reaches an agent. Each is described below. A check that fails stops the call.

Today, for all of them: guardrails cover what an agent may hold, not what it says. Agent guardrails cap its tokens’ lifetime and hold sensitive scopes for its owner, and MCP tool calls allow or refuse each tool by name.

Prompts, responses and tool output are checked for instructions injected to turn an agent against its user, such as a web page or a document telling the agent to send data elsewhere.

How you’ll use it: turn it on for a policy set.

Today: allow agents only the tools they need, with MCP tool calls, so an injected instruction can’t reach a tool the agent was never allowed, and hold risky scopes for the owner’s approval.

Personal data and secrets, such as card numbers, national identifiers and keys, are found in prompts, responses and tool calls, and the call is stopped.

How you’ll use it: choose the kinds of data to look for, per policy set.

Today: keep secrets out of agents’ reach with the Secrets Store, and narrow each API’s tokens with token swap.

Prompts and responses on unsafe topics, and on topics you name, are refused.

How you’ll use it: pick the categories to refuse, and add topics of your own.

Today: moderate in the model or the app that calls it.

Allow and deny patterns on prompts and responses: a prompt that matches a deny pattern, or a response that matches none of the allow patterns, is refused.

How you’ll use it: write the patterns in the realm, beside your policies.

Today: decide by tool, resource and prompt name with MCP tool calls.

The gateway calls a check you run, or a third party’s, with each prompt and response, and refuses the call when your check says so.

How you’ll use it: register your check’s address in the realm, and choose which calls it sees.

Today: put your check in your own proxy, and have that proxy ask the gateway as well: see Put the gateway behind your proxy.