mou11/clinical-decision-support-agent
2
๐ฅ Clinical Decision Support Agent
๐ฏ Live Demo
๐ Try it on Hugging Face Spaces
๐ Overview
A production-grade Medical AI Agent that takes patient symptoms as natural language input, searches real PubMed medical literature automatically, and generates structured clinical recommendations with citations. Built with LangGraph for agent orchestration and Groq (LLaMA 3.3 70B) for clinical reasoning.
๐ Results
๐งช Test Cases
โจ Features
- โ Real-time PubMed literature search via NCBI API
- โ LLM-powered clinical reasoning (LLaMA 3.3 70B via Groq)
- โ Structured output: conditions, tests, treatments, urgency
- โ Multi-turn conversation memory
- โ BERTScore quality evaluation
- โ Interactive Gradio web interface
๐๏ธ Architecture
Patient Symptoms โ Extract Search Query (LLM) โ Search PubMed (NCBI API) โ Generate Recommendation (LLaMA 3.3 70B) โ Format Report โ Gradio UI
๐ ๏ธ Tech Stack
๐ How to Run
- Get a free Groq API key at console.groq.com
- Clone the Space and install requirements
- Set your Groq API key as environment variable
- Run
python app.py
โ ๏ธ Medical Disclaimer
This system is for educational and research purposes only. It does not provide medical advice. Always consult a qualified healthcare professional for medical decisions.
๐ Part of Medical AI Portfolio
- โ Pneumonia Detection (ViT + Grad-CAM)
- โ Clinical Decision Support Agent (LangGraph + RAG) โ this project
- โ Medical LLM Fine-tuning (QLoRA)
- โ Medical Report Generator (Hallucination Detection + FHIR)
