OpenMed is a local-first healthcare AI SDK for on-device clinical NER and HIPAA PII de-identification, with cross-platform support (Python, Swift, Android, browser) and a large model catalog. It emphasizes on-device processing, configurable PII handling, and optional network paths for models/datasets.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
OpenMed is a local-first runtime that turns clinical text into structured, de-identified insight on hardware you control. It supports extraction of medical entities and PII de-identification without cloud processing, though model downloads, remote adapters, telemetry, and some integrations may use a network. SDKs and runtimes exist for Python, Swift, Android, and browser surfaces. The project is Apache-2.0 licensed.
How it works
The workflow runs clinical text through a local OpenMed runtime to produce medical entities, PII findings, and de-identified text. It provides multiple execution paths (CPU, CUDA, MLX, mobile, service, browser adapters) and can load models from a local directory or remote catalogs. Outputs include entities, PII detections, and de-identified text, without necessarily contacting cloud services.
Getting started
Quick start sections show installation and usage across environments:
- Core + Hugging Face runtime (Linux, macOS, Windows; CPU or CUDA):
pip install --upgrade "openmed[hf]" - REST service:
uvicorn openmed.service.app:app \ --host 0.0.0.0 --port 8080 - Apple Silicon acceleration (MLX):
pip install --upgrade "openmed[mlx]" - Android (Kotlin) dependency example:
dependencies { implementation("com.github.maziyarpanahi:openmed:v2.0.0") } - Python example usage snippets for analyze_text and examples with local or offline models are provided in the README.
Recent releases
Latest releases show continued cross-platform expansion and bug fixes:
- v2.0.0 (2026-07-28): OpenMed v2.0.0 expands local-first privacy and platform coverage across Python, Swift, Kotlin.
- v1.9.1 (2026-07-14): SwiftPM packaging and release distribution fixes; cross-platform rollout for 1.9.
- v1.9.0 (2026-07-14): OpenMed + ONNX: faster CPU, browser and Android support.
- v1.8.1 (2026-07-10): architecture-safe attention hotfix for DebertaV2ForTokenClassification loading.
- v1.8.0 (2026-07-09): cross-platform runtime, production service, privacy coverage, and browser/ONNX support.
Traction
Stars: 4851 Forks: 600 Open issues: 363
Behind the repo
(Links to startup/company not provided in facts.)
Caveats
- License: Apache-2.0
- Age: Created 2025-10-04; last push 2026-08-04
- Local-first runtime note: model downloads, remote adapters, telemetry-enabled paths, and certain integrations may use a network; review terms per model/dataset.






