Live well with every medicine you take.
Regimen is a plain-language medication companion for polypharmacy — especially older adults and caregivers. Add your full med list, see drug–drug conflicts explained in everyday English, connect how you feel to possible med/conflict bridges, get today’s food rules + a safety checklist, and share a pharmacist-ready card.
Built for Vitalitics 2026.
Live demo: regimen-alpha.vercel.app
API health: backend-beta-five-40.vercel.app/api/health
Chatbots can talk about interactions, but they don’t keep a structured regimen, don’t return severity from a trained model + clinical knowledge base, and don’t give you a measurable demo metric. Regimen is decision support with a reproducible engine — not free-form medical chat.
Guided flow: Welcome → Profile → Meds → Processing → Conflicts → Symptoms → Today → Dashboard
| Area | Job |
|---|---|
| Conflicts | Core: plain-English cards (What / Why / Do this), KB vs ML badges, “What changed?” for new OTC |
| Share card | Copy / print a pharmacist discussion summary |
| Symptoms | Multi-select + custom note → bridges (never a diagnosis) |
| Today | Diet rules + safety checklist + local streak |
| Profile / science | Local profile + held-out F1 / Major-class F1 / per-class bars |
Demo path (video): Margaret — warfarin stack + Advil → bleeding risk.
- Frontend: Vite + React + TypeScript (Fraunces / Plus Jakarta Sans), neo + glass UI
- Backend: FastAPI
- ML: scikit-learn
GradientBoostingClassifieron drug/class pair features → severity 0–3 - Data: curated geriatric-relevant catalog (~50 drugs) with
plain_name, side effects, diet rules, symptom tags
Held-out metrics live in backend/artifacts/metrics.json and in the UI (weighted F1 ≈ 0.63; Major-class F1 ≈ 0.73).
backend/ FastAPI app, engine, training scripts, data, model artifacts
frontend/ Vite React app
DEVPOST.md Devpost submission draft + video script
SUBMIT.md Submit checklist
POST /api/insights— meds + profile + optional symptoms → conflicts, effects, diet, checklist, symptom bridges, model summaryPOST /api/check— conflict checkPOST /api/symptoms/match— symptom bridgingPOST /api/plan/today— diet + checklistGET /api/demo/profiles— Margaret / Robert / ElenaGET /api/metrics/summary— catalog size + F1 / accuracy / per-class
cd backend
python -m venv .venv
# Windows:
.\.venv\Scripts\activate
pip install -r requirements.txt
python scripts/build_dataset.py
python scripts/train_model.py
uvicorn app.main:app --reload --host 127.0.0.1 --port 8000cd frontend
npm install
npm run dev -- --host 127.0.0.1 --port 5173Open http://127.0.0.1:5173. Vite proxies /api → :8000.
For production builds, set VITE_API_URL (see frontend/.env.production).
Install Tesseract OCR and pip install pytesseract for label photos. Search + confirm always works without it.
- Problem: many meds + a new OTC — families don’t speak DrugBank.
- Welcome → Try a demo → Margaret.
- Processing → Conflicts: Bleeding risk + KB badge + What changed?
- Share with pharmacist — copy/print card.
- Symptoms: bruising / stomach pain → bridge.
- Today: vitamin K / greens consistency checklist.
- Credibility: weighted F1 + Major-class F1.
- Disclaimer: education only.
Regimen does not diagnose, prescribe, or replace a licensed clinician or pharmacist. Educational decision-support prototype only.
Interaction KB is a curated clinical demo set (anticoagulants, QT risk, serotonergic stacking, ACEI/ARB + potassium, PDE5 + nitrates, etc.) plus an ML severity model. For production, expand with licensed public corpora (e.g. TWOSIDES / DrugBank DDI) and cite openFDA/SIDER-class sources.
Prototype for hackathon / education. Add a license file if you open-source for production use.