Secure your AI interactions. A browser extension that masks secrets and optimizes tokens in prompts locally before sending them to LLMs.
AIgis (pronounced like Aegis, the mythological shield) is a "Client-Side Privacy Firewall" for Large Language Models.
Many companies and individuals hesitate to use tools like ChatGPT, Claude, or Gemini due to data privacy concerns ("Shadow AI"). AIgis solves this by intercepting your prompt directly in the browser. It sanitizes sensitive data (PII) and optimizes data structures to save tokens before the request ever leaves your device.
Your data stays yours. The LLM provider only sees what you want them to see.
- PII Detection: Automatically detects and masks emails, IBANs, paths, IP addresses and more.
- Custom Dictionaries: Define your own "forbidden words" (e.g., internal project names like
Project Apollo) that get replaced with placeholders (CUSTOM_X). - Local Processing: All logic runs in your browser. No data is sent to any 3rd party server for verification.
- JSON to TOON: AIgis automatically detects bulky JSON inputs and converts them into TOON (Token-Oriented Object Notation) before sending.
- 30-60% Savings: TOON strips away redundant syntax (brackets, quotes) to drastically reduce token usage and API costs without losing structural integrity.
- Lossless & Reversible: Fully round-trip capable. Data converted to TOON is semantically identical to the original JSON, ensuring the LLM understands it perfectly.
- Context Restoration: AIgis re-injects the original data into the LLM's response, so you see the real data while the LLM only saw the placeholders.
AIgis operates as a browser extension injecting a content script into supported LLM interfaces.
sequenceDiagram
participant User
participant AIgis (Browser)
participant LLM (Cloud)
User->>AIgis (Browser): Types Prompt ("Email to foo@bar.com...")
Note over AIgis (Browser): 1. Intercept Submit<br/>2. Detect PII (foo@bar.com) and/or JSON<br/>3. Replace with [EMAIL_1] and/or TOON<br/>4. Save PII-Mapping locally
AIgis (Browser)->>LLM (Cloud): Sends Sanitized Prompt ("Email to [EMAIL_1]...")
LLM (Cloud)-->>AIgis (Browser): Returns Answer ("Email for [EMAIL_1]...")
Note over AIgis (Browser): 5. Reverse PII-Mapping and TOON <br/>Replace [EMAIL_1] / TOON -> foo@bar.com / JSON
AIgis (Browser)-->>User: Displays Final Answer
AIgis works on all Chromium-based browsers (Google Chrome, Microsoft Edge, Brave, Opera, Vivaldi, Arc, etc.).
Since it is currently in active development and not yet listed on the Web Stores, you can install it manually in less than a minute:
- Download: Go to the Releases Page and download the latest
AIgis-vX.X.X.zip(found under "Assets"). - Unzip: Extract the ZIP file into a folder of your choice.
- Open Extensions Page:
- Chrome / Brave / Opera: Navigate to
chrome://extensions/ - Microsoft Edge: Navigate to
edge://extensions/
- Chrome / Brave / Opera: Navigate to
- Enable Developer Mode: Toggle the switch "Developer mode" (usually in the top-right corner or left sidebar).
- Load Extension: Click the "Load unpacked" button.
- Select: Select the folder you just extracted.
Ready! AIgis is now active. We recommend pinning the extension icon to your toolbar for quick access to the toggle switch.
Security Note: Every release includes a
.sha256checksum file. You can verify the integrity of the downloaded ZIP against this hash to ensure the file hasn't been tampered with.
If you want to contribute or audit the code:
# 1. Clone the repo
git clone [https://github.com/Karaatin/AIgis.git](https://github.com/Karaatin/AIgis.git)
# 2. Install dependencies
npm install
# 3. Build the project
npm run build
# 4. Load the 'dist' folder in Chrome/Edge (via "Load unpacked")