AI Privacy Gateway
A practical guide to keeping your sensitive data out of AI prompts.
Why it matters
Every prompt you send to a cloud LLM contains potentially sensitive information. A privacy gateway sits between you and the model, stripping PII before anything leaves your machine.
How it works
- Intercept — the gateway captures outgoing prompts
- Detect — PII detectors identify emails, phones, addresses, keys
- Redact — sensitive tokens are replaced with placeholders
- Forward — the sanitized prompt goes to the model
- Restore — the response is rehydrated with original values
Key benefits
- Local-first — processing happens on your device
- Zero-knowledge — providers never see your data
- Drop-in — works with any OpenAI-compatible endpoint
Try it
The full implementation is available as an open-source project with a CLI, a local gateway daemon, and MCP integration for AI agents.
Top comments (0)