An AI-powered WhatsApp Notification Router that intelligently classifies incoming messages as Notify, Digest, or Mute using a hybrid AI architecture powered by Google Gemini, rule-based reasoning, and personalized scoring.
SignalOS is an AI-powered notification routing system that reduces notification overload by intelligently deciding whether an incoming WhatsApp message should:
- π Notify immediately
- π Be included in a digest
- π Be muted
The system combines deterministic rules, contextual AI reasoning, historical interactions, and personalized scoring to make reliable routing decisions.
- π€ Google Gemini AI Integration
- π§ Hybrid AI + Rule Engine
- π€ Personalized Notification Routing
- π¬ Text Message Analysis
- πΌοΈ Image & Screenshot Support
- π€ Voice Note Support
- π Analytics Dashboard
- π± Fully Responsive UI
- π Live Routing Simulation
- π CSV Export
- π Secure API Key Management
- β‘ Fast & Lightweight Architecture
.
βββ ai/ # Gemini AI prompts and reasoning
βββ assets/ # Static assets
βββ config/ # Configuration files
βββ dataset/ # Competition datasets
βββ evaluation/ # Benchmark & evaluation scripts
βββ history/ # Historical interaction retrieval
βββ loaders/ # Dataset loaders
βββ models/ # Data models
βββ outputs/ # Generated predictions
βββ public/ # Public frontend assets
βββ routing/ # Notification routing engine
βββ src/
β βββ assets/
β βββ components/
β βββ App.tsx
β βββ index.css
β βββ main.tsx
β βββ types.ts
βββ tests/ # Test cases
βββ utils/ # Helper utilities
βββ .env.example
βββ .gitignore
βββ bun.lock
βββ index.html
βββ main.py # Backend entry point
βββ metadata.json
βββ output.csv
βββ package.json
βββ README.md
βββ requirements.txt
βββ server.ts # Frontend server
βββ tsconfig.json
βββ vite.config.ts
Incoming Message
β
βΌ
Dataset Loader
β
βΌ
Rule Engine
β
βΌ
History Retrieval
β
βΌ
Gemini AI
β
βΌ
Score-Based Router
β
βΌ
Validation
β
βΌ
Notify / Digest / Mute
Handles deterministic cases:
- Emergency alerts
- Scam detection
- Phishing
- OTP
- Promotions
- Spam
Uses
- Sender information
- Group metadata
- Business accounts
- User history
- Previous interactions
Provides contextual reasoning by understanding
- Intent
- Urgency
- Importance
- Context
- User relevance
Calculates the final routing decision using:
- Importance
- Urgency
- Trust
- Risk
- Personalization
Ensures:
- Emergencies are never muted
- Scams are never notified
- Final routing is consistent
The web dashboard includes:
- π Analytics
- π Live Feed
- π§ͺ Message Simulator
- π Knowledge Base
- π€ CSV Export
- π AI Decision Visualization
- React
- TypeScript
- Vite
- CSS
- Python
- Gemini API
- Pandas
- Google Gemini
- Rule Engine
- Context Retrieval
- Hybrid Routing Pipeline
The application reads:
- messages.csv
- users.csv
- groups.csv
- images.csv
- business_accounts.csv
- message_history.csv
- message_events.csv
along with local media files.
The system generates
output.csv
containing
- Message ID
- Routing Action
- Confidence
- Explanation
- Supporting Evidence
git clone https://github.com/yourusername/SignalOS.git
cd SignalOSpip install -r requirements.txtnpm installor
bun installCreate .env
GEMINI_API_KEY=YOUR_API_KEY
APP_URL=http://localhost:3000python main.pynpm run devor
bun run devThe project includes a dedicated evaluation pipeline for benchmarking routing performance on labeled samples and generating the required competition output.
- Environment Variables
- No Hardcoded API Keys
- Secure Gemini Integration
- Deterministic Safety Rules
- Offline AI Support
- Local LLM Fallback
- Multi-language Messages
- Better Voice Understanding
- Adaptive User Learning
- WhatsApp API Integration
Vijay Kumar
B.Tech Computer Science Engineering
AI β’ Machine Learning β’ Full Stack Development