Attach guardrails to agents to prevent them from engaging with sensitive or inappropriate content.
Create and Manage Guardrailspublic
Validated on 15 Aug 2024 • Last edited on 17 Apr 2025
The DigitalOcean GenAI Platform lets you work with popular foundation models and build GPU-powered AI agents with fully-managed deployment, or send direct requests using serverless inference. Create agents that incorporate guardrails, functions, agent routing, and retrieval-augmented generation (RAG) pipelines with knowledge bases.
How to Attach Guardrails to Agents
How to Edit Guardrails
Edit guardrails to toggle their detection categories, change their default agent response, and attach agents.
How to Duplicate Guardrails
Duplicate a guardrail to create individual copies that you can edit.
How to Destroy Guardrails
Destroy a guardrail to irreversibly delete it.