> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatropic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Guardrails

> Master safety controls for your agent

Open **Agent settings > Settings**, then the **Security** tab.

<Frame caption="Guardrail controls on the Security tab under Agent settings.">
  <img src="https://mintcdn.com/chatropic/2wezJYUXyOrD3jo5/images/09-agent-settings-guardrails.png?fit=max&auto=format&n=2wezJYUXyOrD3jo5&q=85&s=9ed6bdb3b29187f66592a21e9a0fa0e4" alt="Guardrails settings" width="1280" height="800" data-path="images/09-agent-settings-guardrails.png" />
</Frame>

## Controls in the UI

| Control                            | Purpose                                         |
| ---------------------------------- | ----------------------------------------------- |
| **All guardrails** (master switch) | Disable to bypass every rule instantly          |
| **Blocked topics**                 | Phrases or subjects the agent must refuse       |
| **PII redaction**                  | Mask phone numbers and emails                   |
| **Profanity filter**               | Block offensive language                        |
| **Escalate on frustration**        | Enqueue handoff when frustration keywords match |
| **Frustration keywords**           | One phrase per line (substring match)           |
| **Escalation message**             | Customer-facing copy when escalating            |
| **Max turns / session**            | Cap very long automated threads                 |
| **Max requests / min**             | Prevent spam and abuse                          |

Changes hot-reload within about 60 seconds, with no restart required.

<Steps>
  <Step title="Enable guardrails">
    Turn on **All guardrails** and configure blocked topics.
  </Step>

  <Step title="Test in Playground">
    Start a **New test session** and verify fallbacks for out-of-scope or blocked input.
  </Step>

  <Step title="Save">
    Click **Save changes**. Rules reload automatically.
  </Step>
</Steps>

<Info>
  Configure frustration keywords on the **Security** tab (escalate on frustration). Add broader **escalation keyword rules** and **LLM frustration detection** under **Help desk**. Connect [Slack escalation notifications](/user-guides/settings/slack-escalation) under **Actions > Integrations**.
</Info>

<CardGroup cols={2}>
  <Card title="Topic & rate controls" icon="gauge" href="/user-guides/settings/topic-and-rate-controls">
    Detailed limit configuration.
  </Card>

  <Card title="Human handoff" icon="user-group" href="/user-guides/settings/human-handoff">
    Escalation patterns beyond guardrails.
  </Card>
</CardGroup>
