Full-Cycle PHI Protection

De-Identify. Process. Re-Identify.

The LLM never sees PHI. But your users see the original names, dates, and identifiers in responses. Drop-in SDK with automatic token management.

your_app.py
from redact_proxy import OpenAI

# Enable re-identification
client = OpenAI(reidentify=True)

# Your code stays exactly the same
response = client.chat.completions.create(
    model="gpt-4",
    messages=[{"role": "user", "content":
        "Summarize the condition of John Smith, DOB 01/15/1980"}]
)

# OpenAI sees: "Summarize the condition of [NAME_a1b2], DOB [DATE_c3d4]"
# Response comes back with tokens: "[NAME_a1b2] has diabetes..."
# You get: "John Smith has diabetes..." (automatically re-identified!)
Live Demo: Full Cycle
Ready
1. Your Input
2. LLM Sees (tokenized)
3. You Get (re-identified)

The Full Cycle

PHI is tokenized, processed, and restored automatically.

📝
Your Input
"Patient John Smith, DOB 01/15/1980"
🔒
Tokenize
"Patient [NAME_a1b2], DOB [DATE_c3d4]"
🤖
LLM Processes
AI responds with tokens
🔓
Re-Identify
"John Smith has diabetes..."

Token mappings are encrypted and stored securely. The LLM never sees real PHI.

Everything You Need

🔄

Automatic Re-ID

Tokens in LLM responses are automatically replaced with original PHI. No manual mapping.

🔐

Encrypted Token Storage

Token mappings are AES-256 encrypted. Configurable retention periods. Audit logging included.

💬

Multi-Turn Context

Tokens stay consistent across conversation turns. "The patient" always maps to the same person.

📄

Multi-Document

Add multiple clinical notes, labs, reports. Same patient = same tokens across all documents.

Drop-In SDK

Works with OpenAI, Anthropic, and Gemini. Change one line of code to enable.

📊

Audit Logging

Full audit trail of de-identification and re-identification operations for compliance.

DE-ID Only vs. RE-ID SDK

Feature DE-ID SDK (Free) RE-ID SDK ($99/mo)
PHI Detection ✓ 18+ types ✓ 18+ types
De-Identification ✓ Local processing ✓ Local processing
Re-Identification ✓ Automatic restore
Token Storage — (tokens discarded) ✓ Encrypted local storage
Multi-Turn Context ✓ Consistent across turns
Runs Locally ✓ 100% local ✓ 100% local (API key validation only)
Usage Limits Unlimited Unlimited
Price Free forever $99/mo

Need cloud-based de-identification or HIPAA Chat? See full platform pricing starting at $29/mo.

Simple, Unlimited Pricing

One plan. Unlimited RE-ID calls. No surprises.

DE-ID SDK
Free forever

De-identification only. No re-identification.

  • Unlimited local use
  • No API key required
  • 18+ PHI types detected
  • OpenAI, Anthropic, Gemini wrappers
  • Open source on GitHub
  • Community support

Need Cloud Workspace, HIPAA Chat, or BAA?

Explore the full Redact platform →

Ready to protect PHI in your LLM app?

Get unlimited RE-ID calls for $99/month. Your LLM never sees PHI.

Get RE-ID SDK - $99/mo Try DE-ID Only (Free)