- Getting started
- UiPath Conversational Agents
- UiPath Agents in Studio Web
- UiPath Coded agents
- Build with Coding Agents
Guardrails
Built-in safety and quality checks that control what data agents process and how they respond, configurable organization-wide or per agent.
Guardrails are built-in safety and quality checks that help ensure agents behave reliably, securely, and in alignment with organizational policies. They monitor and control what data agents process and how they respond to user inputs, reducing the risk of exposing sensitive information or executing unintended actions.
Guardrails can be enabled at two levels, depending on who manages them and how broadly they should apply:
- Organization-wide — Administrators configure guardrails once in the AI Trust Layer policy in Automation Ops. When enabled for a product (for example, autonomous agents), the guardrail applies automatically to every agent of that type in the tenant. For details, refer to Centralized guardrails.
- Per agent — Agent developers configure guardrails directly in Studio Web. The guardrail applies only to that specific agent. For details, refer to Out-of-the-box guardrails.
In Automation Suite, out-of-the-box guardrails run on your organization's own subscription to one of the supported safety vendors. An administrator publishes the vendor's validators as guardrails from the AI Trust Layer, and they become available at both levels, each labeled with the provider that evaluates it.
For details, including which vendors are supported, refer to Configuring guardrails in the Automation Suite admin guide.
In Agents, guardrails can be applied at different levels of execution:
- Agent level: Evaluates the agent's own prompts or system instructions before execution.
- LLM level: Monitors the requests and responses exchanged between the agent and the large language model.
- Tool level: Validates the inputs and outputs of tools used by the agent during task execution.
By combining these scopes, you can design safer agents that automatically detect and block problematic behavior, maintain compliance, and improve overall trust in automated decision-making.
Go to Custom guardrails to learn how to configure guardrails for your agent's tools.
Go to Monitoring guardrails to learn how to verify detections and review guardrail activity.
Centralized guardrails on an agent
When the AI Trust Layer policy enforces guardrails on an agent, Studio Web lists them in the Centralized guardrails section of the agent settings panel, below Guardrails. The section names the policy that enforces them. Each guardrail appears under the name it was saved with in the AI Trust Layer, with its description, provider, scopes, and execution stage. In Automation Suite, these are your organization's own guardrails, so each one is marked BYO.
Select a guardrail to open its details, including the action it takes and its detection settings. Centralized guardrails are read-only in the agent. To change one, an administrator updates the AI Trust Layer policy in Automation Ops. For details, refer to Centralized guardrails.
Best practices for guardrails
Follow these recommendations to get the most out of your guardrails:
- Use Block actions in production. For agents that handle sensitive or business-critical data, configure the guardrail action type to block to prevent unintended data exposure or unsafe execution.
- Test thresholds during evaluation. Run evaluation sessions to fine-tune detection thresholds and achieve the right balance between accuracy and false positives.
- Review logs regularly. Monitor guardrail logs and traces periodically to confirm that detections are triggered as expected and adjust configurations if necessary.