CLI batch anonymization
Use CLI jobs for source folders, CI test fixtures, support exports, or recurring reports that need local anonymization before sharing.
piixie anonymize ./raw-documents \ --mode synthetic \ --out ./safe-documents
Server mode
Run a shared Piixie server so team members do not each carry the local compute cost for heavy anonymization loads.
piixie server \ --host 127.0.0.1 \ --port 8787 \ --mode replacement
Recommended policy
- Keep raw documents where they belong, not in prompt tools.
- Store anonymized outputs separately and mark them as derived files.
- For synthetic mode, review generated replacements before using them as examples.
- For shared servers, add authentication, logging, and retention rules.
Architecture
flowchart TB
Desktop[Desktop app] --> Core[Piixie anonymization core]
CLI[CLI batch job] --> Core
Server[Internal server] --> Core
Core --> Local[Local model]
Core --> Output[Anonymized output]
Output --> LLM[Optional downstream LLM]