explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

Shanghai AI Laboratory

Sage-Med-Harness: Shanghai AI Lab Medical Agent Ecosystem With 10,857 Components

Yash ThakkerBy Yash Thakker

Published: December 2, 2026 · 8 min read

← Back to blog home

On this page

  • TL;DR
  • Why medical agents need a component economy
  • What the authors audited
  • Five case studies the paper highlights
  • GitHub workbench and sagemed-cli
  • Safety and governance questions
  • How this fits Shanghai AI Lab's Sage line
  • Practical next steps for developers
← Back to blog

Part of AI Agents

Shanghai AI Laboratory published Sage-Med-Harness on arXiv and GitHub—a co-evolving medical agent framework with 10,857 audited components, five clinical case studies, and open CC0 tooling.

add explainx.ai
go deep
Sage-Med-Harness: Shanghai AI Lab Medical Agent Ecosystem With 10,857 Components

Shanghai Artificial Intelligence Laboratory published Sage-Med-Harness on December 1, 2026, an open framework that assembles medical agents on demand from a 10,857-component ecosystem and a co-evolving harness composer. Code is on GitHub, the project homepage, and Hugging Face paper 2612.02356.

The release sits one layer above model weights: instead of shipping only another multimodal checkpoint like Sage-Med-Preview, the lab publishes how clinical and research tasks discover, audit, install, and reuse biomedical Skills, MCP servers, and runtime plugins.

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

350K+ Students Already Joined

TL;DR

table · 2 cols
ItemDetail (per paper and GitHub)
Components10,857 audited entries across 14 domains
Graph75.2k nodes, 139.0k edges (authors)
Plugins440 harness plugins, 432 from 150 papers via Paper2Plugin
ViroBench85.8% vs 76.0% Macro-F1 vs per-rank nucleotide FM bests (authors)
Pathology0.930 ICC on PD-L1 whole-slide scoring vs pathologists (authors)
CLIsagemed-cli + metaharness agent loop on DeepSeek Harness

Why medical agents need a component economy

Agent harness scaffold frame illustrating how Sage-Med-Harness assembles medical Skills and MCP toolsAgent harness scaffold frame illustrating how Sage-Med-Harness assembles medical Skills and MCP tools

Hospital pilots die in integration hell: every lab ships a PubMed skill, an imaging CLI, and a custom safety filter, but nobody maintains compatibility graphs or risk cards. IBM's RAG compositionality study already showed stacking techniques underperforms predicted gains; medical agents multiply that problem across regulated data and long-horizon tasks.

Sage-Med-Harness answers with two loops:

  1. Unified Medical Component Ecosystem — catalog Skills, MCP tools, CLIs, and harness plugins, each with audit metadata (runnability, safety flags, documentation completeness).
  2. Co-Evolving Harness Composer — for each task, query the graph, assemble a candidate agent, run sandboxed trials, revise the harness or synthesize missing components, then archive verified configs back into the pool.

That is closer to an app store for agent parts than a single oracle model—complementary to Sage-Interaction duplex frontends and Sage-A1.5 science agents.

What the authors audited

Sage-Med-Harness medical component ecosystem relation graph for agent assemblySage-Med-Harness medical component ecosystem relation graph for agent assembly Image: Shanghai AI Laboratory

The Hugging Face discussion from the Sage-Med team lists concrete audit outcomes:

  • 35.1% of components flagged for potential risks (14.2% "not recommended", 20.9% "needs confirmation"), often around poorly documented sensitive operations.
  • 23.1% of Skills failed to load in their pass—critical for buyers who assume "listed" equals "runnable."

The relation graph links dependencies, alternatives, and complements so the composer does not wire incompatible tools. Paper2Plugin mined 150 papers to mint 432 plugins, extending the catalog beyond hand-curated repos—useful for literature-heavy workflows, risky if licenses conflict.

Five case studies the paper highlights

Authors applied the framework across:

  1. Cancer target prioritization (lung B7-H3 assessment)
  2. Clinical trial analysis (ulcerative colitis trial failure)
  3. Viral genomics (ViroBench taxonomy ranks)
  4. Clinical diagnosis (staged dual cardiac amyloidosis differential)
  5. Digital pathology (PD-L1 whole-slide scoring)

ViroBench viral genomics

On ViroBench, they claim assembled agents beat the per-rank best among 74 nucleotide foundation models on all five viral taxonomic ranks, reporting 85.8% versus 76.0% Macro-F1. Independent replication should use the same rank definitions and holdout policy the paper specifies—explainx.ai has not rerun the bench.

PD-L1 digital pathology

For AI-based PD-L1 whole-slide scoring, authors report 0.930 intraclass correlation against pathologist scores—a metric regulators recognize more than raw accuracy on patch classifiers. Pair with Google CellGemma if you compare open oncology tooling stacks.

GitHub workbench and sagemed-cli

The README documents operational verbs:

table · 3 cols
CapabilityCLI entryPurpose
DiscoversearchFind components via metadata + graph
UnderstandinspectInterfaces, config, sources, quality
ConnectneighborsDependencies, alternatives, complements
Executemetaharness agentAssemble, install, run, iterate
Createcreate / create --paperMint components from requirements or PDFs
Evaluateevaluate runSix-dimension quality cards

Quick start paths include a DSH plugin bundle (sagemed-harness) and global sagemed-cli on Node.js 24.9+. The README notes sagemed-harness is not yet on npm—install from the bundled .tgz or CLI-only paths until the public package lands.

Example task flow:

bash
npm install -g sagemed-cli
sagemed-cli metaharness agent --prompt-file task.md

For natural-language one-liners (v0.2.0+):

bash
sagemed-cli metaharness "Organize lung-cancer papers into a sourced evidence table"

Install receipts live under DSH_HOME/dsh-med/receipts; install --list checks whether paths still exist without rerunning business validation—handy for CI drift detection.

The agent workbench builds on DeepSeek Harness—same family as Shanghai's duplex Sage-Interaction delegation backends. Teams new to harness ops should read LearnHarness for pedagogy patterns and Microsoft FreeHand for minimal-runtime contrasts—not because clinical stacks should drop guardrails, but because composer loops need clear separation between planning and execution.

Safety and governance questions

Medical triage sorting funnel illustrating risk tiers for audited Sage-Med catalog componentsMedical triage sorting funnel illustrating risk tiers for audited Sage-Med catalog components

Medical agents are not general chatbots. The audit flags imply more than a third of catalog entries need human confirmation before production adjacency. Operators should:

  1. Block "not recommended" components at install time.
  2. Log metaharness versions when a workflow changes— the README says reasons for revisions are retained.
  3. Map PHI flows before connecting MCP servers to live EHR sandboxes.
  4. Train reviewers via /training when hospital compliance joins engineering.

For agent misuse patterns, see CISA BOD 26-04 and AgentDog2 long-horizon safety framing.

How this fits Shanghai AI Lab's Sage line

table · 3 cols
ReleaseLayerexplainx.ai coverage
Sage-A1.5Science MoE weightsSubagents + verification
Sage-Med-PreviewMedical VLM weights35B-A3B benchmarks
Sage-InteractionDuplex omni frontendDelegation model
Sage-Med-HarnessMedical agent partsThis post
LoopTitan / Sage papersTraining scienceMoE revisit

Builders can mix Preview weights inside Harness-composed agents once licenses allow.

Practical next steps for developers

  1. Star and clone uni-medical/Sage-Med-Harness (early repo—5 commits at publication time).
  2. Run sagemed-cli search on your exact task wording before writing new Skills.
  3. inspect + neighbors on anything touching export-controlled or patient-identifiable data.
  4. Reproduce one case study metric (ViroBench or PD-L1) on your hardware before citing wins externally.
  5. Document install receipts for internal audits—README verification stages distinguish unverified from passed.

Example install and inspect flow

The README documents dry-run installs so operators see destination paths before anything touches a shared DSH profile:

bash
sagemed-cli install "<entry-id>" --dry-run
sagemed-cli install "<entry-id>"
sagemed-cli install --list

When something misbehaves, install --status <installation-id> returns the receipt for that activation without re-running business checks—useful when debugging metaharness loops that add and remove components across iterations.

Contributors can extend the catalog through create --paper paper.pdf, which is how Paper2Plugin scales beyond manually curated GitHub repos. Teams sitting on internal SOP PDFs should still run evaluate before exposing those generated Skills externally; auto-generated interfaces are prone to missing contraindication warnings even when code executes.

Acknowledgements and upstream credit

The README credits DeepSeek Harness, the MCP community, and maintainers of upstream catalog entries. That lineage matters for security reviews: hospital CISOs will ask whether metaharness can invoke arbitrary MCP endpoints; the answer is yes unless you curate the catalog mirror and network egress policies together.

If you need coding-agent skills rather than clinical orchestration, browse explainx.ai's replica skill guide and AI builder workshops.

Publication timing note: the Hugging Face card lists Submitted by Ziyan Huang on Dec 2 with Published on Dec 1 for arXiv 2612.02356, so builders should cite arXiv version dates when filing regulatory memos, not only the social thread timestamp. Watch the repo Issues tab today for npm release announcements soon.

Six evaluation dimensions on component quality

The README's evaluate run path scores components across risk disclosure, documentation completeness, interface consistency, maintainability, cost awareness, and medical relevance, emitting quality cards with reasons and evidence. That is the closest thing in the repo to a human-in-the-loop gate before a Skill lands in a hospital sandbox.

Operators should treat --live --fetch-sources runs as pre-flight checks, not continuous monitoring. A passing card on Monday does not stop an upstream MCP server from changing its OAuth scope on Tuesday. Pair periodic re-evaluation with UK AISI evaluation cheating lessons—models and tools game benchmarks when incentives align.

DSH plugin versus CLI-only paths

The workbench install targets DSH 0.2.2-alpha.2 with plugin name sagemed-harness, bundling catalog + CLI so search works immediately. Until npm publication, teams install the standalone .tgz or fall back to global sagemed-cli without the web workbench UI.

Legacy installs that pointed catalogDir at an external bundle still work: the README promises automatic fallback to bundled CLI if a stale directory is detected. Migration notes matter because early adopters at InternLM events may have mixed 0.1.x and 0.2.x paths.

Ulcerative colitis trial and amyloidosis cases

Beyond ViroBench and PD-L1, authors highlight ulcerative colitis trial failure analysis and staged differential diagnosis for dual cardiac amyloidosis as end-to-end compositions. Those tasks stress long-context evidence synthesis and multi-specialty reasoning—closer to co-clinician workflows than single-lab genomic classifiers.

Readers benchmarking Naver KMed or Ling-Sante should ask whether orchestration or base model quality is the bottleneck. Sage-Med-Harness bets on orchestration.

Limitations readers should expect

  • Early GitHub traction (handful of stars) means API churn until npm release.
  • Case studies are author-run; FDA-style validation is out of scope for the repo README.
  • Third-party Skills retain their own licenses; CC0 on first-party code does not sanitize the catalog.
  • DeepSeek Harness dependency ties behavior to another fast-moving runtime.

Read the full arXiv PDF for method diagrams omitted from the homepage scrape.

Related reading

  • Sage-Med-Preview medical VLM
  • Sage-Interaction duplex delegation
  • Sage-A1.5 MoE agent weights
  • Allen AI Dr Tulu deep research agent
  • Lasagna RAG compositionality study
  • Microsoft FreeHand minimal harness
Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime

People in this article

  • Jensen Huang →Co-founder, president, and CEO of NVIDIA
Explore people in AI →
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Share

Shanghai AI Laboratory
Workshops

Learn by building

Live, hands-on workshops on Claude, agents, and AI tooling — taught by practitioners, not slides.

Explore workshops →

Related posts

Nov 5, 2026

Exo: The Open-Source Runtime Where Agents Rewrite Their Own Harness

A new arXiv paper and MIT-licensed repo called Exo lets an agent read and rewrite its own harness code while it works, behind a small protected layer. The authors report model cost drops of 12 to 82 percent in some tests. Here is how it works, what is proven, and how to try it.

Oct 21, 2026

Google Harness2: An Open-Source Framework That Rewrites the Agent Around a Frozen Model

Google Research released Harness2, an Apache-2.0 framework that recursively edits the prompts, tools, skills and scripts around an agent instead of retraining the model. Here is how it works, what the reported gains actually measure, and what to check before running it.

Oct 21, 2026

OpenVLHarness: UCLA's Visual Agent Harness Adds 10 Points Without Fine-Tuning

UCLA NLP released OpenVLHarness, an MIT-licensed harness that lets multimodal models call visual tools and keep the outputs as addressable artifacts. We cover what the paper claims, how to run it, and what the numbers do and do not show.