Team briefing · AI Builder Cup 2026 · architecture revised 29 September · web aligned 6 October

ASAPify: early detection of smouldering peat

ASAPify detects fire that is already smouldering inside peat soil but has not yet burned the vegetation on the surface. Two geostationary satellites, Himawari-9 and GK2A, observe every peat pixel in Sumatra and Kalimantan (15 provinces) every 10 minutes through the night. A deterministic rule engine (MAUT + neighbour support) flags pixels as AWAS; only then does a Gemini agent fetch the latest VIIRS data and imagery to verify, and an operator decides before the message goes to that province's subscribers (web inbox + Telegram DM). AI is not the detector.

Legend: ✅ decided · 💡 proposal, starting figures to calibrate · ❓ open item · ⚠️ not verified yet

29 Separchitecture revised
11 Octteam registration closes
16 Octfeature freeze
18 Octsubmission deadline
4 Decfinal in Singapore

Start with Runbook Sprint 0 (29 Sep – 1 Oct)

  1. S0-1 Team registration · S0-2 GCP project + billing · S0-3 Earth Engine (WorldCover) · S0-4 FIRMS MAP_KEY · S0-5 Telegram bot + operator group
  2. S0-6 Repo + check the 2023 backtest window · S0-7 One Himawari + GK2A scan · S0-8 KHG + province boundaries · S0-9 NASA POWER + GIBS
  3. Every task has complete commands and a done check on the Runbook page.
01 · Rules

What is required and how the judges score

Required

A Gemini or Gemma model
Built with Agent Platform (ADK), Antigravity or AI Studio
A live prototype on Cloud Run or Firebase
PDF deck and 3-minute demo video, all in English

Scoring weights

Technical & GenAI implementation
40%
Problem fit & impact
25%
Innovation & creativity
25%
User experience & design
10%
02 · Scope

Detect burning that has already started, not predict risk

✅ "Two-satellite observation + deterministic rules detect anomalies; neighbouring pixels validate them spatially; AWAS pixels are verified by AI with VIIRS and imagery; an operator decides; the message goes to subscribers who chose that province."

In scope ✅

  • Early detection of combustion: fire already present in the soil
  • Area: all peat in Sumatra + Kalimantan (15 provinces, codes 11–19, 21, 61–65; widened 5 Oct)
  • Peat pixels only (KHG peat mask, excluding built-up areas)
  • Detection: Himawari-9 + GK2A, at night, MAUT + neighbour support
  • Environment baseline: NASA POWER (TS as LST, T2M as SAT)
  • On-demand verification: VIIRS (FIRMS points + GIBS imagery) + Himawari imagery
  • Send decision by an operator (publish / reject)

Out of scope ✅

  • Risk prediction before burning (water table, rainfall, drought indices)
  • AI that detects or sets status
  • ToPeCAl and Landsat in the operational path (post-event roadmap only)
  • Periodic FIRMS/VIIRS ingest for the whole area
  • Operator-chosen Waspada/Siaga/Awas levels
  • Already-burned peat (NBR/dNBR, burned area); SiPongi hotspots; MODIS
  • Peat in Sabah, Sarawak, Brunei; field officers; two-way bot
03 · System flow and service links

Observation → detection → verification → response

Three parts: A the logic flow (what happens, where decisions are made), B the service schematic (who talks to whom), and C a numbered table of links that explains every line in B.

data flowbranch that does not call the agent / does not senddeterministic (code)AI (agent)outgoing messages
STAGE 0Once STAGE 1Observation STAGE 2Detection STAGE 3Verification STAGE 4Response MAIN PATH SIDE INPUTS AND OUTPUTS asapify-build: peat maskKHG ∩ 15 provinces − built-up area BIG KHG · geoBoundariesWorldCover (Earth Engine) peat/: pixels, neighbours, POWER cells asapify-ingest-himawari · every 10 minB07 + B14 → mir, win, cloud → himawari/ NOAA open data · Himawari-9observation 1 · 140.7° E asapify-ingest-gk2a · every 10 minSW038 + IR105 → mir, win, cloud → gk2a/ NOAA open data · GK2Aobservation 2 · 128.2° E two satellites, scored separately 1 · z-score per satellitez_rel Himawari · z_rel GK2A · cloud → NaN asapify-environmentdaily 12:00 WIB30-night thermal baselineNASA POWER TS (= LST)NASA POWER T2M (= SAT)30-day median per hour 2 · MAUT utility U0u_H · u_G · u_LST · u_SAT · u_T × weights 3 · Neighbour support → Uu_N = share of 8 neighbours with U0 ≥ 0.5 4 · Pixel status?table in section 05 not AWAS SAFE · WATCH · NO_OBSERVATIONshown on the map; re-scored AWAS: new cluster, or last verified > 6 h ago asapify-agent · ADK + Geminiverification, not detection · max 8 tools get_pixel_context get_latest_viirs · fetch_viirs_image fetch_himawari_image · save_verification NASA FIRMS + GIBSlatest VIIRS, only on AWAS result Operator Telegram groupauto · strong evidence / inconclusive Operator decidespublish / reject reject Not sentreason required · audit_log publish Web inbox + subscriber Telegram DMschosen provinces; recipients confirm
A · Logic flow. Two decisions control what moves: the rule engine (step 4) decides whether the agent is called, and the operator (Stage 4) decides whether a message is sent. VIIRS only enters at Stage 3, and only for AWAS clusters. Himawari and GK2A are scored separately first (step 1) and only combined in MAUT (step 2).

Scroll the diagram sideways if it is cut off.

data / callschedule trigger4link number, see table CGoogle Cloud boundary
GOOGLE CLOUD · asia-southeast2 (Gemini: global) EXTERNAL DATA SOURCES EXTERNAL SERVICES AND USERS NOAA · Himawari-9B07, B14 · anonymous NOAA · GK2ASW038, IR105 · anonymous NASA POWERTS, T2M hourly KHG + provincesBIG REST · geoBoundaries Cloud Scheduler4 schedules · WIB asapify-evaluateminute 5, 15… · MAUT ingest-himawari*/10 at night ingest-gk2a*/10 at night asapify-environment12:00 WIB · baseline asapify-buildonce · peat mask Cloud Storagepeat/ · himawari/ · gk2a/environment/ · score/crops/ · raw/Parquet + PNG Firestoreclusters · runsverifications · alertsaudit_log · notification_* Secret ManagerMAP_KEY → agentbot token → agent, notify asapify-agentCloud Run serviceADK + 5 toolsPOST /verify GeminiVertex AI asapify-apiCloud Run serviceFastAPI /api/v1decisions + queue Earth EngineWorldCover · once asapify-notifyCloud Run workerCloud Tasks queue NASA FIRMS + GIBSVIIRS points + imagery Telegram + FCMoperator group (agent)subscriber DMs + push ASAPify web appFirebase Hosting + Authoperators + subscribers POST /verify (AWAS only) Himawari image crop (complementary) WorldCover → built-up fraction 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
B · Service schematic. Jobs never call Gemini or FIRMS. The only bridge from the scheduled path to AI is link 8, and only for AWAS clusters. asapify-agent verifies and notifies the operator group; asapify-api serves operators and subscribers; once an operator publishes, it writes inbox entries and a queue per subscriber, and the asapify-notify worker sends them through Cloud Tasks (17, 20, 21). The Scheduler runs a sweep every minute to resume an interrupted queue. The browser only reads Storage through signed URLs for crop images and the static map layers in the public bucket.

Scroll the diagram sideways if it is cut off.

C · Links. Numbers match the circles in schematic B. Full IAM permissions are in Cloud setup 03.
#From → toWhat passesWhenAccess
1Cloud Scheduler → 4 jobs + sweepjob run command (Cloud Run Admin API); POST /_internal/notifications/sweep to asapify-notifyingest */10 20-23,0-4 · evaluate 5-59/10 20-23,0-4 · environment 0 12 (WIB) · sweep * * * * *OAuth sa-scheduler (run.invoker); sweep: OIDC sa-task
2NOAA Himawari-9 → ingest-himawariB07 + B14, segments S05/S06 (.DAT.bz2)every 10 minutes, at nightanonymous
3NOAA GK2A → ingest-gk2asw038 + ir105 full-disk NetCDF (~30 MB/channel)every 10 minutes, at nightanonymous
4NASA POWER → environmenthourly TS + T2M in UTC, per POWER cell (0.5° × 0.625°)daily; missing days onlyno key
5BIG + geoBoundaries → buildKHG polygons, 15 province boundariesonceno key
6All jobs ↔ Cloud Storageingest writes himawari/, gk2a/; environment writes environment/; evaluate reads all of them and writes score/; build writes peat/ (and the peat-pixel GeoJSON to the public bucket for the map layer)every runsa-jobs objectAdmin
7All jobs → Firestoreruns (every job), clusters (evaluate)every runsa-jobs datastore.user
8evaluate → asapify-agentPOST /verify {cluster_id, trigger_slot}; POST /cluster-closed {cluster_id}/verify: only new AWAS clusters, or active ones last verified > 6 h ago · /cluster-closed: when a cluster closesOIDC sa-jobs → run.invoker
9agent ↔ Cloud Storagereads score/; writes crops/ PNGs + 1-hour signed URLsper verificationsa-agent objectAdmin + TokenCreator
10agent ↔ Firestorereads clusters, alerts; writes verifications, alerts.status, audit_logper verificationsa-agent datastore.user
11agent → Geminiinstructions, context, tool results, PNG images (multimodal)≤ 8 tool calls per verificationsa-agent aiplatform.user
12agent → NASA FIRMS + GIBSVIIRS detections in a ±10 km box, 48 hours; true-colour image for the latest dateper verification (on demand)MAP_KEY (FIRMS); GIBS needs no key
13agent → NOAA Himawari-9night thermal crop / daytime true colour (complementary capture)per verificationanonymous
14agent → TelegramsendPhoto to the operator groupafter a verification is savedbot token
15ASAPify web app ↔ asapify-api/api/v1/operator/*: map, clusters, decisions, delivery status; /api/v1/notifications/*: preferences, inbox, confirmationswhen an operator or subscriber opens the web appFirebase token; /operator/* needs the claim role = operator, /notifications/* only a verified email
16asapify-api ↔ Firestorereads clusters, verifications; writes alerts, audit_log, subscriber preferences, inbox entries and channel jobs (notification_*)per request, per decisionsa-api datastore.user
17asapify-notify → Telegram + FCMsendMessage text to subscriber DMs (with an "Open & confirm" button); FCM / Web Push for exercises onlyper job, only after an operator publishesbot token (secret on the worker); sa-notify FCM admin
18build → Earth EngineWorldCover class 50 → built-up fraction per 0.02° celloncesa-jobs earthengine.writer
19asapify-api → Cloud Storagereads score/ (map grid, cluster utility series); creates crops/ signed URLs for the browserper web requestsa-api objectViewer + TokenCreator
20asapify-api → Cloud Tasks → asapify-notifyone task per channel job; task name = hash, no personal dataafter a publish decision and fan-outOIDC sa-task → run.invoker on the worker
21asapify-notify ↔ Firestoreclaims a job, re-checks consent, confirmation and expiry, writes the delivery statusper jobsa-notify datastore.user

One event, step by step (fictional, to show the order and the numbers)

  1. 23 Sep, night · pixel p420_950 in Central Kalimantan: Himawari z_rel = 3.1 (u_H = 0.55), GK2A cloudy → n_sat = 1, U = 0.38 → WATCH. Links 2, 3, 6.
  2. 24 Sep, 22:10 WIB · both satellites clear: z_rel Himawari 4.4 and GK2A 4.1 → u_H = u_G = 1; ΔLST = 2.5 K → u_LST = 0.5; ΔSAT = −1 K → 0; 2 of 3 nights → u_T = 0.67.
  3. U0 = (0.25 + 0.25 + 0.05 + 0 + 0.10) / 0.80 = 0.81; 3 of 8 neighbours U0 ≥ 0.5 → u_N = 0.375; U = (0.65 + 0.075) / 1.00 = 0.73 → AWAS (U ≥ 0.65, neighbours ≥ 0.25, both satellites agree). Cluster C-0924-002 (4 pixels) is created (7), POST /verify (8).
  4. Agent · pixel context (9, 10); get_latest_viirs: 1 NOAA-20 detection 1.4 km from the coordinate, 13 hours ago (12); VIIRS image from 24 Sep daytime: thin smoke drifting north-west (12); Himawari crop (13); Gemini reasons (11) → strong_evidence, saved (10); summary to the operator group (14).
  5. Operator · opens the cluster detail (15, 16) and publishes. The API writes inbox entries for Central Kalimantan subscribers and queues the jobs (16, 20); the worker sends Telegram DMs (17, 21). The message stays in the web inbox until the recipient presses Confirm receipt.
  6. 25–27 Sep · three valid nights with no AWAS pixels → evaluate closes the cluster and calls /cluster-closed (8); the alert is marked closed (10): inbox entries get the SELESAI label and jobs not yet sent are cancelled. (Closing alerts is not implemented in ktp-asapify-be yet.)
04 · Why the 3.8–3.9 µm channel at night

The shortwave channel is about 25 times more sensitive to small embers

Planck calculation: the brightness-temperature shift of one 2 km pixel caused by a 400 °C ember on a 298 K background. Applies to Himawari B07 (3.9 µm) and GK2A SW038 (3.8 µm).

Ember area10.5–11.2 µm (B14 / IR105)3.8–3.9 µm (B07 / SW038)
90 m²0.02 K0.5 K
1,000 m²0.2 K5.4 K
1 ha2.1 K33 K
  • The 3.8–3.9 µm channel (mir) carries the main signal; the 10.5–11.2 µm window channel (win) is used for cloud, ΔLST and ΔSAT.
  • In daytime the 3.8–3.9 µm channel is mixed with reflected sunlight; at night it is clean. That is why evaluation runs at night only ✅.
  • Two satellites, two viewing angles: GK2A (128.2° E) sees Kalimantan and Sumatra more directly than Himawari-9 (140.7° E), so its pixels are smaller there. Noise or a navigation error on one satellite is not enough to trigger AWAS.
  • ⚠️ Pixels in Kalimantan are larger than 2 km (far from nadir), and larger still in Sumatra (especially for Himawari), so real sensitivity is lower than the table.
05 · Rule engine ✅ MAUT + neighbour support

Six attributes, one utility score, four statuses

✅ Mechanism: MAUT combines the two-satellite attributes, the environment baseline and time; neighbours validate spatially. 💡 The figures below are starting values calibrated in the backtest (A7, A8); changes are logged in WORKLOG section 7.

Formulas used in code (jobs/lib/maut.py)

z_s = (mir − median) / (1.4826 × max(MAD, 0.3 K)) z_rel_s = z_s − median(z_s of neighbours within 5 cells ≈ 10 km) u_H = ramp(z_rel Himawari; 2 → 4) u_G = ramp(z_rel GK2A; 2 → 4) u_LST = ramp(ΔLST; 1 K → 4 K) u_SAT = ramp(ΔSAT; 0 K → 3 K) u_T = min(k / 3, 1) U0 = Σ wᵢuᵢ / Σ wᵢ over the available H, G, LST, SAT, T u_N = #(neighbours U0 ≥ 0.5) / #(observed neighbours), 8 directions U = Σ wᵢuᵢ / Σ wᵢ over H, G, LST, SAT, T, N ramp(x; a → b) = clip((x − a) / (b − a), 0, 1)

Starting weights 💡

u_H · Himawari
0.25
u_G · GK2A
0.25
u_N · neighbours
0.20
u_T · temporal
0.15
u_LST · vs POWER TS
0.10
u_SAT · vs POWER T2M
0.05

A satellite that is cloudy in that slot is dropped and the weights are renormalised, so the score stays 0–1.

TermDefinition used in code
Night, slot20:00–04:00 WIB = 13:00–21:00 UTC; slot = 10-minute scan time in UTC, the same for both satellites. night_id = WIB date when the night starts.
Cloudy (per satellite)window channel (B14 / IR105) < 270 K → that satellite's attribute is not used
Thermal baselinemedian and MAD of mir per pixel per UTC hour over the previous 30 nights, per satellite; frozen for WATCH/AWAS pixels
ΔLSTwin_max − TS_base(cell, hour) − b_LST(pixel, hour). TS_base = 30-day median of NASA POWER TS; b_LST = 30-night median of the same difference (removes per-pixel atmospheric and emissivity bias)
ΔSATwin_max − T2M_base(cell, hour). On a normal night the surface is cooler than the air; above air temperature means a heat source ⚠️ check the distribution (open item 15)
u_T (temporal)k = number of valid nights among the last 3 valid nights (including tonight) with ≥ 2 slots where max(u_H, u_G) ≥ 0.5
Two satellites agreeu_H ≥ 0.5 and u_G ≥ 0.5, each in ≥ 1 slot within the last 60 minutes
Pixel statusCondition (evaluated every night slot by asapify-evaluate)Meaning
AWASU ≥ 0.65 and u_N ≥ 0.25 (≥ 2 of 8 neighbours) and both satellites agreeTriggers verification. Not a confirmed fire.
WATCHnot AWAS, and U ≥ 0.30Includes isolated anomalies and single-satellite anomalies
NO_OBSERVATIONboth satellites cloudy or no data in that slotMissing data, not safe
SAFEanything else—
Cluster = AWAS pixels adjacent in 8 directions; ID C-{MMDD}-{nnn}. The agent is called for new clusters or active clusters last verified > 6 hours ago. A cluster closes after 3 valid nights without AWAS. The seven test cases are in Runbook A5.

Neighbour support: why a pixel is never judged alone

Supported. 3 of 8 neighbours U0 ≥ 0.5 → u_N = 0.375. Can become AWAS.

Isolated. u_N = 0 → WATCH at most. More likely sensor noise.

Partly cloudy. Only observed neighbours count: 2 of 5 → u_N = 0.4.

Legend: P pixel being scored · A neighbour with U0 ≥ 0.5 · hatched = cloudy neighbour · dot = normal neighbour. Non-peat neighbours are not counted.

06 · Verification agent

The agent checks AWAS candidates; it neither detects nor changes status

✅ The ADK agent is called per AWAS cluster, not on a schedule. Computation lives in deterministic tools; Gemini chooses the tool order, reads the images and writes the summary.

Tools ✅
get_pixel_context(cluster_id, as_of)utility, attributes, neighbours over 3 nights
get_latest_viirs(lat, lon, as_of)FIRMS ±10 km, 48 hours, distance of each detection
fetch_viirs_image(lat, lon, as_of)latest GIBS true colour (daytime), 5 km marker
fetch_himawari_image(lat, lon, as_of, kind)complementary capture: night thermal / daytime true colour
save_verification(result)validate schema and numbers, save
Schema-locked outputJSON
{
  "cluster_id": "C-0924-002",
  "pixel_id": "p420_950",
  "result": "strong_evidence",
  "smoke_visible": true,
  "viirs_within_2km_48h": 1,
  "evidence": [
    {"source": "viirs_firms",
     "finding": "NOAA-20, 1,4 km",
     "finding_en": "NOAA-20, 1.4 km",
     "age_h": 13},
    {"source": "viirs_image",
     "finding": "asap tipis ke barat laut",
     "finding_en": "thin smoke drifting north-west",
     "age_h": 9},
    {"source": "himawari_image",
     "finding": "titik terang di penanda",
     "finding_en": "bright spot on the marker"}
  ],
  "summary_id": "…",
  "summary_en": "…"
}

Guardrails ✅

  • No status or level field in the output
  • strong_evidence when smoke is visible ≤ 5 km from the coordinate, or there is a VIIRS detection ≤ 2 km within 48 hours
  • Otherwise inconclusive. No visible smoke is never grounds for rejection
  • The validator rejects when viirs_within_2km_48h > 0 but the result is inconclusive, or when a number in the summary is not in the tool results
  • At most 8 tool calls; counted in the tool layer
Core agent instructionagent/agent.py
You verify AWAS thermal anomalies on Indonesian peatland.
The rule engine has already identified the coordinate as AWAS.
Your task is verification, not detection.
1. Read the candidate context (get_pixel_context).
2. Retrieve the latest VIIRS detections around the coordinate.
3. Retrieve the latest VIIRS true-colour image and a Himawari
   image of the same area.
4. Look for visible smoke or other visual evidence consistent
   with smouldering or fire activity.
5. Treat absence of visible smoke as inconclusive, never negative.
6. Never change the rule-engine status. Never invent numbers.
7. Save the result with save_verification.
ToPeCAl and Landsat ✅ removed from the EWS path

Landsat passes over a given location only once every few days, so it does not suit early warning, which needs high frequency. ToPeCAl (Sofan et al. 2019) is used neither for detection nor for verification.

It can still be mentioned as a roadmap: post-event analysis, dataset validation, research, model evaluation.

Agent resultShown to the operator and in Telegram
strong_evidence"Strong evidence: …" (visible smoke / nearby VIIRS detection); in Telegram "Bukti kuat: …"
inconclusive"Inconclusive: …" (no visible smoke, cloudy, or an old image); in Telegram "Inkonklusif: …"
07 · Limitations

Stated plainly in the pitch

  • ✅ Detects only smouldering areas that are large enough; it is not an in-situ sensor.
  • ✅ Cloud over both satellites means missing data, not a safe signal.
  • ✅ MAUT weights and thresholds are calibrated on one season (2023) in one sub-area; they need recalibration per season and region.
  • ✅ NASA POWER is coarse (0.5° × 0.625°) and ~1.5 days late, so it is used only as a 30-day baseline, not as tonight's measurement.
  • ✅ VIIRS true-colour imagery exists only in daytime (~13:30) and is often cloudy; smouldering smoke is thin. No visible smoke = inconclusive.
  • ✅ VIIRS detections come from only ± 2 passes per satellite per day; no detection does not mean no fire.
  • ✅ The backtest starts in 2023 because the GK2A archive on NOAA open data begins on 16 Feb 2023.
  • ⚠️ Pixels in Kalimantan are larger than 2 km and larger still in Sumatra, so small embers go undetected.
08 · Data sources and tools (confirmed) ✅

Each source has one role, and what it is not used for is written down

Himawari-9 and GK2A = the two independent main observations. NASA POWER = environment baseline. VIIRS = on-demand verification evidence, for AWAS only. Himawari imagery = complementary capture for the agent.

SourceRole and useNot used forAccessFrequency / resolutionStatus
D1 · Himawari-9 AHI (B07 3.9 µm + B14 11.2 µm)Main observation 1
Thermal features per peat pixel every 10 minutes, at night (MAUT: u_H, cloud, ΔLST, ΔSAT)
Agent verificationNOAA bucket noaa-himawari9, anonymous; segments S05 + S06 ⚠️10 minutes · ~2 km at nadir · 140.7° E✅
D2 · GK2A AMI (SW038 3.8 µm + IR105 10.5 µm)Main observation 2 (independent)
Thermal features per peat pixel every 10 minutes, at night (MAUT: u_G, cloud, ΔLST, ΔSAT)
Agent verificationNOAA bucket noaa-gk2a-pds, anonymous; full-disk NetCDF ~30 MB/channel10 minutes · 2 km · 128.2° E · archive since 16 Feb 2023✅ checked
D3 · NASA POWER hourly: TS (= LST) + T2M (= SAT)Environment baseline
Expected skin and air temperature per cell per UTC hour (30-day median) for ΔLST and ΔSAT
Tonight's measurement; per-pixel LSTPoint API /api/temporal/hourly/point, no keyHourly · 0.5° × 0.625° (GEOS-IT) · ~1.5 day latency✅ checked
D4 · VIIRS FIRMS (3 satellites NRT; SP for the archive)On-demand verification evidence
Detections around an AWAS cluster (called by the agent); timing reference in the backtest
Detection; periodic ingestFIRMS area API, free MAP_KEY; ≤ 5 days per request375 m · ± 2 passes/satellite/day · NRT ~3 hours✅
D5 · VIIRS true colour (NASA GIBS, 3 satellites)Visual evidence
Daytime smoke imagery around the coordinate, read by Gemini
Detection; nightGIBS WMS epsg4326/best, no keyDaily daytime (~13:30) · often cloudy✅ tested
D6 · Himawari-9 imagery (night B07 crop, daytime true colour)Complementary capture
Imagery at whatever time AWAS happens, for the agent and the UI
MAUTSame bucket as D1, fetched when the agent needs itOn request✅
D7 · KHG Indicative Map (Dit. PKG KLHK)Peat mask
Decides which peat pixels are processed
Telling apart objects on top of peatBIG REST layer 37, no key, GeoJSON, 1,000 features/requestStatic✅ tested
D8 · ESA WorldCover v200 + province boundaries (geoBoundaries)Building mask + area filter
Pixels with built-up ≥ 0.2 are dropped; provinces 11–19, 21, 61–65 and subscriber region choice
—Earth Engine once in asapify-build; geoBoundaries GeoJSONStatic✅ ODbL
Not used at all: ToPeCAl + Landsat in the operational path (post-event roadmap) · periodic FIRMS job · SiPongi hotspots · NBR/dNBR · MODIS · Waspada/Siaga levels.
Tools / servicesUsed forNot used for
Gemini (Vertex AI, latest Flash model)Choosing the tool order, reading VIIRS/Himawari images, writing ID/EN summariesComputing scores, setting status
Agent Development Kit (ADK)Agent loop, 5 tools, 8-call limitDeterministic stages
Cloud Run jobsingest-himawari, ingest-gk2a, evaluate (10 minutes, at night), environment (daily), build (once)Serving web requests
Cloud Run service asapify-agentPOST /verify: agent + tools, operator group notificationPublic calls
Cloud Run service asapify-apiFastAPI for operators and subscribers: decisions, inbox, notification queueRunning the agent
Cloud Scheduler4 schedules (2 ingest, evaluate, environment)—
Cloud StorageParquet peat/, himawari/, gk2a/, environment/, score/; PNG crops/; raw/ (manifests, cache)Direct browser reads
Firestoreclusters, verifications, alerts, runs, audit_log, notification_* (subscribers, inbox, jobs)Pixel time series
Secret Managerfirms-map-key (agent), telegram-bot-token (agent, notify), telegram-webhook-secret (api)—
Earth EngineWorldCover built-up fraction, onceHimawari, GK2A, Landsat
Firebase Hosting + AuthServing the web app (the judged URL), Google sign-in for operators and subscribers, operator role—
React 19 + Vite + MapLibre 6 (repo ktp-asapify-fe)Web app: map, slot player, archive calendar, cluster detail, decisions; subscriber notifications page; mock mode for previewsComputing scores or status
Telegram Bot APIsendPhoto to the operator group; sendMessage to subscriber DMs; a webhook only to link accounts (/start)Public alert groups, replying to messages
Cloud Tasks + FCMPer-subscriber send queue (OIDC to the worker); browser push for exercisesEmergency alerts over FCM (not allowed by FCM policy)
Pythonsatpy (ahi_hsd, ami_l1b), pyresample, s3fs, xarray, netCDF4, numpy, pandas, pyarrow, geopandas, rasterio, shapely, scipy, httpx, pillow, earthengine-api, google-adk, google-genai, fastapi, pytest—
Naming in submission material: credit Himawari and GK2A as "NOAA open data", not "AWS", and state that all processing runs on Google Cloud. This applies to the deck, the video and the prototype's "About" page.
09 · Architecture ✅

Five jobs, two services, one web app, all on Google Cloud

Endpoint details in Backend & API, setup commands in Cloud setup, screens in UI. One Docker image for everything.

1

asapify-ingest-himawari

Cloud Run job · */10 at night

B07 + B14 → himawari/

2

asapify-ingest-gk2a

Cloud Run job · */10 at night

SW038 + IR105 → gk2a/

3

asapify-evaluate

Cloud Run job · minute 5, 15, … at night

MAUT + neighbours → score/; clusters → Firestore; POST /verify.

4

asapify-environment

Cloud Run job · 12:00 WIB

NASA POWER + thermal baseline → environment/

5

asapify-build

Cloud Run job · once

WorldCover + KHG + provinces → peat/

6

asapify-agent

Cloud Run service · private

ADK + Gemini + 5 tools; operator group.

7

asapify-api

Cloud Run service · FastAPI

Operators and subscribers, decisions, inbox, notification queue.

8

ASAPify web app

Firebase Hosting · React + MapLibre · repo ktp-asapify-fe

Map, night archive, cluster detail, publish/reject; subscriber notifications.

9

asapify-notify

Cloud Run service · private · Cloud Tasks

Sends Telegram DMs and exercise push per subscriber; sweep every minute.

Storage: per-pixel features and scores in Cloud Storage (Parquet); clusters, verifications, alerts and audit in Firestore. The browser never reads Firestore directly.

10 · Open items ❓

What is still open

Closed: level mapping (replaced by publish/reject), old Landsat scenes (ToPeCAl dropped), Earth Engine eligibility (WorldCover once only), FIRMS (on demand), KHG via BIG REST, alert channel (DM + inbox per subscriber, 9 Oct).

#QuestionProposal 💡Due
8Himawari and GK2A latencyMeasure in Runbook S0-7; "late" threshold 40 minutes1 Oct
11Backtest window✅ Central Kalimantan sub-area 113.5,-2.6,114.3,-1.9, 1 Sep – 15 Oct 2023; August 2023 warm-up. Check ≥ 20 detections in S0-6. 💡 Second window: OKI, South Sumatra 105.2,-3.7,106.0,-3.0, same period (planned, no figures yet)30 Sep
12Province boundaries✅ geoBoundaries IDN ADM1 (ODbL, © OpenStreetMap contributors), attribution shown on the map and the About page (S0-8)1 Oct
14MAUT calibrationWeights and thresholds calibrated against VIIRS SP in Sep 2023, tested on 1–15 Oct (A8)13 Oct
15ΔSAT distributionCheck the 99th percentile of pixels without VIIRS; if > 0 K shift the ramp (A7)5 Oct
16Number of POWER cellsCount in A1; if > 300, use cells holding ≥ 5 peat pixels2 Oct
11 · Pulling data locally

Every data-pull step is in Runbook Sprint 0

  1. S0-7 Himawari-9 and GK2A: one scan, read onto the grid, correlation, latency.
  2. S0-9 NASA POWER hourly (TS, T2M) and GIBS true colour.
  3. S0-4 FIRMS: MAP_KEY, test a small-box query like the agent's.
  4. S0-6 Check the 2023 backtest window has ≥ 20 VIIRS detections.
  5. S0-8 KHG and province boundaries into data/ref/.
  6. S0-3 WorldCover in Earth Engine.

Backtest

Central Kalimantan sub-area 113.5,-2.6,114.3,-1.9, 1 Sep – 15 Oct 2023, August 2023 warm-up baseline. Why: the GK2A archive starts on 16 Feb 2023; the 2023 fire season saw heavy haze over Central and South Kalimantan in late September and 713.23 ha of peat burned in Palangka Raya.

Outputs (A7): per cluster first_awas_at, first_viirs_at, lead_h, false alarms, misses, number of NO_OBSERVATION slots. VIIRS SP is used offline as the reference, not in the operational path.

12 · Schedule

Six sprints to 18 October

Click a task ID to open its complete commands in the Runbook.

  1. 29 Sep – 1 OctSprint 0

    Accounts and local data

    • S0-1 Register the team on Hack2Skill
    • S0-2 GCP project, billing, budget, APIs
    • S0-3 Earth Engine registered, WorldCover tested
    • S0-4 FIRMS MAP_KEY and a small-area query test
    • S0-5 Telegram bot, operator group, chat_id
    • S0-6 Repo, Python environment, check the 2023 backtest window
    • S0-7 One Himawari and one GK2A scan: read, latency
    • S0-8 KHG and province boundaries for Sumatra + Kalimantan
    • S0-9 Test NASA POWER hourly and GIBS true colour
    Done when: All accounts are active; one Himawari scan and one GK2A scan are read onto the combined Sumatra + Kalimantan grid; NASA POWER, FIRMS and GIBS are tested.
  2. 2–5 OctSprint 1

    Observation and the rule engine

    • A1 Peat mask, neighbour index, POWER cells
    • A2 asapify-ingest-himawari → himawari/
    • A3 asapify-ingest-gk2a → gk2a/
    • A4 asapify-environment → environment/
    • A5 MAUT and neighbour support (library)
    • A6 asapify-evaluate → score/ and clusters
    • A7 First backtest (2023)
    • C1 Base infrastructure
    Done when: The first 2023 backtest produces a list of AWAS clusters and a lead-time table against VIIRS detections.
  3. 6–9 OctSprint 2

    Verification and the agent

    • B1 Tool get_latest_viirs (FIRMS on demand)
    • B2 Tool fetch_viirs_image (GIBS true colour)
    • B3 Tool fetch_himawari_image
    • C2 ADK agent, validator, asapify-agent service
    • C3 asapify-api service
    • C4 Deploy jobs, services and Scheduler
    Done when: One backtest AWAS cluster is verified by the agent and stored in Firestore; every job and service runs on Cloud Run.
  4. 10–13 OctSprint 3

    Web and Telegram

    • D1 Operator map
    • D2 Cluster detail + ToolTrace
    • D3 Decision panel: publish / reject
    • D4 Subscriber notifications
    • C5 End-to-end test

    Status 6 Oct: the operator web app was finished early in the ktp-asapify-fe repo (mock mode); 9 Oct: Firebase sign-in, the notifications page, and the API + Notification Engine in ktp-asapify-be. This sprint connects them to pipeline data and turns sending on.

    Done when: The end-to-end flow works at the public URL: replay → AWAS → verification → operator decision → subscriber Telegram DM + inbox.
  5. 14–16 OctSprint 4

    Test and freeze

    • A8 Calibration and final backtest figures
    • C6 Agent evaluation
    • D5 UI on a 360 px screen and freeze
    Done when: Three replays run without errors; final backtest and agent-evaluation figures are recorded. Freeze 16 Oct 23:59 WIB.
  6. 17–18 OctSprint 5

    Submit

    • D6 3-minute video
    • D7 Final submission deck and submit
    Done when: The submission confirmation from Hack2Skill is received.
13 · Roles

Four roles, which can be combined

RoleMain work
A · Observation & rule engineHimawari and GK2A ingest, NASA POWER, peat mask, baselines, MAUT, neighbour support, status, backtest. Critical path.
B · VerificationVIIRS tools (FIRMS + GIBS), Himawari crops, testing access to verification data
C · Backend & AICloud Run, Scheduler, ADK agent + Gemini, API, Firestore, IAM
D · Web, bot & pitchOperator map, cluster detail, subscriber notifications, video, deck
2 people: A+B and C+D. 3 people: A, B+C, D. 4 people: one role each.
14 · 3-minute demo video

One cluster from WATCH to a message on a subscriber's phone

TimeOn screenCore narration
0:00–0:202026 forest and land fire figures + transboundary hazePeat fires smoulder underground before anyone can see them.
0:20–0:50Operator map of Sumatra + Kalimantan at nightTwo satellites, every 10 minutes, peat pixels only, 15 provinces.
0:50–1:20A pixel rises to AWAS: MAUT attribute bars + neighbour gridTransparent rules, not a black box.
1:20–1:50The agent calls VIIRS + imagery (ToolTrace)AI verifies; it does not detect.
1:50–2:15The operator publishes → Telegram DM to subscribers, then confirmation in the inboxA human holds the decision.
2:15–2:402023 backtest: AWAS vs the first VIIRS detectionEvidence of detection timing.
2:40–3:00Architecture + limitationsHonest about cloud and detection limits.
15 · Submission checklist

Before pressing submit

  • Category: Sustainability & Social Impact
  • PDF deck in English
  • Public prototype URL on Firebase Hosting (live mode), not the Vercel preview
  • The web app opens in English (default); Indonesian as the second option
  • 3-minute video that needs no sign-in
  • The sentence "AI is not the detector" in the deck and the video
  • Gemini via ADK visible in the video (ToolTrace)
  • Backtest window replays without errors
  • Demo operator account + demo subscriber account with Telegram linked for the judges
  • Backtest figures and limitations in the deck
  • Himawari and GK2A credited as "NOAA open data", all processing on Google Cloud
16 · Glossary

Short dictionary

Smouldering
Low-temperature glowing combustion inside peat, with no flame at the surface.
Brightness temperature (BT)
Temperature computed from the radiance of one satellite channel, without emissivity correction.
mir / win
The 3.8–3.9 µm channel (Himawari B07, GK2A SW038) and the 10.5–11.2 µm window channel (B14, IR105).
GK2A
GEO-KOMPSAT-2A, Korea's (KMA) geostationary satellite at 128.2° E. The second, independent observation.
MAUT
Multi-Attribute Utility Theory: each attribute becomes a 0–1 utility, then a weighted sum gives one utility score.
Neighbour support (u_N)
Share of the 8 surrounding neighbours that are also anomalous. Filters out single-pixel anomalies.
LST / SAT
In ASAPify: TS (Earth Skin Temperature) and T2M from NASA POWER, used as a 30-day hourly baseline.
AWAS
The rule-engine status that triggers AI verification. Not a confirmed fire. The word is Indonesian ("alert") and is kept in both languages.
NO_OBSERVATION
Both satellites are under cloud or data is missing. It does not mean safe.
Cluster
Adjacent AWAS pixels. The agent is called once per cluster.
VIIRS / FIRMS / GIBS
A 375 m sensor on three polar satellites; FIRMS provides its detection points, GIBS its true-colour imagery. In ASAPify: on-demand verification evidence.
strong_evidence / inconclusive
The two possible agent results. There is no "negative" result.
ADK built-in loop
The agent calls tools repeatedly until the task is done or a limit is reached.
Schema-locked
Agent output must match the JSON schema; it cannot add other fields.