jinlab-imvr/MedAgent-Pro
Acerca de
[2026 ICLR] The official code for MedAgent_Pro
Otros proyectosWhat you can do
- Hierarchical agentic workflow for medical diagnosis
- Integrated toolset for segmentation, grounding, and visual-language reasoning
- Supports multi-modal diagnostic tasks and dynamic planning
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +3
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalMedAgent-Pro
This is the official repository for MedAgent-Pro, an agentic framework designed for evidence-based, multi-modal medical diagnosis via a reasoning-driven workflow.
Features
- Hierarchical agentic workflow for medical diagnosis
- Integrated toolset for segmentation, grounding, and visual-language reasoning
- Supports multi-modal diagnostic tasks and dynamic planning
Usage
Task-Level Planning
The main code for task-level planning can be found in Task_level.py.
Case-Level Diagnosis
The main code for case-level diagnosis can be found in Case_level.py.
Configuring VLMs
Before running the code, you need to set up your OpenAI API key or replace the default VLM in the Planner agent and qualitative analysis module with other VLMs defined in the Decider folder.
OPENAI_API_KEY = "your_api_key"
Preparing Diagnostic Tasks
Refer to the Glaucoma example for preparing diagnostic configurations.
You should prepare two JSON files:
task.json– describes the diagnostic task.toolset.json– defines the available tools.
Toolset Format
All tools should follow this function signature:
Function(image_path, save_dir, save_name)
image_path: A string or a list of image paths.save_dir: Directory where the outputs will be saved.save_name: Filename for the saved result.
Example Structure
MedAgent-Pro/
├── Glaucoma/
│ ├── task.json
│ ├── toolset.json
│ ├── ...
├── Task_level.py
├── Case_level.py
├── Decider/
└── ...
Citation
If you find this work useful, please cite our paper:
@article{wang2025medagent,
title={MedAgent-Pro: Towards Evidence-Based Multi-Modal Medical Diagnosis via Reasoning Agentic Workflow},
author={Wang, Ziyue and Wu, Junde and Cai, Linghan and Low, Chang Han and Yang, Xihong and Li, Qiaxuan and Jin, Yueming},
journal={arXiv preprint arXiv:2503.18968},
year={2025}
}
Explorar proyectos relacionados
Cargando…