Sage-Med-Harness
Health Uyari
- License — License: CC0-1.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
An open component ecosystem for medical AI agents: discover capabilities, build agents, improve through task feedback.

SageMed Harness
An open component ecosystem for medical AI agents
Discover medical capabilities. Build agents. Improve through task feedback.
English · 中文
Quick start · Explore the catalog · Documentation · Agent workbench
SageMed Harness brings together Skills, MCP servers, CLI tools, and DSH plugins so medical capabilities can be discovered, understood, combined, and reused. Use sagemed-cli to find components, build workflows, create new capabilities, and evaluate quality. Use the agent workbench to create and improve medical agents through conversation.
Core capabilities
| Capability | Entry point | What you can do |
|---|---|---|
| Discover | search |
Find capabilities for a task using metadata and component relationships. |
| Understand | inspect |
Explore interfaces, configuration, sources, and quality information. |
| Connect | neighbors |
Find dependencies, upstream/downstream components, alternatives, and complements. |
| Task-driven execution | metaharness |
Let an agent discover, assemble, install, and run capabilities, then iterate with feedback. |
| Create components | create |
Turn requirements or papers into reusable components that extend the ecosystem. |
| Evaluate quality | evaluate |
Assess components across six dimensions and produce quality cards with reasons and evidence. |
Quick start
Install the workbench (one command)
DSH Desktop: open Plugins → Add plugin, enter the package name, and install:
sagemed-harness
DSH Web / CLI:
dsh plugin --profile web add sagemed-harness
The package bundles the CLI and the component catalog, so search works immediately after install with no extra configuration. Requires DSH 0.2.2-alpha.2.
Install from a local packageStatus: not yet on npm.
sagemed-harnessis the planned package name for the first public release. Until then, install the standalone.tgz(below) or use the CLI alone.
Open Plugins → Add plugin and enter the absolute path to the standalone .tgz; it includes the CLI and catalog used by search. Upgrading from an older release that set catalogDir? The plugin detects a legacy directory and falls back to the bundled CLI automatically. If you have the older split ecosystem bundle instead, connect its external catalog.
Install the CLI
Requires Node.js 24.9+:
npm install -g sagemed-cli
Installation and paths · Offline ecosystem bundle
Give the agent a task
Complete setup (中文), write your task in natural language in task.md, and run:
sagemed-cli metaharness agent --prompt-file task.md
The agent finds suitable components, assembles and runs them, then refines the workflow with feedback. Versions and reasons for changes are retained. Usage guide (中文)
Natural-language shortcut (0.2.0+)sagemed-cli 0.2.0 also accepts a task directly in the command. npm 0.1.0 users should use the file-based entry above:
sagemed-cli metaharness "Organize the lung-cancer papers in this directory into a sourced evidence table and brief"
Explore components
Search the ecosystem directly and inspect capabilities and relationships:
sagemed-cli search "PubMed literature search" --limit 5
sagemed-cli inspect "<entry-id>"
sagemed-cli neighbors "<entry-id>"
Install a component
Install an Entry directly into your DSH profile. Preview the plan first, then install, list what is installed, and uninstall by installation id:
sagemed-cli install "<entry-id>" --dry-run # plan only: source, destination, verification level
sagemed-cli install "<entry-id>" # install (adds --install-only to skip the startup check)
sagemed-cli install --list # installed components, their paths and install time
sagemed-cli install --status <installation-id> # one receipt
sagemed-cli uninstall "<installation-id>"
install --list / --status read the receipts under DSH_HOME/dsh-med/receipts and report whether each recorded install path still exists; it does not re-run startup or business checks. Install reports say which verification stages actually passed (installation, activation, startup, business) — stages not run are reported as unverified, never as passed.
Create new components
Extend the ecosystem from requirements or methods in papers:
sagemed-cli create "Extract study design, sample size, and main findings from papers"
sagemed-cli create --paper paper.pdf
Generation setup and usage (中文)
Evaluate component quality
Component authors configure the evaluation engine, component inventory, and model connection:
sagemed-cli evaluate run --config ./my-evaluation/run.yaml --live --fetch-sources
Assess risk disclosure, documentation completeness, interface consistency, maintainability, cost awareness, and medical relevance. Quality cards include reasons and evidence. Evaluation guide
Agent workbench
Built on DeepSeek Harness. Start with a task and create, run, improve, and reuse medical agents through conversation.
- Create on demand: Describe a task, discover and combine the components it needs, and run the agent in the same conversation.
- Improve with feedback: Refine prompts, skills, and tool workflows. When you enable comparative optimization, test versions on the same tasks, retain valid improvements, and roll back unsuccessful changes.
- Save and reuse: Save agents you want to keep to My Agents. Use them in future tasks and keep refining them to build your own library of medical agents.
| Component catalog | Ability graph |
|---|---|
![]() |
![]() |
| Find capabilities, review quality information, and add them to a task. | Explore dependencies, complements, alternatives, and co-occurrence. |
Documentation
| What you want to do | Guide |
|---|---|
| Install the CLI or workbench | Installation |
| Find and create components | CLI guide (中文) |
| Run tasks and improve agents | Meta Harness (中文) |
| Score component quality | Component evaluation |
| Develop or integrate | Architecture (中文) |
| Check reuse terms | Licenses and sources |
Contribute components, improve documentation, or report issues through Issues and Pull Requests.
Acknowledgements
SageMed Harness is built on DeepSeek Harness. We thank the DeepSeek Harness team, the Model Context Protocol community, and the authors and maintainers of the upstream components represented in the catalog.
License
SageMed Harness first-party code and catalog contributions: CC0-1.0. Shusheng Qingnang first-party plugin code: MIT. Third-party components, dependencies, and services retain their own licenses and terms. See license scope.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi

