Papers › MedRAX: Medical Reasoning Agent for Chest X-ray

MedRAX: Medical Reasoning Agent for Chest X-ray

4 Feb 2025arXiv:2502.02673archive 2025-07-28

Adibvafa Fallahpour, Jun Ma, Alif Munim, Hongwei Lyu, Bo wang

Chest X-rays (CXRs) play an integral role in driving critical decisions in disease management and patient care. While recent innovations have led to specialized models for various CXR interpretation tasks, these solutions often operate in isolation, limiting their practical utility in clinical practice. We present MedRAX, the first versatile AI agent that seamlessly integrates state-of-the-art CXR analysis tools and multimodal large language models into a unified framework. MedRAX dynamically leverages these models to address complex medical queries without requiring additional training. To rigorously evaluate its capabilities, we introduce ChestAgentBench, a comprehensive benchmark containing 2,500 complex medical queries across 7 diverse categories. Our experiments demonstrate that MedRAX achieves state-of-the-art performance compared to both open-source and proprietary models, representing a significant step toward the practical deployment of automated CXR interpretation systems. Data and code have been publicly available at https://github.com/bowang-lab/MedRAX

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2502.02673")

Code

Syntology Ran 9 of 13 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 7 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bowang-lab/medrax officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 9 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
7ran
4unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from bowang-lab/medrax. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compare_messages_gen bowang-lab/medrax/medrax/llava/eval/eval_multimodal_chat_gpt_score.py official repository ran Apache-2.0 (permissive) · fcb74c8a86642376 · report
conv_to_str bowang-lab/medrax/medrax/llava/eval/eval_multimodal_chat_gpt_score.py official repository ran Apache-2.0 (permissive) · c7eacf8297119313 · report
expand2square bowang-lab/medrax/medrax/llava/mm_utils.py official repository ran Apache-2.0 (permissive) · 908505ed68ff4871 · report
get_chunk bowang-lab/medrax/medrax/llava/eval/model_vqa.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 42a46570620cd9fa · report
load_image_from_base64 bowang-lab/medrax/medrax/llava/mm_utils.py official repository ran Apache-2.0 (permissive) · c3ee9d07c900dd55 · report
process_images bowang-lab/medrax/medrax/llava/mm_utils.py official repository ran Apache-2.0 (permissive) · f0f8c9c5a77c9b5b · report
split_list bowang-lab/medrax/medrax/llava/eval/model_vqa.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 076c252c52cbb161 · report
sum_list_list bowang-lab/medrax/medrax/llava/eval/eval_multimodal_chat_gpt_score.py official repository ran Apache-2.0 (permissive) · 90719ea4ae0ed586 · report
violates_moderation bowang-lab/medrax/medrax/llava/utils.py official repository ran Apache-2.0 (permissive) · d4ba997957e75202 · report
load_prompts_from_file bowang-lab/medrax/medrax/utils/utils.py official repository unverified Apache-2.0 (permissive) · ac5d4e8611111ae8 · report
load_system_prompt bowang-lab/medrax/medrax/utils/utils.py official repository unverified Apache-2.0 (permissive) · a76ec818e2e53ab4 · report
load_tool_prompts bowang-lab/medrax/medrax/utils/utils.py official repository unverified Apache-2.0 (permissive) · c097d8eeb37f0b88 · report
pretty_print_semaphore bowang-lab/medrax/medrax/llava/utils.py official repository unverified Apache-2.0 (permissive) · 37899f22fb191b37 · report

Tasks

AI AgentManagement

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections