Skip to content
S

SurgeSense

Be prepared for the surge before it strikes

Created on 16th October 2025

•

S

SurgeSense

Be prepared for the surge before it strikes

Description of your solution

We propose an autonomous AI agent to manage unpredictable patient surges in hospitals during festivals, pollution spikes, or epidemics. The system begins with a multi-source data pipeline, collecting hospital admissions, environmental metrics (AQI, temperature, humidity), and event/festival calendars, which are preprocessed and transformed into engineered features such as rolling averages, lag variables, and day-of-week flags. Patient load is forecasted using a hybrid approach: XGBoost handles tabular features for fast, accurate short-term predictions, while LSTM and Temporal Fusion Transformer (TFT) capture complex temporal dependencies and long-term trends with interpretable attention-based insights. TFT’s multi-horizon forecasting capability further enhances surge prediction accuracy by integrating static, known future, and observed past variables while providing explainability on key temporal and feature-level drivers. Forecasts feed into a Python-based rule engine, which translates predicted surges into actionable recommendations, including staff allocation, supply adjustments, and automated patient advisories. A reinforcement learning module optionally optimizes these decisions over time, balancing staffing, inventory, and patient service efficiency. To generate contextually accurate patient messages, the system integrates RAG (Retrieval-Augmented Generation) to reduce hallucinations and NLP transformers to produce concise, actionable advisories. A decoder module converts model outputs into structured actions, and LangGraph orchestrates the end-to-end workflow, automating data ingestion, forecasting, decision-making, message generation, alert delivery, and logging. A dashboard (Streamlit/Dash) visualizes predictions, recommendations, and alerts, while a feedback loop continuously updates models and rules, and optional SHAP-based explainability highlights the factors driving surge predictions. This architecture ensures a robust, autonomous, and interpretable system capable of proactive, data-driven hospital operations.

Tracks Applied (1)

Healthtech: Manage unpredictable surges in patients during festivals, pollution spikes, or epidemics with an AI agent that autonomously analyzes data and recommends staffing, supply, and patient advisory actions in advance.

Our project directly addresses the problem of managing unpredictable patient surges during festivals, pollution spikes, ...Read More

Discussion

Builders also viewed

See more projects on Devfolio