CrisisFlow is an AI-powered emergency response management system that simulates disaster response scenarios by intelligently prioritizing incidents, allocating emergency teams, and tracking response workflows.
The project demonstrates AI-assisted decision making, backend API development, frontend visualization, structured inference pipelines, and real-time emergency response simulation.
https://huggingface.co/spaces/SiddiquaFathima/crisisflow
https://github.com/siddiquafathima/crisisflow
Emergency response requires quick, accurate, and explainable decision-making. CrisisFlow provides an AI-assisted environment that helps emergency coordinators:
- Prioritize emergency incidents
- Allocate available response teams
- Track incident status
- Simulate disaster management workflows
- Visualize incident handling in real time
The project combines AI decision logic with a modern web interface and REST API.
- π¨ AI-assisted emergency response workflow
- π Incident management dashboard
- π Intelligent emergency team allocation
- β‘ Priority-based incident handling
- π Explainable inference logs
- π Multi-incident simulation
- π REST API powered by FastAPI
- π» Interactive frontend using Next.js
- π Real-time response tracking
- π§© Modular and extensible architecture
User
β
βΌ
Next.js Frontend (React)
β
βΌ
FastAPI REST API
β
βΌ
AI Inference Engine
β
βΌ
Incident Decision Logic
β
βΌ
Emergency Response Simulation
- Python
- JavaScript
- HTML
- CSS
- FastAPI
- Uvicorn
- Next.js
- React
- Tailwind CSS
- OpenAI Compatible APIs
- Prompt-based Decision Workflow
- Rule-based Inference Engine
- Hugging Face Spaces
- GitHub
- Git
- GitHub
- VS Code
crisisflow/
β
βββ backend/
β βββ main.py
β βββ routes/
β βββ models/
β βββ utils/
β
βββ frontend/
β βββ app/
β βββ components/
β βββ public/
β
βββ inference.py
βββ requirements.txt
βββ README.md
βββ images/
git clone https://github.com/siddiquafathima/crisisflow.git
cd crisisflowpython -m venv .venvWindows
.venv\Scripts\activateLinux / Mac
source .venv/bin/activatepip install -r requirements.txtuvicorn backend.main:app --reloadcd frontend
npm install
npm run devpython inference.pyAfter starting the backend, open:
http://127.0.0.1:8000/docs
FastAPI automatically generates interactive Swagger documentation for testing API endpoints.
The inference engine follows a structured emergency response workflow:
- Inspect Incident
- Verify Incident
- Assign Response Team
- Escalate Critical Emergencies (if required)
- Mark Incident Resolved
- Generate Explainable Logs
This workflow enables transparent and reproducible emergency decision-making.
[START] task=task_easy_apartment_fire
β
Inspect Incident
β
Verify Incident
β
Assign Team
β
Resolve Incident
β
Success
The inference engine logs every decision step, making the workflow transparent and easy to analyze.
This project was independently designed and developed by me.
Key contributions include:
- Designed the overall project architecture
- Developed the FastAPI backend
- Built the AI inference workflow
- Implemented emergency response decision logic
- Developed the Next.js frontend dashboard
- Integrated backend APIs with the frontend
- Deployed the project on Hugging Face Spaces
- Created comprehensive project documentation
Through this project, I gained practical experience in:
- Full Stack Development
- FastAPI
- REST API Design
- AI Workflow Design
- Frontend Integration
- Deployment
- Git & GitHub
- Software Architecture
- Explainable AI Workflows
Potential future improvements include:
- Reinforcement Learning for dispatch optimization
- Real-time GIS mapping
- Multi-agent emergency coordination
- Live notification system
- Voice-assisted emergency reporting
- Analytics dashboard
- Historical incident analysis
- AI-powered risk prediction
Contributions, suggestions, and improvements are welcome.
- Fork the repository
- Create a new branch
- Commit your changes
- Push the branch
- Open a Pull Request
This project is released under the MIT License.
Siddiqua Fathima
Master of Computer Applications (MCA)
AI | Machine Learning | Computer Vision | Full Stack Development
GitHub: https://github.com/siddiquafathima
Hugging Face: https://huggingface.co/SiddiquaFathima
β If you found this project useful, consider giving it a Star on GitHub.




