A preventive health coaching system for hypertension and type 2 diabetes risk assessment, designed for low-resource African settings.
# HEALTH-BRIDGE AI
A preventive health coaching system for hypertension and type 2 diabetes risk assessment, designed for low-resource African settings.
**Live Demo:**
healthbridge-ai.netlify.app | Firebase Hosting
## Overview
Health-Bridge AI combines a FastAPI backend with a React frontend, featuring a multi-agent architecture powered by CrewAI and RAG (Retrieval-Augmented Generation) using ChromaDB. The system provides personalized health guidance while considering social determinants of health (SDOH) constraints.
Key capabilities:
- **Multi-turn intake** with smart question generation and 3-layer field extraction (Semantic Matcher -> LLM -> Regex)
- **5 specialized AI agents** for risk assessment, constraints analysis, habit planning, and safety review
- **Parallel agent execution** for faster intake processing (Risk + SDOH run concurrently)
- **Corrective RAG** with query rewriting and a critic layer for guideline retrieval accuracy
- **Graph-style memory** with entity extraction, temporal pattern detection, and relationship tracking
- **Opik tracing** for observability across the full agent pipeline
- **Golden dataset evaluation** with 45 test cases across 3 tiers
## Architecture
```
+-----------------------------------------------------------------+
| FRONTEND (React) |
| +----------+ +----------+ +----------+ +------------------+ |
| | Login | |Onboarding| | Chat | | Dashboard | |
| +----------+ +----------+ +----------+ +------------------+ |
| | Firebase Auth | |
+-----------------------------------------------------------------+
| REST API |
+-----------------------------------------------------------------+
| BACKEND (FastAPI) |
| +------------------------------------------------------------+ |
| | Session Manager (Orchestration) | |
| | Conv …