← Discover
GitHub · maziyarpanahi/openmed↑ +191 today

Open Source artificial intelligence in healthcare

OpenMed is a platform that brings together open source artificial intelligence models and data sets used in healthcare. Developed for medical-oriented applications, this Python-based library aims to standardize health data processing processes.

Updates

  • November 4, 2026: Stars 5,715 → 5,772, latest release v3.2.0 (November 3, 2026).
  • October 27, 2026: Stars 5,457 → 5,715, latest release v3.1.0 (October 26, 2026).
  • October 8, 2026: Stars 5,329 → 5,457, latest release v3.0.0 (October 7, 2026).
  • September 16, 2026: Stars 5,217 → 5,329, latest release v2.5.0 (September 15, 2026).

What you get

  • Extracts structured medical insights from clinical texts.
  • Anonymizes personal health data on the device.
  • It runs more than 1,000 medical AI models offline.

Installation

Basic Setup
pip install "openmed[hf]"
Apple Silicon (MLX) Support
pip install "openmed[mlx]"

Running it

Simple Analysis with Python
python -c "from openmed import extract_pii; print([(e.label, e.text) for e in extract_pii('Dr. Pedro Almeida, CPF: 123.456.789-09, email: pedro@hospital.pt', lang='pt').entities])"

If you don't write code

Paste this into your AI agent (Claude Code · Codex · Antigravity)

I want to analyze medical text using the OpenMed library. I have Python installed on my device. First of all, I completed the installation with the pip install "openmed[hf]" command. Now, what functions should I call in my Python code to analyze my clinical notes and detect medical terms or personal data (PII) in them? Please create me a simple sample code block on model selection and printing the outputs.

Repository: https://github.com/maziyarpanahi/openmed. Follow the official instructions in the README of this repository for setup and execution.

Before starting, check which OS we are on and if the necessary tools (e.g., Python, Node.js, Git, Docker) are installed. Install any missing ones step-by-step according to this system.

Create a new, empty folder to work in. Do not touch any files outside this folder and do not delete anything. Tell me what you are going to do in one sentence before running each command.

Tell me what I should see on the screen at the end of each step. If an error occurs, I will paste the error message to you exactly as it is, and we will fix it together.

Related dictionary terms

Who it is forIt is for healthcare professionals and software developers who want to perform privacy-oriented analysis on their own hardware without sending their medical data to cloud services.
LicenseApache-2.0

Links

TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-06-10: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.