You write as usual.
Nothing about your chat app changes. CEG stays collapsed in a corner of the screen until there is something to review.
A local guard between you and your AI apps. CEG detects private information in what they send, lets you decide what goes out, and restores your real values in the answer.
Nothing about your chat app changes. CEG stays collapsed in a corner of the screen until there is something to review.
Fixed rules work together with a compact AI model trained specifically to find personal data in text. Both run on your machine and detect names, contact details, identifiers, secrets and other private details such as health or employer. The message waits until you decide.
CEG includes localized fixed rules and preconfigured multilingual detector models. It helps you choose the best model for the languages you write in. Eleven languages are supported today, and more are coming. See how each model performs in each language in our multilingual benchmark.
Mark each value as withheld or shared. CEG can remember your decisions, for this session or everywhere, and applies them the next time the same value appears. The more you decide, the fewer messages are held for review.
One click replaces each value with a placeholder. The AI can still do the task, and the provider never receives the original values. This works well for values the AI does not need to understand, such as names, numbers and addresses.
Some details matter to the task, and placeholders alone would leave the AI without the context it needs. Another local model, a text sanitizer, rewrites private details in general, abstract terms. This works well for details the AI has to reason about, such as a condition, a job or a situation. You see the draft before anything is sent.
You can also send the message unchanged, or block it. CEG keeps a local record of what each provider received. If anything fails, nothing is sent.
The AI answers, echoing the placeholders. CEG restores the original values before your app shows the reply, so you can use it as it is. The provider never receives them.
A prompt to Claude Code or Codex often contains nothing private and passes straight through. The agent then reads files, databases and command outputs, and that content is sent to the provider as well.
The output of a command or the content of a file goes to the provider like any prompt. It is checked first and held when something is detected. The same choices apply: replace, rewrite, block or send.
An agent can make hundreds of model calls in one task. With Auto turned on, each call is handled by your privacy policy: allow, rewrite, redact, ask or block. You choose how strict detection is and add your own rules for each category of data, for example blocking secrets and replacing names.
The model only receives placeholders, so the commands it writes contain them. When a command stays on your machine, such as searching or editing a file, CEG restores the real value before the agent runs it.
A command that would send a value outside your machine, such as curl, git push or a web request, is held. CEG shows the destination and the value that would be restored. You can restore it once, allow it for the session, or keep the placeholder. If you do not respond, the placeholder stays.
Pick the apps in Settings. Nothing else about how you use them changes.
ChatGPT, Claude and Gemini, in the browsers you choose.
CEG installs command-line wrappers for Claude Code and Codex. Add --ceg to your usual command and the agent runs through CEG, including the files and commands it reads.
CEG's models and rules run on your machine. In the chats and agent sessions CEG supports, nothing reaches the provider until you or your policy decide.
CEG shares nothing with us unless you choose to send a report.
Detector models and rules can make mistakes and miss real private information.
CEG provides measured protection, not a privacy guarantee.
Apache 2.0, developed by ChainSafe Systems.
The code, the specs and the evaluation results are public.
$ curl -fsSL https://github.com/ChainSafe/CEG/releases/latest/download/install.sh | sh