A generic framework for LLM-driven patient simulations.
Project description
PatientZero
Explaining Health: How AI Explanation Styles and Interaction Modalities Affect User Comprehension of Medical Information
Overview
A simulation system that uses LLM-powered agents to simulate doctor-patient interactions around medical test results and evaluate patient comprehension.
Tech Stack
- Frontend: React + Vite + TypeScript, Tailwind CSS, shadcn/ui
- Backend: Python, FastAPI, SQLite
- LLM: Abstracted provider layer (Mock, OpenAI, Claude, Local)
Project Structure
PatientZero/
├── core/ # Domain logic (imported by the backend)
├── frontend/ # React app
├── backend/ # FastAPI HTTP layer
└── report.txt # Research report
Prerequisites
- Python 3.12+
- Node.js 20+
- uv (Python package manager)
Quick Start
- Clone the repo:
git clone https://github.com/tamteaa/PatientZero.git
cd PatientZero
- Set up environment:
cp .env.example .env
- Install Python deps and start the backend (from the repo root so
coreimports resolve):
uv sync
uv run uvicorn backend.api.main:app --reload
- Start the frontend:
cd frontend
npm install
npm run dev
- Open http://localhost:5173
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file patientzero-0.1.0.tar.gz.
File metadata
- Download URL: patientzero-0.1.0.tar.gz
- Upload date:
- Size: 244.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d1c0ca683446bcd941e0e92f96a1283a84b53f5d710cf1755536f91a706d2c4
|
|
| MD5 |
582797e4afc4152c6d5567d13f9e5a69
|
|
| BLAKE2b-256 |
e36ba652ef371b73e1878b269e7b3df7c0085efd0b0bb0ce0b363a7e8ceebea1
|
Provenance
The following attestation bundles were made for patientzero-0.1.0.tar.gz:
Publisher:
publish.yml on tamteaa/PatientZero
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
patientzero-0.1.0.tar.gz -
Subject digest:
8d1c0ca683446bcd941e0e92f96a1283a84b53f5d710cf1755536f91a706d2c4 - Sigstore transparency entry: 1280852167
- Sigstore integration time:
-
Permalink:
tamteaa/PatientZero@569dc9f4d750a1c569bcf9141eda7bc29ed86e16 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/tamteaa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@569dc9f4d750a1c569bcf9141eda7bc29ed86e16 -
Trigger Event:
release
-
Statement type:
File details
Details for the file patientzero-0.1.0-py3-none-any.whl.
File metadata
- Download URL: patientzero-0.1.0-py3-none-any.whl
- Upload date:
- Size: 179.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1e72d8849c5d18595326edfb8eb9cd377a1c36855a28f41028ef1f3c08159b0
|
|
| MD5 |
d51bb12e7f8e0e625fbfa4448fc5a6cb
|
|
| BLAKE2b-256 |
e88d898a9d310134385611d24d9bfafb709911726bf5a6c24410216c1e111241
|
Provenance
The following attestation bundles were made for patientzero-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on tamteaa/PatientZero
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
patientzero-0.1.0-py3-none-any.whl -
Subject digest:
a1e72d8849c5d18595326edfb8eb9cd377a1c36855a28f41028ef1f3c08159b0 - Sigstore transparency entry: 1280852177
- Sigstore integration time:
-
Permalink:
tamteaa/PatientZero@569dc9f4d750a1c569bcf9141eda7bc29ed86e16 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/tamteaa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@569dc9f4d750a1c569bcf9141eda7bc29ed86e16 -
Trigger Event:
release
-
Statement type: