{"repo":"cxumol/promptmask","free":true,"listed":false,"github":"https://github.com/cxumol/promptmask","clone":"git clone https://github.com/cxumol/promptmask.git","description":"Never give AI companies your secrets! A local LLM-based privacy filter for LLM users. Seamless integration with your existing AI tools as a Python library / OpenAI SDK replacement / API Gatetway / Web Server.","language":"Python","stars":149,"topics":["ai","api","data-masking","gpt","llamacpp","llm","localhost","ollama","openai-api","pii"],"license":"MIT","category":"ai-agents","readme_excerpt":"PromptMask A local-first privacy layer for Large Language Models. Cloud AI is smart but sacrifices privacy. Local AI keeps your secret but is dumb. What if we can combine the advantages of both sides? -blue) PromptMask ensures your private data never leaves your machines. It redacts and un-redacts sensitive data locally, so that only anonymized data is sent to third-party AI services.( ) ( ): \"Local\" in this project is used only for terminology distinction, differing from Cloud AI whose privacy protection is questionable. PromptMask is fully compatible with any remote LLM that you trust to process sensitive data. Table of Contents - Table of Contents - How It Works - Quickstart + Choosing Integration Method + Prerequisites Choosing a Model with Benchmarks + For General Users: local OpenAI-compatible API Gateway + For Python Developers: OpenAIMasked - Configuration - Advanced Usage: PromptMask - Web Server: WebUI & API + Web UI Preview - Development & Contribution - License How It Works The core principle is to use a trusted (local) model as a \"privacy filter\" for a powerful, remote model. The process is fully automated. I wrote a blog post with more details on the why and how: How Not to Give AI Companies Your Secrets Quickstart Choosing Integration Method Use this table to find the best way to integrate PromptMask into your workflow: Existing OpenAI-compatible Tools Direct Use / Custom Integration :--- :--- :--- Python Developers from promptmask import OpenAIMasked as OpenAI","default_branch":null,"files":null,"tree":[],"storefront":"/r/cxumol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cxumol/promptmask/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}