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 spanning 14 domains, with code on GitHub and the paper on Hugging Face. The lab's audit found 35.1% of components flagged for potential risks (14.2% "not recommended", 20.9% "needs confirmation") and 23.1% of Skills failed to load, while the release reports 85.8% versus 76.0% Macro-F1 on ViroBench and 0.930 ICC on PD-L1 whole-slide scoring versus pathologists. The framework pairs a 75.2k-node, 139.0k-edge relation graph with a co-evolving harness composer that queries the graph, runs sandboxed trials and archives verified configurations, including 440 harness plugins of which 432 were mined from 150 papers via Paper2Plugin. Shanghai Artificial Intelligence Laboratory published Sage-Med-Harness https://arxiv.org/abs/2612.02356?ref=explainx 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 https://github.com/uni-medical/Sage-Med-Harness?ref=explainx , the project homepage https://uni-medical.github.io/sage-med-harness-homepage/?ref=explainx , and Hugging Face paper 2612.02356 https://huggingface.co/papers/2612.02356?ref=explainx . The release sits one layer above model weights: instead of shipping only another multimodal checkpoint like Sage-Med-Preview https://explainx.ai/blog/sage-med-preview-shanghai-ai-lab-35b-a3b-open-medical-multimodal-model-benchmarks-2026 , the lab publishes how clinical and research tasks discover , audit , install , and reuse biomedical Skills , MCP servers , and runtime plugins . TL;DR | Item | Detail per paper and GitHub | |---|---| | Components | 10,857 audited entries across 14 domains | | Graph | 75.2k nodes, 139.0k edges authors | | Plugins | 440 harness plugins, 432 from 150 papers via Paper2Plugin | | ViroBench | 85.8% vs 76.0% Macro-F1 vs per-rank nucleotide FM bests authors | | Pathology | 0.930 ICC on PD-L1 whole-slide scoring vs pathologists authors | | CLI | sagemed-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 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 https://explainx.ai/blog/lasagna-rag-compositionality-ibm-450-configurations-47-percent-predicted-17-realized-open-source-2026 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 https://explainx.ai/blog/shanghai-ai-lab-sage-interaction-full-duplex-agentic-delegation-december-2026 duplex frontends and Sage-A1.5 https://explainx.ai/blog/shanghai-ai-lab-sage-a1-5-35b-moe-open-weights-subagents-verification-mode-benchmarks-2026 science agents. What the authors audited Sage-Med-Harness medical component ecosystem relation graph for agent assembly Image: Shanghai AI Laboratory https://uni-medical.github.io/sage-med-harness-homepage/?ref=explainx The Hugging Face discussion https://huggingface.co/papers/2612.02356?ref=explainx 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 https://explainx.ai/blog/google-cellgemma-open-cancer-car-t-prediction-december-2026 if you compare open oncology tooling stacks. GitHub workbench and sagemed-cli The README https://github.com/uni-medical/Sage-Med-Harness?ref=explainx documents operational verbs: | Capability | CLI entry | Purpose | |---|---|---| | Discover | search | Find components via metadata + graph | | Understand | inspect | Interfaces, config, sources, quality | | Connect | neighbors | Dependencies, alternatives, complements | | Execute | metaharness agent | Assemble, install, run, iterate | | Create | create / create --paper | Mint components from requirements or PDFs | | Evaluate | evaluate run | Six-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: npm install -g sagemed-cli sagemed-cli metaharness agent --prompt-file task.md For natural-language one-liners v0.2.0+ : 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 https://github.com/deepseek-ai/DeepSeek-Harness?ref=explainx —same family as Shanghai's duplex Sage-Interaction https://explainx.ai/blog/shanghai-ai-lab-sage-interaction-full-duplex-agentic-delegation-december-2026 delegation backends. Teams new to harness ops should read LearnHarness https://explainx.ai/blog/learnharness-open-source-agent-harness-for-learning-knowledge-graph-2026 for pedagogy patterns and Microsoft FreeHand https://explainx.ai/blog/microsoft-freehand-bitter-lesson-agent-harness-december-2026 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 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 https://explainx.ai/training when hospital compliance joins engineering. For agent misuse patterns, see CISA BOD 26-04 https://explainx.ai/blog/cisa-agentic-offensive-frameworks-alert-bod-26-04-december-2026 and AgentDog2 https://explainx.ai/blog/agentdog2-long-horizon-agent-safety-atbench-pro-december-2026 long-horizon safety framing. How this fits Shanghai AI Lab's Sage line | Release | Layer | explainx.ai coverage | |---|---|---| | Sage-A1.5 | Science MoE weights | Subagents + verification https://explainx.ai/blog/shanghai-ai-lab-sage-a1-5-35b-moe-open-weights-subagents-verification-mode-benchmarks-2026 | | Sage-Med-Preview | Medical VLM weights | 35B-A3B benchmarks https://explainx.ai/blog/sage-med-preview-shanghai-ai-lab-35b-a3b-open-medical-multimodal-model-benchmarks-2026 | | Sage-Interaction | Duplex omni frontend | Delegation model https://explainx.ai/blog/shanghai-ai-lab-sage-interaction-full-duplex-agentic-delegation-december-2026 | | Sage-Med-Harness | Medical agent parts | This post | | LoopTitan / Sage papers | Training science | MoE revisit https://explainx.ai/blog/looptitan-moe-parameter-revisit-shanghai-ai-lab-november-2026 | 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 https://github.com/uni-medical/Sage-Med-Harness?ref=explainx 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: sagemed-cli install "