Skip to main content

matchminer-ai

Overview

matchminer-ai is a Python package for running the clinical trial matching inference workflow described in Altreuter et al., MatchMiner-AI: An Open-Source Solution for Cancer Clinical Trial Matching. The package provides modular functions for the core MatchMiner-AI workflow: summarizing trials and patient histories, generating embeddings of each, retrieving candidate matches, scoring match quality, and assessing exclusion criteria.

This package is currently pre-v1 and under active development. APIs, configuration options, and outputs may change.

Compute requirements

The most compute-intensive step is summarizing patient notes with the default Gemma 4 language model. Full pipeline runs can use either a local high-memory GPU environment, such as an NVIDIA H100 80GB, or a compatible remote vLLM inference server configured with the Gemma 4 reasoning parser. See the example notebook for details on these two options.

Other entry points, such as running from precomputed summaries, may require less compute.

Installation

This package requires Python 3.13+.

The package has been tested in Linux environments.

We recommend using uv to create the Python environment and install the package:

uv venv --python 3.13
source .venv/bin/activate
uv pip install matchminer-ai

Quickstart

See the example notebook for a full walkthrough using sample input data: example notebook

Citation

If you use matchminer-ai, please cite:

Altreuter J, Trukhanov P, Paul MA, Hassett MJ, Riaz IB, Afzal MU, Mohammed AA, Sammons S, Lindsay J, Mallaber E, Klein HR, Gungor G, Galvin M, Deletto M, Van Nostrand SC, Provencher J, Yu J, Tahir N, Wischhusen J, Kozyreva O, Ortiz T, Tuncer H, Masri JE, Malcolm A, Mazor T, Cerami E, Kehl KL. MatchMiner-AI: An Open-Source Solution for Cancer Clinical Trial Matching. arXiv. 2026. doi: 10.48550/arXiv.2412.17228

Contributing

Contributions are welcome! Please follow our contribution instructions if you are interested in contributing to this project.

Metadata

Release files for matchminer-ai 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for matchminer-ai 0.3.0
File Size Uploaded
matchminer_ai-0.3.0.tar.gz 77.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for matchminer-ai 0.3.0
File Interpreter ABI Platform
matchminer_ai-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 149.3 kB

Release files / matchminer_ai-0.3.0.tar.gz

Download URL matchminer_ai-0.3.0.tar.gz
Size 77.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1911fc1f30e208c360747ddcfeb9b44095bacaf46c7b4d4f3d9eaf84c4562e5b
BLAKE2b-256 checksum
How to use checksums
712df93fa77d2bfbf42fe747c0a74255fc1a1fea89c23a90a1c989e2e3cdf10f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / matchminer_ai-0.3.0-py3-none-any.whl

Download URL matchminer_ai-0.3.0-py3-none-any.whl
Size 71.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87ee2832a21ee3a1cbac77556eaa5677698d55d0d6c72b622b8541fcc8f383da
BLAKE2b-256 checksum
How to use checksums
ac866321236dd506ee52781b3fd321abb629ac48d9a0e197a094fe3ee1c504ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

0.4.0

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page