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.
1# Workspace guardrails2 3## Customer data handling4Before sharing customer data, verify the recipient and remove personal identifiers.5 6## Change windows7Do not restart production services outside the approved change window.Create a guardrail
Open Security > Control > Guardrails and choose Create guardrail.

- 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 set | Applies when |
|---|---|
| Users or groups | The acting user is listed or belongs to a listed group. |
| Agents | The agent resource ID is listed. Use chat for platform chat. |
| Agents and users or groups | Both 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:
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
| Permission | What it lets a user do |
|---|---|
policies:read | View and preview guardrails |
policies:write | Create, edit, enable, and disable guardrails |
policies:delete | Delete guardrails |