How to Attach Guardrails to Agents
Attach guardrails to agents to prevent them from engaging with sensitive or inappropriate content.
Validated on 15 Aug 2024 • Last edited on 17 Apr 2025
DigitalOcean GenAI Platform lets you build GPU-powered AI agents with fully-managed deployment. Agents can use pre-built or custom foundation models, incorporate function and agent routes, and implement RAG pipelines with knowledge bases.
Attach guardrails to agents to prevent them from engaging with sensitive or inappropriate content.
Edit guardrails to toggle their detection categories, change their default agent response, and attach agents.
Duplicate a guardrail to create individual copies that you can edit.
Destroy a guardrail to irreversibly delete it.
Try using different keywords or simplifying your search terms.