medagent
An LLM agent that queries a healthcare database, generates charts, and cites medical guidelines — all in one reasoning loop.
The agent works across four datasets — two real, one synthetic, and one public reference corpus. Currently active: Uch
Real out-patient morbidity records from 27 clinics at UCH Ibadan. Each row reports case counts by (clinic, diagnosis, gender, age band).
De-identified ICU records for 100 real patients. Includes admissions, diagnoses (ICD-9/10), lab results, prescriptions, ICU stays, and vital signs.
Fully synthetic records for 30,600 patients across 8 hospitals and 7 years. Used for development and testing without privacy concerns.
WHO malaria treatment guidelines indexed for retrieval-augmented generation. The agent cites specific pages when answering medical questions.
| Question type | Tools used | Example |
|---|---|---|
| Data lookup | sql | "How many patients are there?" |
| Chart generation | sql python | "Plot admissions by hospital" |
| Guideline lookup | rag_search | "What is the WHO treatment for malaria?" |
| Compare data to guidelines | sql rag_search | "Compare our malaria numbers to WHO" |