Introduction

HealthWise is an innovative multi-agent healthcare system designed to serve two primary functions:

  1. Trusted Health Assistant: A chatbot that provides the public with reliable health information sourced exclusively from trusted websites.
  2. Outbreak Detector: An analysis panel for health authorities, offering data visualizations and forecasting to aid in early outbreak detection and monitoring.

Key Features

  • Multi-Agent System: Built using LangGraph and LangChain, enabling complex interactions and workflows between different agents within the system.
  • Grounded Responses: The chatbot’s responses are strictly grounded in information from reputable sources, including:
    • nhs.uk
    • medlineplus.gov
    • cdc.gov
  • Outbreak Detection and Analysis: The health authorities’ panel provides tools for analyzing trends, visualizing data, and forecasting potential outbreaks.
  • Secure Data Handling: The system is designed with a clear separation of concerns:
    • The public chatbot has write-only access to the database, ensuring data integrity.
    • The health authorities’ panel has read-only access, preventing unauthorized modification of data.

Tech Stack

  • Backend: Python, FastAPI, LangGraph, LangChain
  • Frontend: Streamlit
  • Large Language Models (LLMs): OpenAI (gpt-4o and gpt-4o-mini)
  • Search Engine: Tavily
  • Data Visualization: Plotly
  • Database: MongoDB
  • Virtual Environment: Poetry

Security

  • Role-Based Access Control: The system enforces strict access control, separating the public-facing chatbot from the restricted health authorities’ panel.
  • Data Integrity: The chatbot’s write-only access and the panel’s read-only access ensure data integrity and prevent unauthorized modifications.