Detect and Redact PII
- Redact emails, SSNs, financial, and medical data before they leave your gateway
- Run PII detection through AWS Bedrock, Google Model Armor, or Patronus AI
- Use the built-in PII template or define your own regex patterns
[ OVER 1,000+ TEAMS USE BIFROST ]
[ INTEGRATIONS ]
Chain any combination of external providers in a single rule, or run Bifrost-native checks entirely inside your own environment.
Bifrost-native checks
[ AI GUARDRAILS CAPABILITIES ]
Detect PII, prompt injections, secrets, unsafe content, and unsupported claims in real-time - before requests reach a model or a model response reaches your users
[ HOW IT WORKS ]
Configure providers once, write rules for when to validate, and enforce policies on inputs, outputs, or both.
HTTP 200
Validation succeeded. Request processed normally with detailed guardrail metadata including processing times and rule results.
HTTP 446
Violations detected and request blocked. Response includes violation details, severity levels, and affected content excerpts for audit trails.
HTTP 246
Violations detected but content modified (PII redacted) rather than blocked. Includes redaction counts and modification details.
[ DEPLOY ANYWHERE ]
Guardrails sit alongside virtual keys, budgets, and audit logs in one deployment.
Guardrails, governance, and observability in a single gateway — one deployment for models and tools.
Single deploymentRules decide what to check and when. Profiles decide how and which provider runs the check.
CEL · Multi-providerPass, block, or modify content with distinct HTTP status codes and full violation metadata.
200 · 446 · 246[ COMPLIANCE FRAMEWORKS ]
Bifrost Guardrails help organizations meet regulatory requirements with automated detection, redaction, and comprehensive audit trails.




[ ON YOUR INFRASTRUCTURE ]
Bifrost is self-hosted. Guardrails execute in the same process that serves your traffic, so sensitive content is inspected without being shipped anywhere you did not choose.
[ FAQ ]
AI guardrails are policy checks that run on model inputs and outputs. Each prompt is inspected before it reaches a model, and each response before it reaches a user. Checks cover sensitive data, injection attempts, secrets, and unsafe content, with three outcomes: pass, block, or redact.
Models follow instructions in their input, including instructions an attacker planted there. They also repeat whatever is in their context, including data that should not leave your systems. Guardrails apply the checks the model itself cannot: what may go in, what may come out.
Common examples: PII detection and redaction, prompt injection and jailbreak blocking, secrets scanning, toxicity and content filtering, and hallucination or unsupported-claim flagging. In Bifrost each runs as a rule you attach to a profile, applied to inputs, outputs, or both.
Detection runs on the input before it reaches the model, scoring the prompt for injection patterns and checking content retrieved from tools or documents, the indirect path attackers use. Bifrost routes this through Azure, Google Model Armor, or GraySwan, and blocks by confidence and severity threshold.
AWS Bedrock Guardrails, Azure Content Safety, Google Model Armor, CrowdStrike AIDR, GraySwan Cygnal, and Patronus AI, plus native checks: Gitleaks secrets detection, a built-in PII template, and custom regex.
Yes. External guardrail providers add about 50-500ms per validation in practice, depending on the provider and how complex the check is. Bifrost offers sampling (validate a percentage of requests), async processing (validate in the background), and timeout controls to balance security and performance. Bifrost-native checks such as secrets detection and regex-based PII run in-process and add no external round trip.
Yes. Bifrost supports defense-in-depth by linking multiple provider profiles to a single rule. For example, use AWS Bedrock for PII detection + Azure for content moderation + Patronus for hallucination detection on the same request.
Guardrails are optional and selective. Use CEL expressions to apply rules based on request path, model, virtual key, user attributes, or content. For example, only validate customer-facing endpoints while skipping internal testing traffic.
Put guardrails in front of every model your organization uses, and govern who can call them from the same gateway.
[ BIFROST FEATURES ]
Everything you need to run AI in production, from free open source to enterprise-grade features.
01 Governance
SAML support for SSO and Role-based access control and policy enforcement for team collaboration.
02 Adaptive Load Balancing
Automatically optimizes traffic distribution across provider keys and models based on real-time performance metrics.
03 Cluster Mode
High availability deployment with automatic failover and load balancing. Peer-to-peer clustering where every instance is equal.
04 Alerts
Real-time notifications for budget limits, failures, and performance issues on Email, Slack, PagerDuty, Teams, Webhook and more.
05 Log Exports
Export and analyze request logs, traces, and telemetry data from Bifrost with enterprise-grade data export capabilities for compliance, monitoring, and analytics.
06 Audit Logs
Comprehensive logging and audit trails for compliance and debugging.
07 Vault Support
Secure API key management with HashiCorp Vault, AWS Secrets Manager, Google Secret Manager, and Azure Key Vault integration.
08 VPC Deployment
Deploy Bifrost within your private cloud infrastructure with VPC isolation, custom networking, and enhanced security controls.
09 Guardrails
Automatically detect and block unsafe model outputs with real-time policy enforcement and content moderation across all agents.
[ SHIP RELIABLE AI ]
Change just one line of code. Works with OpenAI, Anthropic, Vercel AI SDK, LangChain, and more.