Quick Start
Get up and running in under 5 minutes
Why Rehydra?
When processing text through AI services (translation, summarization, etc.), you often need to protect sensitive information. Rehydra enables privacy-preserving workflows:1
Anonymize
Detect and replace PII with placeholder tags before sending to AI
2
Process
Send anonymized text to any AI service safely
3
Rehydrate
Restore original values after processing
Key Features
Structured PII Detection
Regex-based detection for emails, phones, IBANs, credit cards, IPs, URLs, and more
Soft PII Detection
ONNX-powered NER model for names, organizations, and locations
Semantic Enrichment
AI/MT-friendly tags with gender and location attributes for better translations
Secure Encryption
AES-256-GCM encrypted storage of original PII values
Cross-Platform
Works identically in Node.js, Bun, and browsers
Session Management
Persistent storage providers for multi-turn conversations
Example Workflow
Here’s how Rehydra protects PII during translation:Platform Support
| Environment | Version | Notes |
|---|---|---|
| Node.js | ≥ 18.0.0 | Uses native onnxruntime-node |
| Bun | ≥ 1.0.0 | Requires onnxruntime-web |
| Browsers | Chrome 86+, Firefox 89+, Safari 15.4+, Edge 86+ | Uses OPFS for model storage |