Sage-Med-Harness: Scaling Medical Agents with a Co-Evolving Component Ecosystem
Jiashi Lin, Jianghan Shen, Chenyu Wang, Jie Huang, Yiling Zhou, Junzhi Ning, Lu Lu, Mouxiao Bian and 26 others
Shanghai Artificial Intelligence Laboratory
Published December 1, 2026 · on the feed December 2, 2026 · ▲ 53 · arXiv 2612.02356
The abstract
Artificial intelligence (AI) co-scientists and co-clinicians are rapidly advancing across biomedical research and clinical care. However, scaling such agents to diverse medical tasks is hindered by manual harness configuration across domain resources and runtime controls. Here we introduce Sage-Med-Harness, an open framework that builds medical agents on demand by pairing a unified component ecosystem with a co-evolving harness composer. The ecosystem standardizes over 10,000 medical components, combining open-source domain resources with runtime controls extracted from published studies. It audits each component for runnability and safety, and links dependencies, compatibility, and alternatives in a relation graph. For each task, the composer queries this graph to assemble a candidate agent, and an independent evaluator reviews trial runs to guide revisions before verified configurations return to the ecosystem for reuse. We applied Sage-Med-Harness in five case studies spanning cancer target prioritization, clinical trial analysis, viral genomics, clinical diagnosis, and digital pathology. Notably, assembled agents surpassed the per-rank best of 74 nucleotide foundation models across all five viral taxonomic ranks on ViroBench (85.8% versus 76.0% Macro-F1), and reproduced AI-based PD-L1 whole-slide scoring with 0.930 intraclass correlation against pathologist scores. More broadly, Sage-Med-Harness turns community-wide biomedical advances and verified workflows into an open, continually evolving foundation for generalist medical AI.
The Brief
2:27A short podcast summary of the paper. Written and voiced by AI.
Transcript
Sage-Med-Harness. Scaling Medical Agents with a Co-Evolving Component Ecosystem. By Jiashi Lin and thirty-three others, from the Shanghai Artificial Intelligence Laboratory. Published on the first of December.
AI co-scientists and co-clinicians are advancing quickly, across biomedical research and across clinical care. Scaling such agents to the full range of medical tasks runs into a practical obstacle, and it is not the models. It is the harness around each agent, which is configured by hand. That configuration spans domain resources on one side and runtime controls on the other. Every new task means assembling it again, and the work does not carry over on its own.
Sage-Med-Harness is an open framework that builds medical agents on demand. It pairs two things. One is a unified component ecosystem. The other is a harness composer that co-evolves with that ecosystem. The ecosystem supplies the parts, the composer assembles them for a task, and what works flows back into the ecosystem for the next task.
The ecosystem standardizes over ten thousand medical components. They combine open-source domain resources with runtime controls extracted from published studies. Each component is audited for runnability and for safety. A relation graph then links them, recording their dependencies, their compatibility, and their alternatives.
For a given task, the composer queries that graph to assemble a candidate agent. An independent evaluator reviews trial runs of the candidate and guides revisions. Once a configuration is verified, it returns to the ecosystem to be reused. That return path is what makes the evolution mutual: the composer draws on the ecosystem, and the ecosystem grows from what the composer verifies.
The framework was applied in five case studies: cancer target prioritization, clinical trial analysis, viral genomics, clinical diagnosis, and digital pathology. In viral genomics, on ViroBench, assembled agents surpassed the per-rank best of seventy-four nucleotide foundation models, at all five viral taxonomic ranks. They reached eighty-five point eight percent Macro-F1, against seventy-six percent.
In digital pathology, the framework reproduced AI-based PD-L1 whole-slide scoring, reaching an intraclass correlation of zero point nine three zero against the scores of pathologists.
A loop sits at the center. Components are gathered and checked once, agents are composed from them per task, and verified configurations become new material for later tasks. The authors present this as a way to turn community-wide biomedical advances and verified workflows into an open, continually evolving foundation for generalist medical AI.
Paper Quest · 7 chapters · about 40 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Every new medical task, the same chore: wire the agent up by hand.
You run a lab building AI helpers for medicine: one ranks cancer targets, another reads trial data, another scores pathology slides.
The road ahead
- 1 · The problem ~7 min Every new medical AI helper has to be wired up by hand, and none of that wiring carries over to the next task.
- 2 · What came before ~3 min
- 3 · The key idea ~8 min Build each medical agent on demand from a shared, audited library of parts, test it with an independent evaluator, and save what works back into the library.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Six steps: standardize parts, audit them, link them in a graph, assemble an agent from it, evaluate trial runs independently, and return verified setups.
- 6 · The experiment ~6 min You’ll guess: On ViroBench, how did the assembled agents compare with the per-rank best of 74 nucleotide foundation models across viral taxonomic ranks?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.