Coolcore

Ask the Heat Agent

Track 06 (Agentic AI) proof point — stretch workflow.

Live-sourced data: this chat calls a real model (OpenRouter, Gemma) with tool access to the 3 tools below. Ask it a question and it decides which tool(s) to call — expand “called ...” under its reply to see the actual tool calls and results, not just the final answer.

Try it — ask about your shift, routes, or crew

No messages yet — try asking something.

Available tools (real output, demo data)

get_shift_plan()

Get today's worst heat-exposure window, realistic alternatives, and the overnight recovery outlook.

{
  "worstWindow": {
    "startHour": 13,
    "endHour": 15,
    "band": "danger"
  },
  "alternatives": [
    "If any of your outdoor tasks can move, shift them outside the 1 PM–4 PM window — earlier or later in your shift is measurably less exposed.",
    "If your route has a bus option that arrives outside 1 PM–4 PM, take that one instead of waiting through the worst of it.",
    "Ask your supervisor whether your shift start/end can flex by an hour to dodge the 1 PM–4 PM window."
  ],
  "recoveryNarrative": "Only 1 of the last 24 hours dropped below the overnight recovery threshold."
}

compare_routes()

Compare the two demo transit routes by cumulative heat dose and say which is cooler.

{
  "doseA": 57.559999999999995,
  "doseB": 38.76,
  "recommended": "St Charles Ave corridor (illustrative)",
  "routeAName": "Freret St corridor (illustrative)",
  "routeBName": "St Charles Ave corridor (illustrative)"
}

get_crew_board()

Get current work/rest guidance for one or all outdoor worksites.

{
  "worksites": [
    {
      "name": "Elysian Fields warehouse build-out",
      "tier": "high",
      "guidance": "More frequent breaks, closer supervision."
    },
    {
      "name": "Freret St streetscape crew",
      "tier": "moderate",
      "guidance": "Increase water/rest frequency, monitor workers."
    }
  ]
}