{"slug": "sage-med-harness-shanghai-ai-lab-medical-agent-ecosystem-with-10857-components", "title": "Sage-Med-Harness: Shanghai AI Lab Medical Agent Ecosystem With 10,857 Components", "summary": "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.", "body_md": "**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).\n\nThe 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**.\n\n## TL;DR\n\n| Item | Detail (per paper and GitHub) | \n|---|---|\n| **Components** | **10,857** audited entries across**14** domains | \n| **Graph** | **75.2k** nodes,**139.0k** edges (authors) | \n| **Plugins** | **440** harness plugins,**432** from**150** papers via**Paper2Plugin** | \n| **ViroBench** | **85.8%** vs**76.0%** Macro-F1 vs per-rank nucleotide FM bests (authors) | \n| **Pathology** | **0.930 ICC** on PD-L1 whole-slide scoring vs pathologists (authors) | \n| **CLI** | **sagemed-cli** +**metaharness** agent loop on**DeepSeek Harness** | \n\n## Why medical agents need a component economy\n\nAgent harness scaffold frame illustrating how Sage-Med-Harness assembles medical Skills and MCP tools\n\nHospital 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**.\n\nSage-Med-Harness answers with **two loops**:\n\n1. **Unified Medical Component Ecosystem** — catalog**Skills** ,**MCP tools** ,**CLIs** , and**harness plugins** , each with**audit metadata** (runnability, safety flags, documentation completeness).\n2. **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.\n\nThat 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.\n\n## What the authors audited\n\nSage-Med-Harness medical component ecosystem relation graph for agent assembly\n*Image: [Shanghai AI Laboratory](https://uni-medical.github.io/sage-med-harness-homepage/?ref=explainx)*\n\nThe [Hugging Face discussion](https://huggingface.co/papers/2612.02356?ref=explainx) from the Sage-Med team lists concrete audit outcomes:\n\n- **35.1%** of components flagged for potential risks (**14.2%** \"not recommended\",**20.9%** \"needs confirmation\"), often around**poorly documented sensitive operations** .\n- **23.1%** of**Skills****failed to load** in their pass—critical for buyers who assume \"listed\" equals \"runnable.\"\n\nThe **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.\n\n## Five case studies the paper highlights\n\nAuthors applied the framework across:\n\n1. **Cancer target prioritization** (lung**B7-H3** assessment)\n2. **Clinical trial analysis** (ulcerative colitis trial failure)\n3. **Viral genomics** (**ViroBench** taxonomy ranks)\n4. **Clinical diagnosis** (staged**dual cardiac amyloidosis** differential)\n5. **Digital pathology** (**PD-L1** whole-slide scoring)\n\n### ViroBench viral genomics\n\nOn **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.\n\n### PD-L1 digital pathology\n\nFor **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.\n\n## GitHub workbench and sagemed-cli\n\nThe [**README**](https://github.com/uni-medical/Sage-Med-Harness?ref=explainx) documents operational verbs:\n\n| Capability | CLI entry | Purpose | \n|---|---|---|\n| **Discover** | `search` | Find components via metadata + graph | \n| **Understand** | `inspect` | Interfaces, config, sources, quality | \n| **Connect** | `neighbors` | Dependencies, alternatives, complements | \n| **Execute** | `metaharness agent` | Assemble, install, run, iterate | \n| **Create** | `create` /`create --paper` | Mint components from requirements or PDFs | \n| **Evaluate** | `evaluate run` | Six-dimension quality cards | \n\n**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.\n\nExample task flow:\n\n```\nnpm install -g sagemed-cli\nsagemed-cli metaharness agent --prompt-file task.md\n```\n\nFor natural-language one-liners (v0.2.0+):\n\n```\nsagemed-cli metaharness \"Organize lung-cancer papers into a sourced evidence table\"\n```\n\n**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**.\n\nThe **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**.\n\n## Safety and governance questions\n\nMedical triage sorting funnel illustrating risk tiers for audited Sage-Med catalog components\n\nMedical agents are not general chatbots. The audit flags imply **more than a third** of catalog entries need **human confirmation** before production adjacency. Operators should:\n\n1. **Block \"not recommended\"** components at install time.\n2. **Log `metaharness` versions** when a workflow changes— the README says**reasons for revisions** are retained.\n3. **Map PHI flows** before connecting MCP servers to live EHR sandboxes.\n4. **Train reviewers** via[/training](https://explainx.ai/training) when hospital compliance joins engineering.\n\nFor 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.\n\n## How this fits Shanghai AI Lab's Sage line\n\n| Release | Layer | explainx.ai coverage | \n|---|---|---|\n| **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) | \n| **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) | \n| **Sage-Interaction** | **Duplex omni** frontend | [Delegation model](https://explainx.ai/blog/shanghai-ai-lab-sage-interaction-full-duplex-agentic-delegation-december-2026) | \n| **Sage-Med-Harness** | **Medical agent parts** | This post | \n| **LoopTitan / Sage papers** | **Training science** | [MoE revisit](https://explainx.ai/blog/looptitan-moe-parameter-revisit-shanghai-ai-lab-november-2026) | \n\nBuilders can mix **Preview weights** inside **Harness-composed** agents once licenses allow.\n\n## Practical next steps for developers\n\n1. **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).\n2. **Run `sagemed-cli search`** on your exact task wording before writing new Skills.\n3. **`inspect` + `neighbors`** on anything touching**export-controlled** or**patient-identifiable** data.\n4. **Reproduce one case study metric** (ViroBench or PD-L1) on your hardware before citing wins externally.\n5. **Document install receipts** for internal audits—README verification stages distinguish**unverified** from**passed** .\n\n### Example install and inspect flow\n\nThe README documents dry-run installs so operators see **destination paths** before anything touches a shared DSH profile:\n\n```\nsagemed-cli install \"<entry-id>\" --dry-run\nsagemed-cli install \"<entry-id>\"\nsagemed-cli install --list\n```\n\nWhen 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.\n\nContributors 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.\n\n### Acknowledgements and upstream credit\n\nThe 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.\n\nIf you need **coding-agent** skills rather than **clinical orchestration**, browse explainx.ai's [** replica skill guide**](https://explainx.ai/blog/replica-skill-eleven-claude-skills-clone-any-app-recon-entrepreneur-guide-2026) and [** AI builder workshops**](https://explainx.ai/workshops/ai-builder).\n\nPublication 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.\n\n## Six evaluation dimensions on component quality\n\nThe 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.\n\nOperators 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**](https://explainx.ai/blog/uk-aisi-frontier-models-cheating-evaluations-december-2026) lessons—models and tools **game benchmarks** when incentives align.\n\n## DSH plugin versus CLI-only paths\n\nThe 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.\n\nLegacy 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**](https://explainx.ai/blog/shanghai-ai-lab-sage-interaction-full-duplex-agentic-delegation-december-2026) events may have mixed **0.1.x** and **0.2.x** paths.\n\n## Ulcerative colitis trial and amyloidosis cases\n\nBeyond 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.\n\nReaders benchmarking [**Naver KMed**](https://explainx.ai/blog/naver-kmed-31b-medical-llm-on-premises-healthbench-november-2026) or [** Ling-Sante**](https://explainx.ai/blog/inclusionai-lingsante-3-1-flash-open-medical-moe-november-2026) should ask whether **orchestration** or **base model quality** is the bottleneck. Sage-Med-Harness bets on **orchestration**.\n\n## Limitations readers should expect\n\n- **Early GitHub traction** (handful of stars) means**API churn** until npm release.\n- **Case studies** are**author-run** ;**FDA-style** validation is**out of scope** for the repo README.\n- **Third-party Skills** retain**their own licenses** ; CC0 on first-party code does not sanitize the catalog.\n- **DeepSeek Harness dependency** ties behavior to another fast-moving runtime.\n\nRead the full [arXiv PDF](https://arxiv.org/abs/2612.02356?ref=explainx) for method diagrams omitted from the homepage scrape.", "url": "https://wpnews.pro/news/sage-med-harness-shanghai-ai-lab-medical-agent-ecosystem-with-10857-components", "canonical_source": "https://explainx.ai/blog/shanghai-ai-lab-sage-med-harness-medical-agents-december-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog", "published_at": "2026-12-02 00:00:00+00:00", "updated_at": "2026-12-02 08:46:33.272564+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-agents", "agent-protocols", "ai-research", "ai-tools"], "entities": ["Shanghai Artificial Intelligence Laboratory", "Sage-Med-Harness", "Sage-Med-Preview", "Paper2Plugin", "ViroBench", "DeepSeek Harness", "Hugging Face", "GitHub"], "also_reported_by": [], "takeaway": "Sage-Med-Harness lets builders assemble medical agents from 10,857 audited Skills, MCP tools, CLIs and plugins via a 75.2k-node relation graph and a composer that sandbox-tests and archives verified harness configs, but 23.1% of Skills failed to load and 35.1% of components carried risk flags.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/sage-med-harness-shanghai-ai-lab-medical-agent-ecosystem-with-10857-components", "markdown": "https://wpnews.pro/news/sage-med-harness-shanghai-ai-lab-medical-agent-ecosystem-with-10857-components.md", "text": "https://wpnews.pro/news/sage-med-harness-shanghai-ai-lab-medical-agent-ecosystem-with-10857-components.txt", "jsonld": "https://wpnews.pro/news/sage-med-harness-shanghai-ai-lab-medical-agent-ecosystem-with-10857-components.jsonld"}}