The Privacy Layer for your AI Stack.
Sanitize prompts in real-time with our open-source SDK. Run PII detection locally via WebAssembly or deploy the Sidecar to your VPC for centralized governance.
npm i rehydra
Guides
Getting Started.
Here are some of our Getting Started guides to fast track your compliant AI usage.
FAQ
Frequently Asked Questions
Does the SDK require an internet connection?
Can I detect custom identifiers specific to my domain (e.g., Order Numbers)?
You can define custom regex-based recognizers using createCustomIdRecognizer. You provide a pattern, a name, and a PII type (usually CASE_ID or CUSTOMER_ID). Example:
Is the PII mapping data secure?
What is the difference between the "standard" and "quantized" NER models?
How does rehydra improve Machine Translation (MT) context for anonymized entities?





