Skip to content

Guardrails

Give agents standing prompt instructions, scoped to the people and agents they apply to.

Guardrails guide agent behavior through prompt instructions. They do not block actions; policies enforce access at supported boundaries.

How guardrails work

A guardrail is a named set of instructions that Industric adds to an agent's prompt. Guardrails are supplied to managed agent bootstrap, interactive attach, HAL runs, and platform chat.

Every enabled guardrail that applies is combined into one block headed Workspace guardrails, with one section per guardrail under its name. Sections are ordered by priority, highest first, then by name.

combined instructions· text
1# Workspace guardrails
2
3## Customer data handling
4Before sharing customer data, verify the recipient and remove personal identifiers.
5
6## Change windows
7Do not restart production services outside the approved change window.
Guidance, not enforcement
Use policies for mechanical enforcement at supported tool, MCP, command, or gateway boundaries, and classifiers to monitor or block matching prompts.

Create a guardrail

Open Security > Control > Guardrails and choose Create guardrail.

The Guardrails page listing four organization-wide guardrails, each with its instruction text, a Disabled badge and an Enabled toggle
Security > Control > Guardrails. Each guardrail shows its instruction, scope and whether it is enabled. Preview agent instructions sits below the list.
  • Name: 1 to 120 bytes. It becomes the section heading in the combined instructions.
  • Priority: an integer, default 0. Higher priorities appear earlier.
  • Description: optional. Shown in the guardrail list.
  • Instructions: the text supplied to the agent, up to 32,000 bytes.

New guardrails are enabled. Use the Enabled switch in the list to pause one without deleting it; disabled guardrails are left out of every prompt.

Scope

With Global scope on, a guardrail applies to the entire organization. Turn it off to choose one or more agents, users, or groups:

Scope setApplies when
Users or groupsThe acting user is listed or belongs to a listed group.
AgentsThe agent resource ID is listed. Use chat for platform chat.
Agents and users or groupsBoth the agent and the user or group conditions match.

Create a guardrail with the API

Create an organization-wide guardrail with a token that has policies:write:

terminal· bash
curl -X POST https://exo.example.com/api/v1/security/guardrails \
-H "Authorization: Bearer <your-token>" \
-H "Content-Type: application/json" \
-d '{"name":"Customer data handling","content":"Verify the recipient before sharing customer data.","enabled":true,"priority":0}'

A successful request returns HTTP 201 and the created guardrail. Add agents, users, or groups arrays to narrow its scope.

Preview agent instructions

Preview agent instructions, below the guardrail list, shows the combined text a given agent and user would receive. Enter an agent resource ID, or chat, and optionally a user ID; the user defaults to you. If nothing applies, the preview reports that no guardrails apply to that scope.

Access

PermissionWhat it lets a user do
policies:readView and preview guardrails
policies:writeCreate, edit, enable, and disable guardrails
policies:deleteDelete guardrails