truefoundry-guardrails
Installation
SKILL.md
Routing note: For ambiguous user intents, use the shared clarification templates in references/intent-clarification.md.
Guardrails
Configure content safety guardrails for TrueFoundry AI Gateway. Guardrails add safety controls to LLM inputs/outputs and MCP tool invocations.
When to Use
Set up guardrail providers, create guardrail rules, or manage content safety policies for AI Gateway endpoints. This includes PII filtering, content moderation, prompt injection detection, secret detection, and custom validation rules.
Deploying a Custom Guardrails Server
When the user asks to deploy a guardrails server or run guardrails as a deployed service, start from the official template so the server adheres to the gateway's input/output formats:
- Clone the default repo: truefoundry/custom-guardrails-template
- Build on top of it — Add or adjust custom rules, providers, or config within the template structure; do not build from scratch.
- Deploy — Deploy the resulting service to your infrastructure (Dockerfile or build from source as in the template).