mims-harvard/ATHENA-R1-Qwen3-8B
ATHENA-R1-Qwen3-8B
Project page: athena.openscientist.ai · Code: mims-harvard/ATHENA
ATHENA-R1 is an AI agent for treatment reasoning, trained through reinforcement learning over a universe of 212 biomedical tools. It performs multi-step reasoning — identifying what evidence is needed, selecting tools, and incorporating retrieved evidence into subsequent steps — with tool calls served through the ToolUniverse (FDA labeling, Open Targets, ChEMBL, EuropePMC, etc.).
Given a clinical question, the model performs multi-step tool calls, synthesises the evidence, and returns a free-form answer grounded in authoritative biomedical sources.
Quick start
The model is exposed through the `athena-r1` Python package, which handles the tool-call protocol and conversation management. Two services back the agent: vLLM (model server) and ToolUniverse (tool server).
# 1. Install
pip install "athena-r1[vllm,web] @ git+https://github.com/mims-harvard/ATHENA.git"
# 2. Start backing services
bash scripts/launch_tooluniverse.sh # → :8080
bash scripts/launch_vllm.sh 8000 mims-harvard/ATHENA-R1-Qwen3-8B
# 3. Run the agent (Python)
python -c "
from athena_r1 import AthenaR1
agent = AthenaR1(
model='mims-harvard/ATHENA-R1-Qwen3-8B',
vllm_url='http://0.0.0.0:8000/v1',
tool_server='http://0.0.0.0:8080',
)
print(agent.answer('Dose adjustment for metformin in CKD eGFR 35?').answer)
"For a chat UI (bundled browser demo with live-streamed reasoning):
python web/agui_server.py # → http://localhost:8090/ (AG-UI server + demo)For an OpenAI-compatible API endpoint:
python web/openai_server.py # → http://localhost:9000/v1/chat/completionsInference settings (paper-canonical)
Evaluation
Open-ended setting: each question is answered free-form, then mapped to one of the original answer choices.
ATHENA-R1 exceeds GPT-5 by 17.8 points on DrugPC and 10.7 on TreatmentPC.
See the `docs/eval_results.md` file in the code repo for the full benchmark tables and the two-level self-learning ablation.
How it works
- Stage 1 — multi-step tool reasoning: the model emits
<tool_call>...</tool_call>blocks; the runtime dispatches them through ToolUniverse, appends results to the conversation, and re-prompts. Loop continues until[FinalAnswer]ormax_roundis hit. - Stage 2 (eval only) — option mapping: a separate function call maps the free-form answer to an MCQ letter. Two backends supported: the local ATHENA-R1 model (self-extraction) or Azure GPT-5 (external reader).
Intended use
ATHENA-R1 is a research artifact for treatment-reasoning research and decision support. It is not a medical device and must not be used for direct patient care.
Citation
@article{gao2026athena,
title = {An AI agent for treatment reasoning over a biomedical tool universe},
author = {Gao, Shanghua and ... and Zitnik, Marinka},
journal = {arXiv preprint},
year = {2026}
}License
MIT.
Acknowledgements
Evidence retrieval is powered by ToolUniverse, a library of curated biomedical tools.
