Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Guardrails & Validation

Protect agent runs with PII masking, tool approval, and model policies.

Instructions guide an agent’s decisions. Guardrails enforce controls around its execution.

Guardrails protect sensitive data before model requests. They can also pause selected skills for user approval. Organization-level policies restrict approved model families and providers.

Open Agent Config → Guardrails to manage the controls for an agent.

Preview. Guardrails is a Preview feature. Controls and labels may change.

What guardrails protect

Guardrail
Protection
Configuration

Sensitive Data Masking

Replaces detected PII with opaque tokens before it reaches a model

Tool Execution Approval

Pauses selected skill calls until the user allows or denies them

Allowed LLM Families and Providers

Limits model requests to organization-approved models and providers

Sensitive Data Masking and Tool Execution Approval can be turned on or off per agent. Model policy guardrails are always enforced by the AI Gateway.

Configure guardrails

  1. Open Agent Config → Guardrails.

  2. Select Sensitive Data Masking or Tool Execution Approval to define its coverage.

  3. Open the row's ⋯ menu and select Activate to turn it on.

The Guardrails page lists each guardrail’s Name, Type, and Status. The ⋯ menu activates or deactivates per-agent guardrails. Always enforced marks organization-level model policies.

Mask PII before model requests

PII masking detects selected entities and tokenizes their values. The original value stays in a secure vault. A permitted downstream step can restore it when needed.

Choose a provider, then define the entity rule:

  • A Deny list masks only selected entity types.

  • An Allow list masks every type except selected entities.

Unselected entities reach the model in clear text.

Tokenization requires a compatible executor version. See PII masking for providers, entity types, and tokenization details.

Require approval before skill calls

Tool Execution Approval pauses an agent before it runs selected skills. The user can allow the call or deny it. When denied, the agent continues without that call.

You can select individual skills, or turn on Enable for all skills to require approval for every current and future skill.

See Tool execution for approval settings and the user experience.

Keep model use within policy

Every model request an agent makes passes through the AI Gateway: chat, reasoning, tool calls, document classification, summaries, conversation titles, and knowledge queries. The AI Gateway enforces the approved LLM families and providers for every model request. These guardrails are set by your organization. You can’t disable them per agent.

Stop an agent in an emergency

Guardrails act inside a run. To stop runs that are already in flight, use Control Center → Govern → Agent Controls. Stop one agent, or every agent at once. Stopping a system agent, such as the Operator, also stops every run and helper agent it started. See Agent Controls.

Last updated

Was this helpful?