Artificial intelligence (AI) is poised to bring about transformative changes across all sectors of society. These changes offer significant opportunities for advancing sustainability but also come with inherent risks and challenges. Sweden aims to be a global leader in AI while concurrently pursuing leadership in climate action. Are these goals compatible? This course delves into AI from a sustainability perspective, exploring how this technology can either enhance or hinder sustainability across environmental, social, and economic dimensions, depending on its use.