AI technologies are being applied in the energy field for energy waste reduction, renewable energy integration, and grid monitoring. In this field, machine learning can be effeciently used for energy consumption forecasting and planning, for example, to optimize renewable energy intermittency management strategies. The complexity of the energy transition, which has technological, social, environmental, economic, and geopolitical implications, can be addressed by using predictive artificial intelligence as a tool for strategic foresight.