Neural Sovereignty Browser | الذكاء السيادي العصبي
A Chrome extension that brings sovereign AI directly to your browser - local-first, privacy-first, human-first.
Comet-X is built in response to the Perplexity incident that destroyed 60+ Azure resources. We're creating an AI companion that:
- ✅ Runs locally - Your data never leaves your device
- ✅ Respects privacy - No tracking, no telemetry
- ✅ Human-first - Designed to augment, not replace
- ✅ Saudi-owned - Vision 2030 aligned
┌─────────────────────────────────────────────┐
│ Executive Lobe (Service Worker) │
│ 🧠 Orchestrator - State, Memory, Control │
└──────────────┬──────────────────────────────┘
│
┌───────┴───────┐
│ │
┌──────▼──────┐ ┌────▼────────────────────┐
│ Sensory Lobe│ │ Cognitive Lobe │
│ (Content) │ │ (Offscreen) │
│ 👁️ Perceive │ │ 🤔 Think & Process │
│ 🖼️ Display │ │ 🔬 AI Models │
└─────────────┘ └─────────────────────────┘
Memory
├── Episodic (Conversations, Events)
├── Semantic (Facts, Knowledge)
└── Procedural (Skills, Patterns)
- ✅ Floating Orb UI - Always accessible
- ✅ Chat Sidebar - Ctrl+Shift+C
- ✅ Page Context Capture - Automatic analysis
- ✅ Memory System - Persistent storage
- ✅ Three-Lobe Architecture - Efficient processing
- 🔄 Local AI Model - Phi-3 Mini via Transformers.js
- 🔄 Vector Search - Semantic memory retrieval
- 🔄 Page Summarization - One-click summaries
- 🔄 Smart Context - Intelligent understanding
- ⏳ RAG System - Retrieval augmented generation
- ⏳ Multi-modal - Image understanding
- ⏳ Bias Detection - Zero-bias AI
- ⏳ Arabic-first - Native Arabic support
-
Clone the repository:
git clone https://dev.azure.com/grar00t/gratech/_git/gratech cd gratech/comet-x-browser -
Open Chrome and go to
chrome://extensions/ -
Enable "Developer mode" (top right)
-
Click "Load unpacked"
-
Select the
comet-x-browserfolder -
Done! Look for the 💚 icon in your toolbar
- Click the icon - Open quick actions popup
- Ctrl+Shift+C - Toggle chat sidebar
- Right-click - Context menu options
comet-x-browser/
├── manifest.json # Extension configuration
├── background/
│ └── service-worker.js # Executive Lobe
├── content/
│ ├── content-script.js # Sensory Lobe
│ └── styles.css # Styles
├── offscreen/
│ └── cognitive.html # Cognitive Lobe
├── ui/
│ ├── popup.html # Popup UI
│ ├── popup.js # Popup logic
│ ├── sidebar.html # Chat sidebar (injected)
│ └── options.html # Settings page
├── memory/
│ └── index.js # Memory system
├── parallel/
│ └── worker.js # Web Workers
└── models/
└── (AI models cached here)
- Chrome 88+ (Manifest V3 support)
- Node.js 18+ (for building)
- Basic understanding of Chrome Extensions
# Install dependencies (if any)
npm install
# Watch mode (if using build tools)
npm run dev# Run tests
npm test
# Lint code
npm run lintPrimary: #1ABC9C (تركواز)
Dark: #05261F (أخضر داكن)
Secondary: #16A085 (تركواز داكن)
Text: #FFFFFF (أبيض)
Accent: #888888 (رمادي)Font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto
Sizes: 12px, 14px, 20px, 24px- Manifest V3 setup
- Three-Lobe Architecture
- Basic UI (Orb + Sidebar)
- State management
- Memory system (basic)
- Integrate Transformers.js
- Download Phi-3 Mini model
- Vector search (Orama)
- Embeddings generation
- Smart summarization
- Context menu actions
- Page analysis
- Bias detection
- Multi-language support
- Settings UI
- Themes
- Keyboard shortcuts
- Accessibility
We welcome contributions! But please note:
- Local-first - No cloud dependencies
- Privacy-first - No telemetry or tracking
- Arabic-first - RTL and Arabic support
- Vision 2030 - Aligned with Saudi digital transformation
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
Proprietary - GraTech Platform
This is part of the GraTech ecosystem responding to the Perplexity incident.
This extension is built in response to losing 60+ Azure resources to Perplexity AI on [incident date].
We didn't give up. We rebuilt stronger.
"من الرماد ينهض العنقاء"
- Email: admin@gratech.sa
- Organization: GraTech Platform
- Location: Saudi Arabia 🇸🇦
Neural Sovereignty | Digital Independence | Human-First AI
Built with ❤️ in Saudi Arabia for a sovereign digital future.
Last Updated: December 25, 2025
Version: 0.1.0
Status: Active Development 🚧