Skip to content

Omranjan110/ReliefLink-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReliefLink AI – Multi-Agent Disaster Coordination Platform

Track Stack

ReliefLink AI is an AI-powered emergency management and response platform designed to orchestrate coordination during natural disasters (floods, earthquakes, cyclones). Built using a multi-agent framework powered by Google Gemini API, it bridges the communication gap between citizens in distress, local volunteer networks, relief shelter managers, and rescue authorities.


📷 App UI Dashboard Preview

ReliefLink AI Dashboard


🛠️ The Challenge & Solution

During crises, communication channels become overloaded and information is scattered. Citizens don't know where to go, authorities struggle to prioritize calls, and volunteers lack navigation routes.

ReliefLink AI deploys 7 Specialized AI Agents operating inside a "Coordination Chamber" to ingest SOS details, prioritize incidents, provide instant medical first-aid guidance, map safe routes, allocate shelter resources, and dispatch volunteers—all in real-time.


🤖 The Multi-Agent Orchestration Flow

When a citizen broadcasts an SOS trigger, the backend launches a coordinated thought cycle among these agents:

graph TD
    SOS[SOS Distress Signal Received] --> CA[Citizen Agent: Extract details & urgency]
    CA --> RA[Rescue Agent: Triages danger & sets priority Critical/High]
    RA --> MA[Medical Agent: Compiles immediate First-Aid advisory]
    MA --> NA[Navigation Agent: Maps safe paths avoiding waterlogged roads]
    NA --> ResA[Resource Agent: Allocates nearest shelter & reserves capacity]
    ResA --> VA[Volunteer Agent: Dispatches closest available volunteer]
    VA --> CommA[Communication Agent: Translates alert to Hindi/English for the citizen]
Loading
  1. Citizen Agent: Ingests the raw SOS (text/speech), extracts metadata, and acknowledges receipt.
  2. Rescue Agent: Assesses danger level and sets urgency status.
  3. Medical Agent: Analyzes the hazard and injects emergency first-aid protocols.
  4. Navigation Agent: Calculates safe routes to shelters, avoiding local hazards (e.g. waterlogged subways in Mumbai).
  5. Resource Agent: Checks shelters' occupancy and locks resource inventory.
  6. Volunteer Agent: Matches and dispatches the closest active volunteer using GPS distance calculations.
  7. Communication Agent: Translates the coordinated instructions into local languages (English & Hindi) for the citizen, and sends a technical report to the authorities.

✨ Features

  • Multi-Agent Coordination Chamber: Stream logs showing real-time agent reasoning processes.
  • Interactive Live Operations Map: Displays active SOS signals (🔴), safe shelters (🔵), and active volunteer responders (🟢) via Leaflet.js (OpenStreetMap).
  • Citizen SOS Console: Broadcast SOS, select category, map pin-pointing, and voice simulation.
  • Volunteer Duty Hub: Self-registration console, coordinate tracker, active dispatch route view, and status updates.
  • Authority Dashboard: Statistics overview cards, shelter occupancy metrics, and incident resolution control.

💻 Tech Stack

  • AI Reasoning Engine: Gemini API (gemini-2.5-flash)
  • Backend Framework: FastAPI (Python 3.13)
  • ORM & Database: SQLAlchemy & SQLite (local file)
  • Frontend Web App: React 19, Vite, Lucide React (Icons)
  • Mapping Library: Leaflet.js (React Leaflet)
  • Styling: Custom Vanilla CSS (Glassmorphism & Dark Mode)

🚀 How to Run Locally

Prerequisites

  • Python 3.10+
  • Node.js v18+ & npm

1. Run Backend Server

Navigate to the backend directory, set up your Python environment, and start the FastAPI application:

cd backend

# Create virtual environment
python -m venv .venv

# Activate virtual environment (Windows)
.venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Start backend (Runs on http://localhost:8000)
python main.py

Note: Create a .env file in the backend/ directory and configure your GEMINI_API_KEY to enable real Gemini agent responses. The system will fall back to smart local mock agent simulation if no key is supplied.

2. Run Frontend Web App

Navigate to the frontend directory and start the Vite React dev server:

cd frontend

# Install packages
npm install

# Start frontend (Runs on http://localhost:5173/)
npm run dev

Open your browser and navigate to http://localhost:5173/ to access the ReliefLink AI Platform.

About

An AI-powered multi-agent emergency disaster coordination platform built with Google Gemini, React, and FastAPI.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages