truefoundry-guardrails
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).
More from truefoundry/tfy-gateway-skills
truefoundry-access-control
Manages TrueFoundry roles, teams, and collaborators. Create custom roles, organize users into teams, and grant access to resources. Use when managing permissions, creating teams, or adding collaborators.
2ai-monitoring
Monitors AI Gateway traffic, costs, latency, errors, and token usage by querying request traces via the spans query API.
2truefoundry-ai-monitoring
Monitors AI Gateway traffic, costs, latency, errors, and token usage by querying request traces via the spans query API.
2truefoundry-access-tokens
Manages TrueFoundry personal access tokens (PATs). List, create, and delete tokens for API auth, CI/CD, and gateway access.
2truefoundry-ai-gateway
Configures TrueFoundry AI Gateway for unified OpenAI-compatible LLM access. Covers auth (PAT/VAT), model routing, rate limiting, and budget controls.
2truefoundry-status
Checks TrueFoundry connection status and verifies credentials (TFY_BASE_URL/TFY_HOST, TFY_API_KEY). Used as a preflight check before any TrueFoundry operation.
2