Install and set up MedAgentBench
mainTo set up the MedAgentBench environment, follow these steps:
- Python Environment: Create a Conda environment with Python 3.9 and install dependencies.
- FHIR Server: Use Docker to pull and run the MedAgentBench image. The server must be running on port 8080.
- Reference Solution: Download
refsol.pyand place it atsrc/server/tasks/medagentbench/refsol.py.
Note: This repository is intended for research purposes and may not be suitable for large-scale production.
# Python setup
cd MedAgentBench
conda create -n medagentbench python=3.9
conda activate medagentbench
pip install -r requirements.txt
# Docker setup
docker pull jyxsu6/medagentbench:latest
docker tag jyxsu6/medagentbench:latest medagentbench
docker run -p 8080:8080 medagentbench