Protection Layers
Fiddler Protect operates through multiple complementary layers of defense:Real-Time Guardrails
Fast, pre-deployment protection that evaluates and filters AI inputs and outputs before they reach users.Safety Guardrails
Detect and prevent harmful content across 11 safety dimensions:- Harmful Behaviors: Jailbreaking attempts, prompt injection, illegal content promotion
- Offensive Content: Hate speech, harassment, racism, sexism
- Inappropriate Content: Violence, explicit sexual content, unethical scenarios
- Risk Categories: Toxic language, dangerous information, inappropriate roleplaying
PII/PHI Detection
Protect user privacy by automatically detecting sensitive information in model inputs and outputs:- Personal Identifiers: Names, dates of birth, email addresses, phone numbers
- Financial Data: Credit card numbers, bank accounts, tax IDs
- Government IDs: Social security numbers, passport numbers, driver’s licenses
- Healthcare Information: Medications, medical conditions, health insurance numbers, birth certificate numbers (HIPAA compliance)
- Custom Entities: Organization-specific sensitive patterns (employee IDs, API keys, internal codes)
Secret Detection
Prevent credentials and API keys from leaking through LLM prompts or responses:- LLM Provider Keys: Anthropic, OpenAI, Hugging Face, Replicate
- Cloud Credentials: AWS, Google, Azure, DigitalOcean, Heroku
- Source Control Tokens: GitHub, GitLab, Bitbucket personal access tokens
- Infrastructure Secrets: HashiCorp Vault, Terraform Cloud, Supabase, Vercel
- Communication Keys: Slack, Discord, SendGrid, Twilio, Mailgun
- Generic Secrets: JWT tokens, PEM private keys, database connection strings, unrecognized secret-like strings
Faithfulness & Accuracy
Prevent hallucinations and ensure AI responses stay grounded in source material:- Hallucination Detection: Evaluate whether AI responses are factually consistent with provided context
- RAG Validation: Verify that generated content accurately reflects retrieved documents
- Source Grounding: Ensure answers don’t introduce information not present in reference materials
Performance Advantage
All guardrail models are 10-100x faster than general-purpose LLMs like GPT-4 for evaluation tasks, enabling:- Real-time filtering without noticeable latency
- High-volume production deployment
- Cost-effective safety at scale
- No external API dependencies for enhanced security
Continuous Monitoring
Post-deployment protection through ongoing analysis of production traffic.Production Evaluations
Run evaluators on your production traces with Evaluator Rules:- Prompt Safety: Detect unsafe content, powered by the Centor Model for Safety
- PII Detection: Scan production data for personally identifiable information
- Centor PII/PHI: Detect PII and PHI, powered by the Centor Model for PII/PHI
- Custom Judge evaluators: Apply your organization’s own criteria with an LLM-as-a-Judge prompt (to design and test the prompt, see Building Custom Judge Evaluators)
Data Integrity & Drift
Protect against data quality issues and distribution changes:- Missing Value Detection: Identify incomplete inputs that may cause unpredictable behavior
- Type Validation: Catch data type mismatches (e.g., strings where numbers expected)
- Range Monitoring: Detect out-of-range values that violate expected constraints
- Distribution Drift: Track when production data diverges from training or baseline data
- Embedding Visualization: Use 3D UMAP plots to visually identify anomalies in high-dimensional data
Alerting & Response
Automated notification system for proactive risk management:- Drift Alerts: Detect when production data or model behavior changes significantly
- Data Integrity Alerts: Flag missing values, type mismatches, or range violations
- Performance Alerts: Monitor for model accuracy degradation over time
- Custom Metric Alerts: Define formula-based alerts for business-specific KPIs
- Traffic Alerts: Track system volume for capacity planning and anomaly detection
Fiddler Centor Models
All protection capabilities are powered by Fiddler Centor Models—purpose-built evaluation models optimized for safety, quality, and accuracy assessment. Unlike general-purpose LLMs repurposed for evaluation, Centor Models are specifically designed for these tasks, delivering:- Speed: 10-100x faster evaluation than GPT-4
- Security: Air-gapped deployment options with no external API dependencies
- Privacy: Full data sovereignty for GDPR, HIPAA, and CCPA compliance
- Reliability: Consistent, deterministic evaluation at scale
Key Use Cases
Content Safety
Prevent your AI applications from generating harmful, offensive, or inappropriate content:- Filter toxic language and hate speech in real-time
- Block jailbreaking attempts and prompt injection attacks
- Detect violent, sexual, or otherwise inappropriate outputs before they reach users
- Maintain brand reputation by ensuring responsible AI behavior
Privacy Protection
Safeguard user privacy and maintain compliance with data protection regulations:- Automatically detect and redact PII in both inputs and outputs
- Support HIPAA compliance through PHI detection
- Configure custom entity detection for organization-specific sensitive data
- Monitor for privacy violations in production traffic
Accuracy & Truthfulness
Ensure your AI systems provide accurate, grounded information:- Detect hallucinations in RAG applications before presenting to users
- Validate that generated content reflects source documents accurately
- Monitor for factual consistency across your AI responses
- Maintain trust by preventing fabricated or misleading information
Regulatory Compliance
Meet compliance requirements while maintaining comprehensive audit trails:- GDPR compliance through PII detection and data sovereignty options
- HIPAA compliance with PHI detection and air-gapped deployment
- Guardrail decisions recorded as trace spans where the integration supports it (see Where to Review Guardrail Decisions)
- Bias and fairness monitoring for regulatory reporting
Where to Review Guardrail Decisions
Fiddler Guardrails has no screen of its own in the Fiddler UI. Where you can look up a decision depends on how you call guardrails:- Direct API calls: The response carries the results, and your application makes the decision. To keep a record, log each result in your application (see Best Practices).
- LiteLLM: With LiteLLM Guardrails configured and the Fiddler OTel callback enabled on the same proxy, each block or redact decision and its reason appears as a guardrail span in Explorer.
- Kong AI Gateway: Fiddler stores no decision. A Guardrail span appears in Explorer only if you add the
checkfunction (withKONG_UNTRUSTED_LUA=on) from the Kong Guardrails quick start and export spans with Kong’sopentelemetryplugin. - AgentGateway: Decisions are enforced at the gateway only and produce no span or record in Fiddler. See Data Handling.
- Portkey: The webhook response to Portkey carries the decision; Fiddler keeps no record of it. See Data Handling.
Getting Started
Quick Starts and Tutorials
Get up and running with Fiddler Protect in minutes:- Guardrails Quick Start - Set up real-time protection
- Safety Guardrail Tutorial - Implement content safety filters
- PII Guardrail Tutorial - Protect user privacy
- Secrets Guardrail Tutorial - Prevent credential leakage
- Faithfulness Guardrail Tutorial - Prevent hallucinations
AI Gateways
Enforce Fiddler guardrails directly at your third-party AI gateway:- AI Gateways Overview - Compare gateway guardrail capabilities, enforcement outcomes, and availability
- LiteLLM Guardrails - Block or redact PII and secrets at your LiteLLM proxy
- Kong AI Gateway Guardrails - Enforce Fiddler guardrails in Kong (block-only)
- AgentGateway Guardrails - Protect agent traffic via AgentGateway’s webhook protocol
- Portkey AI Gateway Guardrails - Enforce Fiddler guardrails (PII, secrets) at Portkey AI Gateway, with inline redaction
Documentation & References
Dive deeper into Fiddler Protect capabilities:- Guardrails API Reference - Complete API documentation
- Choose Evaluators and Metrics - Choose evaluators for your application
- Evaluator Rules - Run evaluators on production traces
- Predictive Alert Rules - Configure alerting and notifications
- GenAI Alert Rules - Configure alerting and notifications for GenAI applications
- Guardrails FAQ - Common questions and answers
Additional Resources
Learn more about the underlying technology:- Centor Models Overview - Learn about the evaluation platform
- Guardrails Glossary - Key concepts and terminology
Pages in This Section
The Protect section of the sidebar holds these pages:- Guardrails Quick Start: set up your first guardrail.
- Guardrails Guide: how Fiddler Guardrails works and how to use it.
- Guardrails FAQ: common questions about setup and use.
- AI gateways, to enforce Fiddler guardrails at a third-party AI gateway: AgentGateway Guardrails, Kong AI Gateway Guardrails, LiteLLM Guardrails, and Portkey AI Gateway Guardrails.
Ready to get started? Try the Guardrails Quick Start to implement your first safety guardrail in minutes.