Skip to main content

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

  1. Clone the repo:
git clone https://github.com/tamteaa/PatientZero.git
cd PatientZero
  1. Set up environment:
cp .env.example .env
  1. Install Python deps and start the backend (from the repo root so core imports resolve):
uv sync
uv run uvicorn backend.api.main:app --reload
  1. Start the frontend:
cd frontend
npm install
npm run dev
  1. Open http://localhost:5173

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

patientzero-0.1.0.tar.gz (244.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patientzero-0.1.0-py3-none-any.whl (179.7 kB view details)

Uploaded Python 3

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

Hashes for patientzero-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8d1c0ca683446bcd941e0e92f96a1283a84b53f5d710cf1755536f91a706d2c4
MD5 582797e4afc4152c6d5567d13f9e5a69
BLAKE2b-256 e36ba652ef371b73e1878b269e7b3df7c0085efd0b0bb0ce0b363a7e8ceebea1

See more details on using hashes here.

Provenance

The following attestation bundles were made for patientzero-0.1.0.tar.gz:

Publisher: publish.yml on tamteaa/PatientZero

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for patientzero-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1e72d8849c5d18595326edfb8eb9cd377a1c36855a28f41028ef1f3c08159b0
MD5 d51bb12e7f8e0e625fbfa4448fc5a6cb
BLAKE2b-256 e88d898a9d310134385611d24d9bfafb709911726bf5a6c24410216c1e111241

See more details on using hashes here.

Provenance

The following attestation bundles were made for patientzero-0.1.0-py3-none-any.whl:

Publisher: publish.yml on tamteaa/PatientZero

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page