Artificial intelligence and machine learning are increasingly seen as key technologies for building more decentralized and resilient energy grids. However, researchers must consider the ethical and social implications of these developments.