This feature is in beta. We encourage you to try it out and provide us with feedback.
Key benefits
- Swift configuration. You can quickly apply content safety policies when creating agents.
- Personal data handling. You can customize how your agent handles contact profile information to comply with data privacy regulations.
Restrictions
- You can’t create custom guardrails. To enforce additional rules, add them to the agent’s instructions, or adjust the description of a specific tool or skill.
How to use guardrails
You can configure guardrails when you create an agent or edit an existing one:- Go to Design > Agent.
- Select the agent.
-
Go to the Guardrails tab and configure the following.
-
In the Safety settings section, activate the toggles you need under Safety instructions.
- Avoid harmful content — prevents the agent from generating content that could be harmful, offensive, or abusive to end users.
- Avoid ungrounded content — prevents the agent from generating content that is based on speculation or unsupported claims, ensuring it is reliable and verifiable.
- Avoid copyright infringements — prevents the agent from generating content that violates intellectual property rights or uses copyrighted material without authorization.
- Prevent jailbreak and manipulation — prevents attempts to bypass security measures or manipulate the agent into producing unauthorized or unsafe content.
-
In the Data privacy section, select an option in Contact profile information to define how your agent uses contact profile information to personalize responses.
- No profile fields — the agent doesn’t use any contact profile data. This option is selected by default.
- Selected profile fields — displays the Profile fields list, where you select the fields the agent can access.
- All profile fields — the agent uses all fields from the contact profile.
- Profile memories only — the agent uses only the memories field from the contact profile.
-
In the Safety settings section, activate the toggles you need under Safety instructions.
- Click Save changes.