**Ghana IDP Healthcare Agent** — AI system analyzing 753 Ghana healthcare facilities to identify medical deserts, detect anomalies, and guide NGO resource allocation. Built on Databricks with LangGraph, Mosaic AI, MLflow & Delta Lake. 6 specialized agents, 170 regions scored.
# 🏥 Ghana IDP Healthcare Agent
> Bridging Medical Deserts — An Intelligent Document Parsing Agent for the Virtue Foundation Ghana Dataset
Built for the **Databricks + Accenture Hackathon 2026**
🔗 **Live Demo:**
huggingface.co
**Demo Video:**
drive.google.com
📡 **API Endpoint:** `
dbc-625f49f0-72cc.cloud.dat…`
---
## 🎯 Problem
By 2030, the world will face a shortage of over 10 million healthcare workers — not because expertise doesn't exist, but because it is not intelligently coordinated. In Ghana, skilled doctors remain disconnected from hospitals that urgently need them, and critical medical deserts go undetected.
---
## 🤖 What We Built
An Intelligent Document Parsing (IDP) agent that:
- **Extracts** medical facility capabilities from unstructured free-form text
- **Detects** anomalies and suspicious capability claims automatically
- **Maps** medical deserts across Ghana's 170 regions
- **Reasons** over workforce distribution and NGO coverage gaps
- **Plans** resource allocation for non-technical NGO planners
---
## 🏗️ Architecture
### 4-Stage LLM Extraction Pipeline
```
Stage 1: Organization Classification (NGO vs Facility)
Stage 2: Structured Field Extraction (address, contacts, type)
Stage 3: Free-form Facts (procedure, equipment, capability)
Stage 4: Medical Specialty Classification
```
### 6-Agent LangGraph System
| Agent | Role |
|-------|------|
| 🗃️ Genie Text2SQL | SQL counts & statistics |
| 🔍 Keyword Search | Facility lookup |
| 🗺️ Geospatial | Distance calculations & cold spots |
| ⚠️ Anomaly Detection | Data quality checks (Q3.1, Q4.4, Q4.8, Q4.9) |
| 🧠 Medical Reasoning | Workforce & NGO gap analysis |
| 📋 Planning | Resource allocation recommendations |
---
## 🛠️ Tech Stack
| Component | Technology |
|-----------|------------|
| Orchestration | LangGraph Multi-Agent |
| LLM | Meta …