Offline-first AI assistant for emergency responders — powered by Gemma 4
DisasterMind runs entirely on your local device using Ollama. No internet connection required after setup. Designed for field use in disaster zones, remote locations, and environments where privacy and reliability are non-negotiable.
- General assistant — Ask anything about emergency protocols, medical procedures, or disaster response
- START Triage — Input casualty numbers, get a prioritised action plan in seconds
- Resource allocation — Advice on deploying limited personnel and equipment effectively
- SITREP generator — Turn raw field notes into command-ready SALUTE situation reports
- Comms drafting — Generate evacuation notices, inter-agency messages, and press releases
Download and install from https://ollama.com
# Full capability (requires ~8GB RAM)
ollama pull gemma4:12b
# Lightweight edge version (requires ~3GB RAM)
ollama pull gemma4:2bgit clone <your-repo-url>
cd disastermind
pip install -r requirements.txtpython app.pyOpen your browser at http://localhost:8000
Edit app.py to change the model:
MODEL = "gemma4:12b" # Default — best quality
MODEL = "gemma4:2b" # Edge devices, low RAM (e.g. Raspberry Pi, tablets)User Browser
│
▼
FastAPI (app.py) ← Routing, prompt engineering, streaming
│
▼
Ollama (local daemon) ← Model runtime (runs Gemma 4 locally)
│
▼
Gemma 4 weights ← Fully local inference, no data leaves device
- Offline-first: Once pulled, runs with zero internet
- Privacy: Patient/victim data never leaves the device
- Gemma 4 multimodal: Future support for image-based scene assessment
- Edge-capable: gemma4:2b runs on consumer hardware, tablets, and Raspberry Pi
Gemma 4 Good Hackathon — Global Resilience track
Built for the Kaggle Gemma 4 Good Hackathon 2026.
MIT