See it in action
This iPhone example uses OpenMed's local runtime after the required model artifacts are available:
On iPhone via OpenMedKit: scan a clinical note, de-identify it, and extract clinical signals with Apple MLX processing locally in this configuration.
Real-time PII de-identification: in this configured local workflow, the Nemotron Privacy Filter redacts names, addresses, IDs, and billing data from a synthetic clinical discharge packet. (All values shown are synthetic.)
30-second example
from openmed import analyze_text
result = analyze_text(
"Patient started on imatinib for chronic myeloid leukemia.",
model_name="disease_detection_superclinical",
)
for entity in result.entities:
print(f"{entity.label:<12} {entity.text:<28} {entity.confidence:.2f}")
# DISEASE chronic myeloid leukemia 0.98
# DRUG imatinib 0.95
A clinical NER model using the local runtime after its required artifacts are available.
Clinical brief in 30 seconds
From a source checkout, run the CPU-only synthetic contract demonstration:
python examples/v30_clinical_brief.py
# Optional: --model mlx, with the pinned model already cached on Apple silicon.
It de-identifies an embedded note, extracts and grounds a finding, then prints
a cited brief, verdicts and a value-free review packet. NER/NLI providers are
explicit synthetic test doubles, not trained-model or clinical validation.
No external note input is accepted. The MLX option may refuse unsupported output;
it never bypasses the guards. See the brief guide
and demo script for the boundaries and local setup.
Building with an agent?
Start with the consumer agent-usage guide, or load the
curated llms.txt documentation index.
For callable local interfaces, use the MCP server, the
typed tool registry, or the
command-line interface. Ready-made
cross-tool procedures live in the repository skills catalog.
Why OpenMed?