AI data privacy gateway: privacy engine + proxy for LLM providers
pip install privyx==0.1.25 Copy PIP instructions
Keep secrets and personal data out of LLM prompts.
Documentation · Quickstart · Tutorials · Integrations
Privyx is a proxy between your tools and an AI provider. It replaces the API keys, passwords, email addresses, and other sensitive values it detects in a request with placeholders, and puts the originals back into the reply. The only thing that changes in your client is its base URL.
pip install privyx With a coding agent. privyx run starts a proxy, launches the tool through it, and stops the proxy when the tool exits:
privyx run claude # Claude Code; also: codex, aider, pi With an application or any other client. Start the proxy, then change the client's base URL. The client keeps its own API key, which Privyx relays:
privyx proxy --upstream https://api.openai.com export OPENAI_BASE_URL=http://localhost:8000/v1 For Anthropic: --upstream https://api.anthropic.com and ANTHROPIC_BASE_URL=http://localhost:8000.
Without installing. See what would be masked in a text. Nothing is sent anywhere:
$ uvx privyx detect --transform "DB_PASSWORD=hunter2 deploy to 10.0.4.17, cc dana@acme.example" 12:19 SECRET 'hunter2' 30:39 IP_ADDRESS '10.0.4.17' 44:61 EMAIL 'dana@acme.example' DB_PASSWORD= deploy to , cc The Quickstart walks through each of these, and there is a Docker image: ohp1x/privyx.
The model works with : it can reason about it, repeat it, and hand it to a tool. The mapping back to the real value stays with Privyx. More in How it works.
Privyx reduces what a provider sees. It does not make a prompt safe by itself:
Limitations has the full list, and the threat model says what Privyx protects against.
The documentation is at ohp1x.github.io/privyx:
Privyx is in its 0.1.x series; the changelog lists what each release changed.
Both files in this release have provenance metadata.
crypto dev faker keychain presidio providers redis sqlite
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Yanked reason: Accidental publish from a CI test tag while validating Trusted Publishing (OIDC); not an intended release.




