Scientists have built an AI tool that predicts coral heat stress weeks early, giving reef managers time to act before bleaching starts.