01 Local-first PII boundary
Useful data goes out.
Sensitive data stays in.
One policy-controlled boundary sits between your data and any API, model, agent, or pipeline. It detects, transforms, audits, and restores, and it does not lock your stack to a single vendor.
- MIT licensed
- fail closed
- runs offline
- py + ts cores
before
Ask maya@acme.com about card 4111 1111 1111 1111.
transform
protected
Ask [[PG1|EMAIL|…]] about card [[PG1|CARD|…]].
02 Guided setup
Build the boundary you actually need.
No all-or-nothing switch. Every rule stays visible and yours to change.
- 1StartChoose a baseline
- 2PolicyControl each type
- 3TrustChoose key custody
- 4TestPreview locally
- 5ConnectCopy your setup
Step 1 of 5
What are you protecting?
Pick the closest starting point. You can change every rule next.
Step 2 of 5
Decide what happens to each type.
Enabled rules are evaluated locally before data crosses the boundary.
Step 3 of 5
Where should restoration keys live?
This choice controls who can turn protected values back into originals.
Step 4 of 5
See your policy before you install.
This lightweight preview runs in your browser and never leaves this page. Run the installed verification probe before relying on your full detector set.
View generated policy JSON
Step 5 of 5
Your gateway configuration is ready.
Choose an integration, copy the snippet, then follow the verification check.
Save policy.jsonDownload the exact policy you just reviewed.
Run the probeConfirm PII cannot cross your configured boundary.
privacy-gateway verify03 One boundary, any source
Designed to fit in, not take over.
-
01
Detect locally
Regex, checksums, allow and deny lists, Presidio, and pluggable recognizers run on your own host and record explicit provenance for every finding.
-
02
Apply policy
Deterministic precedence turns each finding into a visible decision: keep, redact, tokenize, hash, generalize, or replace with a format-valid synthetic value.
-
03
Cross safely
Only protected data reaches the external model, API, agent tool, webhook, or warehouse. If detection cannot complete, the call is blocked rather than sent.
-
04
Restore deliberately
Client-held capsules or encrypted vault mappings restore approved output, while queryable audit records explain every classification and decision.