TrialMatchAI
Overview
TrialMatchAI is an AI-powered recommendation system designed to automate and streamline the process of matching patients to eligible clinical trials. It is primarily intended for use by physicians and research staff in care settings such as academic and community hospitals, particularly in specialties like oncology, where identifying suitable trials can be complex and time-consuming.
- What it does: TrialMatchAI processes heterogeneous clinical data, including structured records and unstructured physician notes, alongside clinical trial metadata and eligibility criteria. It uses natural language processing (NLP) and large language models (LLMs) to extract and normalize biomedical entities, retrieve candidate trials, and then assess criterion-level eligibility to generate a ranked list of personalized clinical trial recommendations.
- How it fits a clinical or practice workflow: The tool integrates into existing clinical workflows, allowing physicians to input patient profiles in natural language or through standardized data formats like Phenopackets. It provides match rationales and explanations for eligibility, aiming to reduce the manual burden of trial discovery and accelerate patient recruitment. The system can be deployed on local infrastructure, ensuring patient data remains within the user’s environment.
- Notable capabilities: TrialMatchAI offers explainable AI-driven decision-making by generating concise explanations for each criterion-level classification. It supports a hybrid search approach combining text-based retrieval with vector search for efficient identification of relevant trials. The system is modular and open-source, allowing for customization and updates to its LLM components.
Reviewed by Pouyan Golshani, MD — Interventional Radiologist
Key Features
- AI-powered patient-to-trial matching
- Processes structured and unstructured clinical data
- Leverages fine-tuned, open-source Large Language Models (LLMs)
- Retrieval-Augmented Generation (RAG) framework
- Transparency and reproducibility with explainable outputs
- Secure local deployment within hospital infrastructures
- Normalizes biomedical entities and standardizes terminology
- Hybrid search strategy combining lexical and semantic similarity
- Criterion-level eligibility assessments using medical Chain-of-Thought reasoning
- Supports Phenopackets-standardized data
Use Cases
- Automating patient recruitment for clinical trials
- Identifying eligible patients for biomarker-driven oncology trials
- Streamlining recruitment for long or multi-phase clinical studies
- Optimizing patient interest and matching activity across multi-site studies
- Reducing administrative burden for research staff
- Expanding access to experimental therapies for patients
What Physicians Need to Know
For physicians, TrialMatchAI can significantly streamline the process of identifying suitable clinical trials for patients, especially in complex cases like oncology where biomarker-driven matches are critical. The system's ability to process both structured and unstructured clinical data, including physician notes, reduces the manual burden of sifting through extensive patient records and trial protocols. The explainable outputs, detailing why a patient is or isn't eligible for a particular trial, can enhance trust and facilitate informed discussions with patients. Integrating this tool into routine oncology workflows can improve screening efficiency and patient access to trials. However, it's important to remember that TrialMatchAI is a recommendation system and should not replace review by qualified healthcare professionals.
TrialMatchAI is designed for secure local deployment and supports Phenopackets-standardized data, facilitating semantic interoperability. It ingests structured trial metadata from sources like clinicaltrials.gov and patient records. The system utilizes Elasticsearch for efficient retrieval and is built with fine-tuned, open-source Large Language Models (LLMs) like Gemma-2-2B and Phi-4, allowing for seamless replacement of LLM components as more advanced models emerge. It can import patient data in various formats, including free-text notes (.txt, .md), GA4GH Phenopacket JSON, HL7 FHIR R4 bundles, individual FHIR resources, NDJSON, JSONL, and OMOP CDM extract folders with CSV or Parquet tables. The system can be installed via PyPI and offers a command-line interface (CLI) for various functionalities.
Details
| Category | Drug Discovery & Research, Oncology AI |
| Pricing |
Free for basic features; pro plan for advanced features.
|
| Deployment | Local deployment on a single Python 3.11 GPU server or VM. |
| Compliance | |
| BAA Available | Unknown AI-estimated |
| HIPAA Compliant | Unknown AI-estimated |
| FDA Status |
Unknown AI-estimated TrialMatchAI is for research and informational use only, not medical advice or a medical device, and must not replace review by qualified healthcare professionals. |
| Integrations | |
| EHR | Not specified |
| Specialties | Hematology, Internal Medicine, Oncology |
What the Web Says
TrialMatchAI is an open-source, AI-powered system designed to automate and streamline patient-to-clinical trial matching, particularly in oncology. It uses large language models (LLMs) to process diverse clinical data, including structured records and unstructured physician notes, to identify eligible patients and recommend relevant trials. The system aims to address the bottleneck of patient recruitment in clinical trials by enhancing efficiency, interpretability, and providing explainable outputs with traceable decision rationales.
Overall: PositiveStrengths
- Automates patient-to-trial matching, significantly reducing manual review time.
- Achieves high accuracy in identifying relevant trials (92% of oncology patients had a relevant trial in the top 20 recommendations) and eligibility classification (over 90% accuracy).
- Leverages open-source LLMs within a Retrieval-Augmented Generation (RAG) framework, ensuring transparency and reproducibility.
- Designed for modularity and privacy, supporting Phenopackets-standardized data and secure local deployment, meaning patient data never leaves the local environment.
- Provides explainable outputs with criterion-level justifications for inclusion and exclusion decisions, aiding physician review.
- Can screen 100% of patients against every trial in minutes, allowing clinical research teams to focus on patient engagement.
Limitations
- While effective at matching, AI systems like TrialMatchAI don't necessarily increase patient enrollment in trials, as other barriers like geography, transportation, and financial toxicity remain.
- The technology for patient-clinical trial matchmaking already exists in various forms, suggesting a competitive market.
- Requires data access for deployment, which can involve significant work.
- The tool is for research and informational use only and is not medical advice or a medical device, and must not replace review by qualified healthcare professionals.
- Can still make rare mistakes or offer explanations that do not fully match the data.
Based on reviews from: Moonlight, ResearchGate, OncoDaily, MDLinx, Semantic Scholar, Reddit, Clear Sky Science
Last updated: 2026-08-24
Ratings & Reviews
No reviews yet. Be the first to review this tool!
Rate TrialMatchAI
Press & Coverage
Videos
Product demos, reviews, and walkthroughs for TrialMatchAI.
TrialMatchAI
Abhinav Piyush





