FIRELINE is a Toronto fire-response simulator built for Hack the 6ix 2026. It drops an AI incident commander into building fires across the real city: actual Toronto roads, real fire-station locations, limited apparatus, uncertain reports, and a 3D map where you can watch the response unfold.
It feels more like a strategy game than a chatbot. Alarms arrive, evidence gets stronger or falls apart, engines travel along city streets, ladders and rescue teams take different jobs, and every decision is explained in plain language.
- A seeded fire starts at one or more real Toronto building locations.
- Callers, alarms, crews, cameras, drones, and social posts send incomplete reports.
- FIRELINE turns those reports into evidence while blocking prompt injections and invalid data.
- The commander chooses actions using beliefs and available resources—never hidden simulation truth.
- Every action is validated before a unit can move.
- The mission is scored for life safety, stabilization, fire control, speed, and resource use.
The interface includes a fixed high-rise mission, competing incidents, an unsupported industrial hazard, and random Toronto missions with one to eight fires.
- Local safety commander works offline and costs nothing.
- Backboard baseline provides evidence extraction and a generic comparison commander.
- Freesolo SFT is trained on validated Toronto response examples.
- Freesolo final is only promoted if reward training improves held-out results.
Fallbacks are always labelled. FIRELINE never presents a local response as an external or trained-model result.
You need Python 3.10+, Node.js 20+, npm, and a public Mapbox access token.
py -3.12 -m venv .venv
.\.venv\Scripts\python -m pip install -e ".[dev]"
npm install
Copy-Item .env.example .envAdd your keys to .env, then start both services in separate terminals:
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=your_public_mapbox_token.\.venv\Scripts\uvicorn backend.fireline.api:app --reload --port 8000npm run devOpen http://localhost:3000. Choose a mission, use Next minute to inspect each decision, or Run mission to watch it play automatically.
.\.venv\Scripts\python -m pytest -q
npm run lint
npm run buildTraining and evaluation commands are in TRAINING.md. The trust boundary is explained in SECURITY.md and EVIDENCE_ENGINE.md.
FIRELINE is a research simulator, not operational emergency guidance or a real fire-prediction system.