SentinelAI is a modern, AI-powered Network Intrusion Detection System (NIDS) designed for real-time traffic monitoring and on-device anomaly detection.
Built with Rust, Tauri, NFStream, and Machine Learning models, SentinelAI provides powerful, low-latency threat detection without sending any data outside the user's machine.
-
🔍 Real-Time Network Monitoring
- Captures live traffic from all active network interfaces.
- Displays interface details (name, ID, bandwidth, flow stats, etc.).
- Built with Npcap + NFStream for high-performance packet capture.
-
🧠 AI-Powered Intrusion Detection
- Hybrid AI Engine: XGBoost Multi-Class Classifier & LSTM Autoencoder (ONNX).
- Analyzes over 80+ flow-based features for deep inspection.
- Hybrid decision system provides high accuracy and extremely low false positives.
-
**🔐 Full Local Processing
- No data ever leaves your system.
- All models run completely on the user’s machine.
- Ideal for personal use, developers, researchers, and secure enterprise setups.
-
🖥️ Modern Desktop UI
- Lightweight, fast, and responsive native Windows application.
- Provides real-time charts, alerts, and detailed interface statistics.
Follow these steps to get SentinelAI running.
SentinelAI requires Npcap to be installed on your system for packet capturing.
Warning: This is a mandatory step. The application will not function without Npcap.
- Go to the official Npcap download page: https://npcap.com/#download
- Download and run the latest installer.
- During installation, it's recommended to check "Install Npcap in WinPcap API-compatible Mode" for maximum compatibility.
- Go to the Latest Release Page.
- Download the
.msi(installer) file from the Assets section.
- Run the downloaded installer (
SentinelAI_1.0.0_x64-setup.msi). - Launch SentinelAI. It will automatically detect your interfaces and be ready to start monitoring.
SentinelAI uses a hybrid decision engine to combine signature-based and anomaly-based detection, ensuring high accuracy while minimizing false positives.
- XGBoost Classifier: A multi-class classifier trained on known threat patterns and flow behaviors. Optimized for very low inference latency.
- LSTM Autoencoder (ONNX): Detects novel, unseen anomalies. It learns to reconstruct "normal" network flows and flags any significant reconstruction errors as potential threats.
All analysis is performed locally using over 80+ engineered features extracted in real-time by NFStream, including:
- Flow duration
- Packet/Byte counts
- Source/Destination ports
- TCP flags
- Payload entropy
- Packet & byte rates
- Inter-arrival times
- Protocol metadata
If you encounter any bugs or have suggestions for improvements, please open an issue.
Special thanks to:
- The Npcap team for the packet capture library.
- The NFStream team for the high-speed flow extraction.
- The ONNX Runtime team.
- All contributors and testers.
This project is licensed under the MIT License. See the LICENSE.md file for details.
