LibreAI / Dev Tools / openmed
// devtools · maziyarpanahi/openmed

openmed

Local-first healthcare AI: clinical NER and HIPAA PII de-identification that runs 100% on-device.

★ 5.5k stars⑂ 700 forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

openmed is an open-source dev tools project by maziyarpanahi (maziyarpanahi/openmed on GitHub). It has 5,463 GitHub stars and 700 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 8 October 2026.

GitHub stars
5,463
Forks
700
License
Apache-2.0
Last updated on GitHub
8 October 2026
Category
Dev Tools
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Clarify your clinical NLP task

    Decide whether you need PII de-identification, clinical entity extraction, or both, and on which platform — server, desktop or mobile.

  2. Install the runtime

    Install the openmed Python package with the extras for your hardware (MLX on Apple Silicon, or the Hugging Face/PyTorch path).

  3. Download a model once

    Fetch the model artifacts for your task; after this one-time download everything runs offline.

  4. Run your first note

    De-identify a synthetic note and extract medical entities locally, then review the spans and redacted text.

// features

Why people love it

On-device PII de-identification

Detects and removes HIPAA-relevant PII from clinical text entirely on-device — no cloud, no patient data leaving your network.

Clinical NER at scale

A catalog of 2,200+ medical models covering clinical entity types in 21 languages.

Apple MLX acceleration

An MLX runtime (with CoreML fallback for supported artifacts) accelerates token classification on Apple Silicon; PyTorch checkpoints can fall back across hardware.

Native app runtimes

OpenMedKit for Swift/iOS and an ONNX-based Android runtime keep tokenizer offsets and span boundaries aligned with the Python runtime.

Agent skills included

Ships portable Agent Skills for de-identification, clinical NER and FHIR export that load into Claude Code, Codex, OpenCode and compatible agents.

Browser and service modes

The same ONNX models can run in the browser, and optional service extras expose OpenMed as a local service.

Advertisement
// run it

Run it yourself

  1. Clone the repository

    Clone OpenMed to explore the source, models and skills.

    git clone https://github.com/maziyarpanahi/openmed.git
    cd openmed
  2. Install for your hardware

    Install the Python package with the MLX extra on Apple Silicon, or the Hugging Face extra elsewhere.

    pip install --upgrade "openmed[mlx]"
    # elsewhere: pip install --upgrade "openmed[hf]"
  3. Run the local pipeline

    Use the documented API to de-identify text and extract entities entirely on-device.

    python -c "import openmed; print(openmed.deidentify('Patient John Smith, MRN 12345'))" # see README for the exact command
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains OpenMed?

OpenMed is maintained by maziyarpanahi and contributors, with the project site at openmed.life.

Is OpenMed free?

Yes — it is open source under the Apache-2.0 license, including for on-premise use.

Does it need a paid API key?

No. After a one-time model download, inference runs 100% on-device with no cloud calls and no API keys.

How does it compare to cloud medical NLP APIs?

Cloud APIs (such as Comprehend Medical) require sending PHI to a third party; OpenMed keeps all processing inside your network or on the user's device, which simplifies HIPAA posture.

How do I get started?

pip install the extra for your hardware, download a model, and run the de-identification example on synthetic text first.

// keep exploring

Similar tools

Dev Tools

VelesDB

Explainable, local-first memory engine designed for AI agents.

★ 97 starsNOASSERTION
View guide →
Dev Tools

superset

Agentic IDE that runs 100+ parallel coding agents in isolated workspaces on your own subscriptions.

★ 15.0k starsElastic License 2.0
View guide →
Dev Tools

Chat2DB

A local-first database client with AI SQL help — 40+ databases, desktop, web, Docker and CLI

★ 28.3k starsApache-2.0
View guide →
Dev Tools

cli-printing-press

Generates agent-first Go CLIs (plus MCP servers) for any API or website — with local SQLite sync built in

★ 4.8k starsMIT
View guide →
Dev Tools

avibe

A local-first Agent OS — drive Claude Code, Codex and OpenCode from your browser.

★ 606 starsMIT
View guide →
Dev Tools

wigolo

Local-first web search, fetch, crawl and research for AI coding agents over MCP — no API keys.

★ 5.5k starsAGPL-3.0
View guide →
// alternatives

Alternatives in Dev Tools

The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if openmed is not the right fit.

Get openmed

Free and open — grab the source, star the repo, and start creating.