Dataset Viewer
The dataset viewer is not available for this dataset.
The JWT signature verification failed. Check the signing key and the algorithm.
Error code:   JWTInvalidSignature
Exception:    InvalidSignatureError
Message:      Signature verification failed
Traceback:    Traceback (most recent call last):
                File "/src/libs/libapi/src/libapi/jwt_token.py", line 286, in validate_jwt
                  decoded = jwt.decode(
                      jwt=token,
                  ...<2 lines>...
                      options=options,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 368, in decode
                  decoded = self.decode_complete(
                      jwt,
                  ...<8 lines>...
                      leeway=leeway,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 265, in decode_complete
                  decoded = self._jws.decode_complete(
                      jwt,
                  ...<3 lines>...
                      detached_payload=detached_payload,
                  )
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 270, in decode_complete
                  self._verify_signature(
                  ~~~~~~~~~~~~~~~~~~~~~~^
                      signing_input,
                      ^^^^^^^^^^^^^^
                  ...<4 lines>...
                      options=merged_options,
                      ^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 417, in _verify_signature
                  raise InvalidSignatureError("Signature verification failed")
              jwt.exceptions.InvalidSignatureError: Signature verification failed

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

AGENTEHR: Advancing Autonomous Clinical Decision-Making via Retrospective Summarization

Paper | Code

AGENTEHR is a novel benchmark designed to bridge the gap between idealized experimental settings and realistic clinical environments. Unlike previous tasks that focus on factual retrieval, AGENTEHR challenges agents to perform complex clinical decision-making—such as diagnosis and treatment planning—directly within raw, high-noise EHR databases.

💡 Key Features

  • Realistic Clinical Benchmark: Covers six core tasks (Diagnoses, Labevents, Microbiology, Prescriptions, Procedures, and Transfers) spanning the entire patient hospitalization lifecycle.
  • Toolbox MCP Server: A standardized interface providing agents access to over 19 specialized tools, including SQL execution, temporal filtering, and semantic search.
  • Retrospective Reasoning: Supports the evaluation of frameworks that re-evaluate interaction history to capture latent correlations and ensure logical coherence.
  • Experience Memory Bank: Facilitates strategies that crystallize successful approaches into an external memory bank.

📊 Benchmark Structure

AGENTEHR is organized into three experimental subsets based on MIMIC-IV and MIMIC-III to evaluate generalization and robustness:

Subset Distribution Type Description
MIMIC-IV-Common In-Distribution Primary benchmark assessing standard clinical reasoning capabilities on prevalent conditions.
MIMIC-IV-Rare Label-Shift OOD Evaluates the agent's ability to handle low-prevalence diseases where parametric knowledge is weaker.
MIMIC-III Systemic-Shift OOD Presents fundamental differences in table schema and higher recording density/noise.

⚡ Quick Start

Environment Setup

To use this benchmark with the official code, follow these steps:

git clone https://github.com/BlueZeros/AgentEHR.git
cd AgentEHR
pip install -r requirements.txt
pip install -U vllm

Database Preparation

Download the dataset from this repository. Copy the EHRAgentBench and MIMICIIIAgentBench folders into the ./data folder in your root directory of the cloned repository.

Citation

If you find our work helpful, please cite our paper:

@article{liao2026agentehr,
  title={AgentEHR: Advancing Autonomous Clinical Decision-Making via Retrospective Summarization},
  author={Yusheng Liao and Chuan Xuan and Yutong Cai and Lina Yang and Zhe Chen and Yanfeng Wang and Yu Wang},
  journal={arXiv preprint arXiv:2601.13918},
  year={2026}
}
Downloads last month
796

Paper for BlueZeros/AgentEHR-Bench