⬡ Zone 7 — demand surge +38% — 3 trucks pre-positioned 48hrs ahead|◈ Rainstorm Protocol #3 ACTIVE — 12 routes auto-reconfigured, risky roads avoided|◉ Equity gap corrected: Ward 2 under-served — 2 tankers rerouted before complaints|◆ RL Dispatcher suggestion accepted — avg response time −4.2 min, fuel saved 15%|▲ Surge forecast: Festival Ward 9 — NLP detected social media buzz 48hrs early|✦ Auto report generated — 94.1% prediction accuracy, 72% fewer missed services|⊕ Multi-agency conflict resolved: Sanitation vs Maintenance scheduling overlap fixed|⊛ Digital Twin simulation run — fleet overload at 40% demand increase confirmed|⬡ Zone 7 — demand surge +38% — 3 trucks pre-positioned 48hrs ahead|◈ Rainstorm Protocol #3 ACTIVE — 12 routes auto-reconfigured, risky roads avoided|◉ Equity gap corrected: Ward 2 under-served — 2 tankers rerouted before complaints|◆ RL Dispatcher suggestion accepted — avg response time −4.2 min, fuel saved 15%|▲ Surge forecast: Festival Ward 9 — NLP detected social media buzz 48hrs early|✦ Auto report generated — 94.1% prediction accuracy, 72% fewer missed services|⊕ Multi-agency conflict resolved: Sanitation vs Maintenance scheduling overlap fixed|⊛ Digital Twin simulation run — fleet overload at 40% demand increase confirmed|

NagarFlow

NagarFlow is an AI-powered platform that predicts demand and optimizes allocation of public resources like water tankers, garbage trucks, and maintenance teams in real-time.

Zero hardware · 48-hr forecast · Equity-first dispatch

Enter Dashboard →
Prediction Accuracy
0%
AI Demand Forecast
Missed Services
0%
Reduction vs Reactive
Advance Warning Window
0hr
Pre-positioning Lead Time
Fleet Fuel Saved
0%
Operational Efficiency
Operator Adoption
0%
Platform Accept Rate

10 Intelligence Modules

F01

Equity-Corrected Demand Engine

Poor areas served even without complaints

F01

Equity-Corrected Demand Engine

Calculates expected vs actual complaints per ward. When actual < expected, priority is amplified. Systemic under-reporting in low-income wards is corrected to guarantee proportional resource dispatch.

XGBoostGeoPandasNetworkX
F02

Dual-Layer Map + Time Slider

Forecast vs reality time-scrub UI

F02

Dual-Layer Map + Time Slider

Side-by-side heatmap layers let operators toggle between prediction and live complaint data. Drag the time slider to scrub through 48-hour windows and verify AI accuracy.

Leaflet.jsReactProphet
F03

NLP Complaint Intelligence

Urgency, emotion & category from 311 text

F03

NLP Complaint Intelligence

Fine-tuned BERT model classifies incoming 311 service requests by urgency, location, and service type. "Road collapsed" is prioritised; "grass is long" is not.

HuggingFacespaCyFastAPI
F04

Social Media Demand Miner

Twitter & Reddit fill silent reporting gaps

F04

Social Media Demand Miner

Mines geo-tagged posts on Twitter and Reddit using BERT classification. Detects "flood here", "garbage piled up" and other hidden problems where formal 311 reporting is absent.

TweepyPRAWBERT
F05

Predictive Surge Forecaster

48-hour calendar-aware pre-positioning

F05

Predictive Surge Forecaster

Combines historical demand, calendar events (festivals, elections, matches) and weather signals to forecast surge demand 48 hours ahead for proactive fleet staging.

XGBoostProphetNOAA API
F06

Weather Emergency Protocols

Auto fleet reconfiguration on weather triggers

F06

Weather Emergency Protocols

State machine (Clear→Alert→Warning→Emergency→Recovery) autonomously reconfigures fleet, avoids risky roads, and pre-deploys resources based on NOAA weather feeds — no human needed.

NOAA APIOR-ToolsRedis
F07

Digital Twin Simulator

What-if sandbox before committing resources

F07

Digital Twin Simulator

Full discrete-event simulation. Operators run scenarios — "What if demand +40%?", "What if trucks break?" — and see outcomes on a live map before making real-world decisions.

SimPyPostgreSQLFastAPI
F08

Multi-Agency Coordination Hub

Garbage + Water + Maintenance on one board

F08

Multi-Agency Coordination Hub

Graph-based conflict detection identifies resource overlaps between sanitation, water, and maintenance departments. Automatically negotiates priority and prevents duplicate routing.

NetworkXGCNOR-Tools
F09

RL Autonomous Dispatcher

PPO agent: max coverage, min fuel, min time

F09

RL Autonomous Dispatcher

Proximal Policy Optimization agent trained on historical dispatch scenarios. Suggests which truck goes where with full reasoning. Operators can accept or override every suggestion.

Stable-Baselines3PyTorchRedis
F10

Auto Report Generator

End-of-day LLM-generated KPI PDF

F10

Auto Report Generator

AI pipeline compiles zone coverage, missed deployments, equity scores, prediction accuracy, and operator decisions into a structured PDF daily report with charts and recommendations.

Claude APIFastAPIPostgreSQL

How It Works

Seven-stage urban intelligence pipeline — raw data to live dispatch

311 complaints, Twitter, Reddit, NOAA
APIs + Social
Urgency, emotion & category extraction
NLP Engine
Bias-corrected demand amplification
Equity Engine
48-hr XGBoost + Prophet forecast
Prediction Index
PPO agent: optimal fleet routing
RL Dispatcher
Heatmap, dispatch, alerts
Live Dashboard
LLM-generated daily KPI PDF
Auto Report

Live Demo Scenarios

S1 — Normal Day

Trucks Active: 4
NLP Flags: 1 Critical
▶ Scenario running...

S2 — Rainstorm Protocol

Routes Reconfigured: 12
Protocol: AMBER / AUTO
▶ Scenario running...

S3 — What-If: +40% Surge

Fleet Overload: YES
Reserve Suggested: 2
▶ Scenario running...
PyTorchDeep learning frameworkHuggingFaceTransformer model hubspaCyNLP pipelineXGBoostGradient boosting forecasterStable-Baselines3PPO RL algorithmsSimPyDiscrete event simulationProphetTime-series forecastingBERTComplaint classification modelGCNGraph neural networkPyTorchDeep learning frameworkHuggingFaceTransformer model hubspaCyNLP pipelineXGBoostGradient boosting forecasterStable-Baselines3PPO RL algorithmsSimPyDiscrete event simulationProphetTime-series forecastingBERTComplaint classification modelGCNGraph neural network
FastAPIPython REST API backendOR-ToolsRoute optimisation solverRedisReal-time in-memory storePostgreSQLRelational data storeReactDashboard UI libraryLeaflet.jsInteractive heatmap mapsGeoPandasGeospatial analysisNetworkXMulti-agency conflict graphClaude APILLM daily report generationNOAA APIWeather emergency feedTweepyTwitter/X social minerPRAWReddit demand signal minerFastAPIPython REST API backendOR-ToolsRoute optimisation solverRedisReal-time in-memory storePostgreSQLRelational data storeReactDashboard UI libraryLeaflet.jsInteractive heatmap mapsGeoPandasGeospatial analysisNetworkXMulti-agency conflict graphClaude APILLM daily report generationNOAA APIWeather emergency feedTweepyTwitter/X social minerPRAWReddit demand signal miner