numanakhter124/ai-symptoms-triage
1
AI Symptoms Triage Environment
An Openenv RL environment where an AI agent triages patients by reading symptoms and deciding severity, care pathway, and urgency — like a nurse doing intake triage.
Motivation
Medical triage errors cause preventable deaths. This environment trains agents to correctly classify patient urgency using symptom patterns.
Observation Space
Action Space
Tasks
- Easy: Obvious textbook symptoms (e.g. chest pain, runny nose)
- Medium: Multiple symptoms requiring reasoning (e.g. fever + headache)
- Hard: Red flag combinations where context changes everything (e.g. elderly + confusion + chest pain)
Reward
- Severity: 50%, Pathway: 30%, Timeframe: 20%
- Penalty: -0.3 if severe case called mild
Baseline Scores
- Easy: 1.0
- Medium: 1.0
- Hard: 1.0
- Overall: 1.0
Setup
uv sync
uv run serverInference
export HF_TOKEN=your_token
python inference.py