Microsoft Presidio
Data protection and anonymization for PII in LLM pipelines
Verdict
Best open-source PII detection and anonymization library. Detect-and-replace SSN, emails, credit cards before sending to LLMs. Critical for GDPR/HIPAA compliance in RAG.
Other Guardrails & Safety
- Guardrails AIStable
Add input/output validation and safety rails to LLM calls
- NeMo GuardrailsExperimental
NVIDIA toolkit for programmable guardrails via Colang language
- Llama Guard 4Stable
Meta's fine-tuned safety classifier for prompt and response screening — now natively multimodal
- RebuffExperimental
Prompt injection detection API for LLM applications
- Lakera GuardStable
Real-time prompt injection and jailbreak protection API
- Azure AI Content SafetyProduction
Microsoft's content moderation API for text and images

