Introduction
Scrub is a HIPAA-compliant AI gateway designed for healthcare organizations. It sits between your application and AI providers (OpenAI, Anthropic, Google), automatically detecting and protecting Protected Health Information (PHI) before it reaches external LLMs.
Why Scrub?
Healthcare organizations face a critical challenge: they want to leverage powerful AI models, but can't risk exposing patient data. Scrub solves this by:
- Detecting PHI automatically - 20+ patterns including SSN, MRN, DOB, addresses, and more
- Protecting data your way - Flag, block, redact, or mask sensitive information
- Supporting multiple providers - One unified API for OpenAI, Anthropic, and Google models
- Providing complete audit trails - Every request logged for compliance
How It Works
Your App → Scrub API → PHI Detection → AI Provider → Response
- Your application sends requests to Scrub's API (drop-in replacement for OpenAI's API)
- Scrub scans the content for PHI patterns
- Based on your settings, PHI is flagged, blocked, redacted, or masked
- Clean requests are forwarded to your chosen AI provider
- Responses are returned to your application
- Everything is logged for audit purposes
Quick Links
- Quick Start - Get up and running in 5 minutes
- API Reference - Complete API documentation
- PHI Detection - Learn about PHI patterns and handling modes
- Code Examples - Sample code in multiple languages