Multi-Model AI Agent for Health Diagnostics: A LangGraph-Orchestrated Pipeline for Medical Report Analysis with Retrieval-Augmented Generation
Abstract
Medical laboratory reports carry dense clinical data that both physicians and patients struggle to interpret efficiently.
Clinicians need clear pattern recognition across test values to inform diagnosis and care, while patients need accessible
explanations in daily used language. Existing tools either fail when report formats change or rely on a single AI model with no
mechanism to validate medical accuracy. This paper presents a multi-model AI pipeline that ingests lab reports as scanned
images or PDFs, extracts clinical values through OCR and AI-based parsing, and benchmarks them against standard reference
ranges. Each extracted value passes through three sequential AI models to cross-check interpretations and reduce single-model
error. The system produces a daily used language health summary with context-specific observations, and exposes a retrievalaugmented generation (RAG) chat layer that allows users to query their own report in natural language. The pipeline runs on
FastAPI, LangGraph, Groq LPU, and FAISS, completing end-to-end processing of a standard Complete Blood Count (CBC)
report in 15 to 30 seconds.
Read the paper
Related studies
- Animal models of schizophrenia
- Retrieval Augmented Visual Question Answering with Outside Knowledge
- Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
- Understand What LLM Needs: Dual Preference Alignment for Retrieval-Augmented Generation
- Retrieval-Augmented Embodied Agents
- Retrieving, Rethinking and Revising: The Chain-of-Verification Can Improve Retrieval Augmented Generation
Go deeper in Evidence Hub
Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.