AI: Anticipation and Inference