Open-source privacy filter for AI chats
The model gets [PERSON_1]. You get the answer with the real name.
QUON replaces the personal data it detects with placeholders before your message reaches GPT, Claude or Gemini, and puts the real values back into the answer. Use our hosted beta, or run it on your own server.
No filter catches everything. Review mode shows you what leaves before you send.
- Open source, AGPL-3.0
- Chats and documents stored end-to-end encrypted
- If the filter is down, nothing is sent
Draft a reply to Ms Lena Hartwig (lena.hartwig@example.org, +49 171 2345678): her refund of €1,240 goes to DE89 3704 0044 0532 0130 00.
Draft a reply to Ms [PERSON_1] ([EMAIL_1], [PHONE_1]): her refund of [AMOUNT_1] goes to [IBAN_1].
Dear Ms Lena Hartwig, your refund of €1,240 will be transferred to DE89 3704 0044 0532 0130 00 within the next few days.
Made-up example. Try it with your own text in the demo.
In the app
You see what leaves before it leaves
Review mode shows the exact text that will be sent and every value that was replaced. Click a row to send that value unredacted, click again to redact it. Anything the filter missed, you select and redact by hand.
How it works
Redact first, then send
-
You write
An ordinary message with names, numbers and addresses.
-
QUON redacts
Before anything goes to the AI provider, each value QUON detects becomes a placeholder. In Review mode you approve each one.
-
The model answers
It sees placeholders where QUON found personal data.
-
You read the real values
Your device puts them back into the answer.
Where does this happen?
Detection runs on the QUON server you use: your own if you host it, ours in the beta. The message is processed there in memory and is not stored. Only the redacted version goes on to the AI provider.
Two ways in
Use our beta, or run it yourself
QUON App
No server needed. We run an instance for a small group of testers. Write to us, we send you an invitation, and you start in your browser.
- Installs on phone and desktop from the browser
- Documents, scans and projects included
- A recovery phrase that only you hold
Self-host
The complete open-source edition on your own server. Your stored data stays in your network. Only the redacted message goes to the AI provider you choose.
- Docker Compose on a Linux host, about 5 GB of RAM
- OpenRouter or any OpenAI-compatible endpoint, local models included
- Works on a home network, with Caddy's internal CA or over Tailscale
Trust
What you can check yourself
Redaction happens before the AI provider
Detection runs inside QUON, never at the AI provider. If you host it yourself, it runs on your own machine.
If in doubt, nothing is sent
If the filter is unavailable, you cannot send, and your draft is kept. QUON would rather be unavailable than let something through.
The server cannot read what it stores
Chats, memory and documents are encrypted in your browser before they are stored. The server keeps encrypted data and has no key for it. If you forget your password, only your recovery phrase gets you back to your data.
Your own API key, your choice of model
Enter your own API key and pick the model for each chat. Whichever you pick, the request arrives there redacted.
Open code, open tests
Anyone can read how detection works. How we test it, and what the tests cannot see, is written down.
The limits, stated
Detection is built for German and English. Someone can still be recognisable from context, for example from a job title and a town. The threat model lists what QUON does not protect against.
For developers and self-hosters
Run your own instance
Clone the repository, set a few values in .env, start the stack. Caddy handles HTTPS. Detection runs in the backend on your machine, with no outside service.
git clone https://github.com/quon-ai/quon-private-ai quon cd quon && cp .env.example .env # set QUON_DOMAIN, QUON_SERVER_SECRET, SIGNUP_INVITE_CODE # and OPENROUTER_API_KEY (or leave it empty) docker compose up -d --build
- Detection
- spaCy and Presidio NER, GLiNER and a regex safety net, all in the backend. No outside detection service.
- Stack
- FastAPI and SQLite in the backend, React with server rendering in the frontend.
- Models
- OpenRouter, or any OpenAI-compatible endpoint such as a local Ollama or LM Studio. One shared API key for the instance, or every user enters their own.
- Storage
- Chats, memory and documents are encrypted in the browser. Your server stores only encrypted data.
- Needs
- Linux on x86-64 with Docker Compose v2, about 5 GB of RAM with GLiNER. The first build takes 10 to 20 minutes on a small server.
- First run
- The first account becomes the admin. Set an invite code before the host is reachable.
- Licence
- AGPL-3.0. Issues and pull requests are welcome. Contributions need a signed contributor agreement.
FAQ
Common questions
What if the filter misses something?
Then that value reaches the AI provider in clear text. Review mode is there for this case: it shows you exactly what leaves before you send. You can also add terms of your own that are always redacted. And we publish how detection is tested, including what the tests cannot see.
Which models can I use?
Models from OpenAI, Anthropic, Google, Mistral and others through OpenRouter, or any OpenAI-compatible endpoint with your own key. If you host it yourself, that can be a local model. You pick the model for each chat.
Does QUON keep my conversations?
Only encrypted, in a form the server cannot read. That keeps your devices in sync. If you delete your account, the stored data is deleted. The AI provider receives the redacted text and handles it under its own API terms.
What do I need to host it myself?
A Linux machine on x86-64 with Docker Compose v2, about 5 GB of RAM with GLiNER, a few GB of disk, and HTTPS. A public domain is not required: a home network with Caddy's internal CA or Tailscale works. The first build takes 10 to 20 minutes on a small server.
What does it cost?
The open-source edition is free under AGPL-3.0. You pay your AI provider for the models you use. Pricing for the hosted app has not been announced, and the beta is by invitation.
Who is behind QUON?
QUON is built by Koppenberg Solutions in Germany. The code is public, and you reach us at hello@quon-ai.com.
Get started
Try it on your own text first
The demo needs no account. After that, write to us for a beta invitation, or clone the repository.