AI under uncertainty