AI-governed pipeline defense & integrity network for Nigeria's oil & gas sector
# AI Sentinel — Intelligent Pipeline Defense & Integrity Network
> AI-governed real-time pipeline monitoring, anomaly detection, and threat response for Nigeria's oil & gas sector.
## What it does
- **Monitors** pressure, flow, and vibration signals across pipeline segments in real time
- **Detects** anomalies: leaks, theft/tapping, sabotage, sensor faults (ML-classified)
- **Risk-maps** every pipeline segment (green/amber/red) with confidence scores
- **Dispatches** automated alerts + recommended actions to response teams
- **Generates** NUPRC/NNPC-ready incident reports with evidence trail
- **Learns** from every confirmed event to improve detection accuracy
## Architecture
```
sensor data (IoT/CSV/SCADA) → [Anomaly Engine] → [Multi-agent Brain] → [Command Dashboard]
(ML) (classify/dispatch) (map + alerts)
```
## Stack
- **Backend:** FastAPI (Python) + PostgreSQL + Redis
- **ML:** scikit-learn + statsmodels (anomaly detection, risk scoring)
- **Frontend:** Next.js 14 + Tailwind CSS + Leaflet (pipeline map)
- **Deploy:** Railway (backend) + Vercel (frontend)
## MVP Phases
1. ✅ **Phase 1:** Anomaly detection engine + Command dashboard (map + alerts)
2. ⬜ **Phase 2:** Multi-agent orchestration + PTW/HSE governance
3. ⬜ **Phase 3:** Drone integration + digital twin