bowang-lab/MedRAX

MedRAX: Medical Reasoning Agent for Chest X-ray - ICML 2025

What it solves

MedRAX addresses the fragmentation of specialized chest X-ray (CXR) analysis tools. While many high-quality models exist for specific tasks like classification or segmentation, they typically operate in isolation. MedRAX acts as a unified agent that coordinates these diverse tools to answer complex medical queries without requiring additional training.

How it works

Built on LangChain and LangGraph, MedRAX uses a large language model (like GPT-4o) as a central "brain" to orchestrate a suite of specialized medical AI tools. When a user submits a query, the agent dynamically selects and triggers the appropriate tools—such as those for anatomical segmentation, disease classification, or visual report generation—to perform multi-step reasoning and deliver a comprehensive analysis.

Who it’s for

This framework is designed for researchers and developers working on automated medical imaging systems who need a modular, extensible way to integrate multiple AI models into a single clinical workflow.

Highlights

  • Unified framework that integrates state-of-the-art tools for visual QA, segmentation, grounding, report generation, and disease classification.
  • Includes ChestAgentBench, a benchmark of 2,500 expert-curated clinical queries across 7 categories to evaluate multi-step reasoning.
  • Modular, tool-agnostic architecture allowing users to selectively initialize only the capabilities they need.
  • Supports both local and cloud-based deployments with memory-efficient options like 8-bit and 4-bit quantization.
  • Production-ready interface provided via Gradio.

Related

  • Project
  • Project
  • Project
  • Project