Inspiration

During disasters, emergency information arrives in fragments—panic messages, images, SOS alerts—making it hard for responders to act quickly. We asked a simple question: what if AI could understand this chaos in real time and guide decisions instantly? This led us to build SARAL, with Gemini as the core incident intelligence engine, not just a chatbot.


What it does

SARAL (Smart AI-driven Response & Action Layer) transforms raw emergency reports into clear, actionable intelligence. Citizens can send SOS alerts, images, and hazard reports. Gemini analyzes multimodal inputs to classify incidents, assess severity, and recommend response actions. Authorities view everything on a real-time command dashboard with maps, triage, and AI insights.


How we built it

SARAL uses a real-time, layered architecture. A citizen web app sends reports to a Node.js backend using Socket.IO. Gemini is accessed through a secure backend proxy that performs incident analysis and returns structured JSON outputs. A centralized dashboard visualizes incidents using live geospatial mapping.


Challenges we ran into

The biggest challenge was forcing Gemini to return decision-ready, structured outputs instead of conversational responses. We also handled real-time data flow, large image uploads, and secured the Gemini API key from client-side exposure.


Accomplishments that we're proud of

  • Using Gemini as a real-time decision engine, not a chatbot
  • Building a full citizen → AI → command center workflow
  • Implementing multimodal AI analysis with live mapping

What we learned

AI is most powerful when used for decision orchestration, not just interaction. Structured AI outputs significantly reduce response time in high-pressure situations.


What's next

We plan to add offline-first reporting, deeper integration with emergency services, AI-driven resource dispatch, and voice-based multilingual reporting for accessibility.


Built With

  • cloud-ready
  • events)
  • interface
  • javascript-(es6+)-html5-css3-tailwind-css-node.js-express.js-socket.io-google-gemini-api-(gemini-3)-leaflet.js-webrtc-/-mediadevices-api-font-awesome-browser-apis-(localstorage
  • node.js
  • progressive
  • web-based
Share this project:

Updates