MONAI — Medical Open Network for AI Imaging
Project MONAI's Apache-2.0 PyTorch framework for medical image segmentation, classification, and registration — the standard for AI radiology research.
MONAI — Medical Open Network for AI (Imaging)
MONAI is the dominant open-source framework for deep learning in medical imaging. Built on PyTorch, it provides production-grade components for 2D/3D image segmentation, classification, detection, and registration across CT, MRI, pathology, ultrasound, and X-ray modalities.
Key Features
- Domain-specific transforms: intensity normalisation, random cropping, spacing resampling, affine augmentation in 3D
- Pre-trained model zoo: auto-segmentation for 104 anatomical structures, whole-body CT, brain MRI
- MONAI Label: active-learning annotation server (integrates with 3D Slicer, OHIF)
- Distributed training, AMP, and gradient checkpointing for large 3D volumes
- Federated learning support via FLARE
- NIfTI, DICOM, and MetaImage I/O out of the box
Quick Start
pip install monai
from monai.networks.nets import UNet
from monai.losses import DiceLoss
from monai.transforms import Compose, LoadImaged, ScaleIntensityd
model = UNet(spatial_dims=3, in_channels=1, out_channels=2,
channels=(16,32,64,128,256), strides=(2,2,2,2))
loss_fn = DiceLoss(to_onehot_y=True, softmax=True)
npx ai-supply add monai-medical-imaging-framework
Curated mirror of the open-source MONAI (Apache-2.0). Get it from the source.
Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.
Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).
The same gate an agent runs before installing (POST /api/v1/trust/monai-medical-imaging-framework/check). Click a policy:
Consume MONAI — Medical Open Network for AI Imaging programmatically. Authenticate with an API key or session — see Authorize an agent.
# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/monai-medical-imaging-framework
# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/monai-medical-imaging-framework/check \
-H "Content-Type: application/json" \
-d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'
# CLI
npx ai-supply add monai-medical-imaging-framework
# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/monai-medical-imaging-framework/install \
-H "Authorization: Bearer $AIM_KEY"
# MCP tool
install_listing({ "slug": "monai-medical-imaging-framework" })OpenAPI spec →Curated mirror — latest upstream source. See the repository for tagged releases.