MedHarnessBench: A Unified Benchmark for Healthcare Agent Evaluation
Organizations: The University of Hong Kong · The Hong Kong University of Science and Technology (Guangzhou)
Abstract
Healthcare agents must transform longitudinal clinical evidence into reliable actions through heterogeneous tools and stateful workflows, conditions under which model-centric systems may lose context, misuse tools, fail to verify consequential transitions, or cross authorization boundaries. Existing medical-agent benchmarks primarily emphasize terminal task outcomes, making it difficult to determine whether execution failures arise from the agent model, the runtime harness, or their interaction. We present the Medical Harness Protocol, an outcome-preserving framework that independently evaluates seven healthcare-specific process dimensions: Care Action Fulfillment, Clinical Resource Competence, Patient-Evidence Alignment, Clinical Workflow Continuity, Clinical Auditability, Closed-Loop Verification, and Clinical Conduct Boundaries. A normalized intervention trace further tracks whether runtime support is available, activated, delivered, adopted by the agent, and propagated into subsequent behavior. We instantiate the protocol as MedHarnessBench, comprising 342 executable tasks across FHIR/EHR operations, healthcare-administration interfaces, and multimodal clinical tools. Across more than 16,000 controlled task executions, MedHarness yields broad improvements in terminal task success, intermediate subtask completion, and healthcare-specific process quality. We further evaluate MedHarness against multiple general-purpose harnesses and use controlled single-fault perturbations to verify the sensitivity and discrimination of the seven-dimensional evaluation. These results demonstrate that healthcare-specific runtime support can substantially improve both task completion and execution quality, while revealing failures that terminal outcomes alone cannot capture. Code and resources are available at https://github.com/Tomry1114/Awesome-Agent-Harness-for-Healthcare.
Figures & tables
| Benchmark | #Tasks | Execution setting | Harness demands |
|---|---|---|---|
| PhysicianBench | 100 | FHIR API; clinical retrieval, ordering, and documentation | Evidence grounding; structured writes; authorization; write verification |
| HealthAdminBench | 135 | Clinical GUI; prior authorization, appeals, and submission | State tracking; field completion; recovery; submission verification |
| MedCTA | 107 | Multimodal tools; image and report analysis, retrieval, and calculation | Tool selection; argument validity; evidence integration; result use |
| Total | 342 | Three executable healthcare settings | Process control across API, GUI, and multimodal workflows |
| Category | Dimension | Operational focus |
| Efficiency | Care Action Fulfillment | Completion of required care actions to their intended state. |
| Clinical Resource Competence | Authorized, semantically valid, and productive use of clinical resources. | |
| Patient–Evidence Alignment | Acquisition of required evidence and binding to the intended clinical subject. | |
| Clinical Workflow Continuity | Ordered workflow progression, recovery from failed obligations, and appropriate termination. | |
| Safety | Clinical Auditability | Reconstructability of execution state, failures, recovery, and reliability. |
| Closed-Loop Verification | Confirmation of decision-critical preconditions and post-action state changes. |
| Native | Medical Harness | |||||||||||||||||
| Model | Pass@3 | Subtask | F | R | E | W | A | V | B | Pass@3 | Subtask | F | R | E | W | A | V | B |
| HealthAdminBench ( ) | ||||||||||||||||||
| Claude Sonnet 5 | 0.341 | 0.794 | 0.363 | 0.805 | 0.917 | 0.946 | 0.622 | 0.942 | 0.912 | 0.649 | 0.615 | |||||||
| GPT-5.4 | 0.774 | 0.105 | 0.633 | 0.868 | 0.913 | 0.604 | 0.902 | 0.906 | 0.589 | 0.670 | ||||||||
| Qwen3.7-Max | 0.920 | 0.481 | 0.786 | 0.944 | 0.934 | 0.637 | 0.896 | 0.906 | 0.677 | 0.739 | ||||||||
| GPT-5.5 | 0.922 | 0.727 | 0.962 | 0.389 | 0.267 | 0.792 | 0.937 | 0.963 | 0.821 | 0.964 | 0.912 | 0.701 | 0.756 | |||||
| Method | Pass@3 | Subtask | F | R | E | W | A | V | B | Avg. |
| PhysicianBench ( ) | ||||||||||
| Native | ||||||||||
| MedHarness | 0.720 | 0.963 | 0.908 | 0.946 | 0.800 | 0.921 | 0.968 | 0.390 | 0.796 | |
| Claude Code | 0.748 | |||||||||
| NeMo Guardrails | ||||||||||
| OpenAI Agents SDK | ||||||||||
| Dim. | Injected failure | Example transformation |
|---|---|---|
| F | Incomplete care action | Remove evidence that an applicable care action or required artifact was completed while preserving the surrounding execution trace. |
| R | Resource-use failure | Corrupt the selected clinical resource, authorization state, parameter semantics, or use of the returned result while leaving the intended task unchanged. |
| E | Evidence misalignment | Remove required evidence or alter its subject binding such that the evidence no longer supports the current patient, state, or decision. |
| W | Workflow discontinuity | Remove evidence required to maintain valid progression, recovery, readiness, or termination across successive workflow states. |
| A | Missing audit evidence | Remove state, failure, recovery, provenance, or reliability evidence required to reconstruct the execution and its consequential decisions. |
| V | Missing closed-loop verification | Remove an applicable precondition confirmation or post-action verification while preserving the corresponding action itself. |
| Dimension | Target drop (95% CI) | Selectivity margin (95% CI) |
|---|---|---|
| Care Action Fulfillment (F) | 0.373 [0.302, 0.440] | 0.326 [0.258, 0.387] |
| Clinical Resource Competence (R) | 0.087 [0.071, 0.104] | 0.086 [0.066, 0.105] |
| Patient–Evidence Alignment (E) | 0.109 [0.067, 0.155] | 0.087 [0.042, 0.143] |
| Clinical Workflow Continuity (W) | 0.160 [0.132, 0.186] | 0.168 [0.134, 0.201] |
| Clinical Auditability (A) | 0.302 [0.262, 0.340] | 0.285 [0.243, 0.324] |
| Closed-Loop Verification (V) | 0.095 [0.090, 0.101] | 0.092 [0.084, 0.100] |
AI Agent Evaluation
AI agent evaluation measures whether tool-using systems complete tasks reliably, safely, and efficiently across interactive settings.
See all 525 papers