Should I go outside now, later, or not today?
An AI-powered environmental risk intelligence platform built on Google Cloud.
π Application
https://risksense-ai-789818308989.asia-south1.run.app/
Every day, millions of people make outdoor decisions based on incomplete information.
They check:
- π¦ Weather apps
- π« Air Quality apps
- π₯ Wildfire alerts
- π Earthquake reports
- π° Local news
RiskSense AI combines all these sources into one intelligent decision-support platform that answers a single question:
"Is it safe to go outside?"
The platform collects live environmental data, processes it through an explainable risk engine, predicts future conditions using Machine Learning, and presents everything in an interactive dashboard with a unified 0β100 Environmental Risk Score.
The application is fully deployed on Google Cloud Run and is publicly accessible through the live demo.
People currently rely on multiple disconnected applications to determine outdoor safety.
RiskSense AI eliminates this fragmentation by combining:
- Weather
- Air Quality
- Wildfires
- Volcanoes
- Earthquakes
- Severe Storms
into a single environmental intelligence platform with actionable recommendations.
RiskSense AI helps:
- πΆ Daily commuters
- π Runners & cyclists
- π¨βπ©βπ§ Parents planning outdoor activities
- πͺ Event organizers
βοΈ Travelers- π΄ Elderly & respiratory-sensitive individuals
Instead of checking several apps, users receive one clear recommendation within seconds.
- π Worldwide location search
β οΈ Unified 0β100 Environmental Risk Score- π₯ Multi-hazard monitoring
- π« Air Quality Dashboard
- π¦ Live Weather Monitoring
- π Interactive Hazard Map
- π 6-hour & 12-hour Machine Learning Forecast
- π€ Gemini-powered AI explanations
- β‘ Live pipeline progress (Server-Sent Events)
- βοΈ Google Cloud deployment
- π Interactive dashboard with charts and maps
- User searches for any location.
- The application geocodes the location.
- Environmental data is collected from NASA EONET, OpenWeatherMap, and USGS.
- Data is cleaned, validated, and transformed.
- The risk engine calculates a 0β100 environmental risk score.
- A Random Forest model predicts the next 6-hour and 12-hour risk.
- Gemini generates a natural-language explanation.
- Results are displayed on an interactive dashboard.
| Source | Data |
|---|---|
| NASA EONET | Wildfires, Volcanoes, Storms, Natural Hazards |
| OpenWeatherMap | Weather Forecast & Air Quality |
| USGS | Earthquake Data |
| Nominatim (OpenStreetMap) | Worldwide Geocoding |
flowchart TD
A[User Search]
--> B[Nominatim]
B --> C[NASA EONET]
B --> D[OpenWeatherMap]
B --> E[USGS]
C --> F[Data Ingestion]
D --> F
E --> F
F --> G[Cloud Storage]
G --> H[BigQuery]
H --> I[Risk Engine]
I --> J[Random Forest]
J --> K[Gemini]
K --> L[FastAPI Dashboard]
L --> M[Cloud Run]
- Cloud Run
- BigQuery
- Cloud Storage
- Gemini API
- Random Forest Regression
- Scikit-learn
- Python
- FastAPI
- Uvicorn
- Jinja2
- Tailwind CSS
- Plotly
- Leaflet
flowchart LR
A["π€ User<br/>Search Location"]
--> B["π Geocoding"]
--> C["π¦οΈ Weather
π«οΈ Air Quality
π₯ Hazards
π Earthquakes"]
--> D["βοΈ Cloud Storage"]
--> E["π BigQuery"]
--> F["π― Risk Scoring
0β100"]
--> H["π Random Forest
6h & 12h Forecast"]
--> I["π€ Gemini AI
Recommendation"]
--> J["π Interactive Dashboard"]
project-root/
β
βββ configs/
βββ data/
βββ Images/
βββ models/
βββ sql/
βββ src/
β βββ api/ # FastAPI routes & templates
β βββ dashboard/ # Charts & visualization
β βββ explain/ # Gemini AI integration
β βββ features/ # Feature engineering
β βββ ingestion/ # API connectors (EONET, OWM, USGS)
β βββ model/ # ML forecasting
β βββ transform/ # Data transformation
β βββ database.py # DuckDB layer
β βββ database_bq.py # BigQuery layer
βββ .dockerignore
βββ .env.example
βββ .gcloudignore
βββ .gitignore
βββ Dockerfile
βββ requirements.txt
βββ start_server.py
βββ README.md
| Endpoint | Description |
|---|---|
| GET / | Dashboard |
| GET /map | Interactive Hazard Map |
| GET /forecast | Risk Forecast |
| GET /explanation | AI Recommendation |
| GET /benchmark | Performance Comparison |
| GET /api/current | Current Risk Score |
| GET /api/forecast | Forecast JSON |
| POST /api/refresh | Refresh Environmental Pipeline |
| GET /api/refresh/stream | Live Pipeline Progress |
RiskSense AI is fully deployed on Google Cloud Run.
Google Cloud services used:
- β Cloud Run
- β BigQuery
- β Cloud Storage
- β Gemini API
The application automatically provisions datasets, stores processed environmental data in BigQuery and Cloud Storage, and scales serverlessly based on user demand.
RiskSense AI is deployed on Google Cloud Run (serverless containers without GPU access). For this reason, BigQuery handles large-scale data processing natively β parallelizing queries across thousands of slots without hardware dependencies.
The codebase includes optional NVIDIA RAPIDS cuDF integration for GPU-accelerated feature engineering when running in GPU-equipped environments (e.g., local workstations or GKE with GPU nodes), but in the production Cloud Run deployment, BigQuery serves as the scalable compute layer.
β Real-world problem
β Decision-support application
β Multi-source environmental analytics
β Machine Learning forecasting
β Explainable AI recommendations
β Google Cloud native deployment
- Mobile application
- Personalized alerts
- Historical trend analytics
- Vertex AI integration
- IoT sensor support
- Real-time streaming updates
- User authentication
- Multi-language AI recommendations
This project was developed as part of the Gen AI Academy APAC Edition Prototype Submission and is intended for educational, research, and demonstration purposes.





