ZeroEgress SDK
Why client-side changes your compliance story
Most PII-scrubbing solutions (Presidio, cloud APIs, middleware) run server-side. By the time they scrub anything, the raw PII has already entered your infrastructure: your TLS terminators, your logs, your queues, your liability.
An SDK that runs in the end user's browser moves the boundary. The sensitive data is detected and redacted before the request leaves the user's device. Your backend only ever sees clean text. For your compliance team, that's not a smaller attack surface, it's a different category of answer.
What it looks like
const engine = await createEngine({ license }); // checked offline
await engine.loadModel(); // the local model, verified before use
const session = await engine.startSession();
const result = await session.scan(userInput, { outputMode: 'tokenize' });
const { text, tokens } = session.redact(result);
// send `text` to your API or LLM; the originals stay in the browser
const restored = session.reveal(llmResponse, tokens);
What it includes
- Detection engine: NER (local model) + 19 pattern categories + custom patterns, with second-pass propagation
- Tables and exports: in the text it is given, identifiers removed from table columns by their header (CSV, TSV and Markdown tables, and Excel sheets once read into text, for which the package includes readers), from fields named as exports write them and from JSON, such as account and card numbers in financial exports, claim and license numbers in insurance and legal files, patient and member IDs in clinical ones; only the identifiers go, amounts, terms, doses and diagnoses stay
- Reversible tokenization: consistent [NAME_1]-style tokens with a local-only reveal map, built for LLM round-trips; each type either comes back as a token or is removed for good
- Audit chain: HMAC-SHA256 tamper-evident event log with ECDSA-signed JSON exports and a signed compliance certificate, give your compliance team a verifiable record; the signed export names the engine build and the model by their SHA-256 fingerprints and its signature covers them, so an auditor can see which engine and model produced each record
- Where it runs: entirely in the end user's browser, with the local AI model
- Licensed per application, not per seat. Covered by US Patents 12,665,758 and 12,785,956 and additional applications pending.
The full verification model, what is signed, what is anchored and how a third party checks it offline, is on the security page. An application built on the SDK can give its own customers the same proof: the signed export and certificate, which anyone checks in their own browser on the verification page, with nothing uploaded.
Built for
- AI chat and copilot interfaces that pass user text to LLM APIs
- Support and CRM tools where agents paste customer conversations
- Healthcare, legal, financial and HR frontends that must keep PII and PHI out of the backend
- Browser extensions and internal tools handling sensitive text
Early access
The engine runs today on zeroegress.ai. The SDK that packages it is available to a small group of design partners: a signed private package, under a confidentiality agreement, with an integration guide and a sample application. Design partners get direct access to the team, influence over the roadmap, and preferential license terms.
Interested? Write to contact@zeroegress.ai with the subject "SDK early access" and one line about what you're building. That's the whole form, we don't do signup databases, for reasons that should be obvious by now.