Skip to main content

Guardian Layer in Your Stack

Guardian Layer sits between sensitive input and whatever consumes it:

user input → your backend → Guardian Layer → de-identified output → LLM / storage / another service

Call it from your backend, not the browser — the API key is a secret, and your server should own logging, retries, and usage limits.

Pick a call​

You haveYou wantCall
TextSee what's sensitive firstanalyze_proprietary()
TextReadable de-identified textdeidentify_text_outputs() with transform
TextValues visibly gonesame, with redact
A fileA de-identified file backdeidentify_file()
An agent that masks automaticallyPII stripped before the LLM, restored afterprivacy_enabled on a Custodian Agent

Inline masking during chat​

privacy_enabled=True (Python) / privacyEnabled: true (TypeScript) on a Custodian Agent or team runs the same de-identification server-side on every message before the LLM, then restores the original values in the reply. No extra call from your code.

See also​

Guardian Layer Overview · File De-identification · Guide: Use PII masking with LLMs