This paper provides a comprehensive review of solutions based on artificial intelligence (AI) in the urban energy sector, with a focus on their applications and impacts. The study employed a literature review methodology to analyze recent research on AI’s role in energy-related solutions, covering the years 2019 to 2023. The authors classified publications according to their main focus, resulting in two key areas of AI implementation: residential and individual user applications, and urban infrastructure integration for society. The objectives of this review of the literature are the following: O1: to identify trends, emerging technologies, and applications using AI in the energy field; O2: to provide up-to-date insights into the use of AI in energy-related applications; O3: to gain a comprehensive understanding of the current state of AI-driven urban energy solutions; O4: to explore future directions, emerging trends, and challenges in the field of AI-driven energy solutions. This paper contributes to a deeper understanding of the transformative potential of AI in urban energy management, providing valuable insights and directions for researchers and practitioners in the field. Based on the results, it can be claimed that AI connected to energy at homes is used in the following areas: heating and cooling, lighting, windows and blinds, home devices, and energy management systems. AI is integrating into urban infrastructure through the following solutions: enhancement of electric vehicle charging infrastructure, reduction in vehicle emissions, development of smart grids, and efficient energy storage. What is more, the latest challenges associated with the implementation of AI-driven energy solutions include the need to balance resident comfort with energy efficiency in smart homes, ensuring compatibility and cooperation among various devices, preventing unintended energy consumption increases due to constant connectivity, the management of renewable energy sources, and the coordination of energy consumption.