Integrate the SDK
Connect your AI agent in three minutes. Zero new dependencies for PII detection.
1
Install
Zero runtime dependencies. Python 3.10+ · pip
2
Wrap your LLM client
Drop-in replacement — PII is detected and redacted locally before any prompt leaves your codebase.
What gets redacted
AADHAAR_INPAN_INUPI_INMOBILE_INIFSC_INBANK_ACCOUNT_INGST_INVOTER_IDPASSPORT_INDL_INEMAILIBANSSN_USMRN
3
Add the audit tracer
Every LLM call is automatically logged as a hash-chained audit event. Pass tracer= to wrap() to do both in one line.
4
Verify chain integrity
Call verify() at the end of any run to get cryptographic proof the audit trail hasn't been tampered with.
What this covers
DPDP
✓Aadhaar, PAN, UPI detection
✓Consent-backed audit log
✓DPDP DPIA auto-generation
✓RBI FREE self-assessment
GDPR
✓IBAN, NHS, passport detection
✓Art. 22 decision logging
✓72h breach notification trail
✓DPIA readiness tracking
HIPAA
✓All 18 Safe Harbor identifiers
✓PHI de-identification logs
✓§164.312(b) audit controls
✓BAA-ready audit trail