Decentralized energy systems increasingly depend on artificial intelligence to coordinate distributed energy resources, renewable generation, flexible loads, microgrids, prosumers, and peer-to-peer energy exchanges. While AI can improve forecasting, optimization, and real-time coordination, its growing role in energy decision-making also raises significant governance concerns related to opacity, accountability, human oversight, stakeholder trust, and contestability. This article develops a socio-technical governance framework for explainable artificial intelligence in decentralized energy systems. Rather than treating explainability as a purely technical feature, the framework conceptualizes it as a governance mechanism that can support transparency, auditability, responsible intervention, and institutional accountability. Using conceptual synthesis and theory-driven framework development, the article integrates insights from explainable AI, responsible AI, socio-technical systems theory, smart grid governance, decentralized energy systems, and energy justice. The proposed framework is organized around five interrelated dimensions: technical interpretability, human oversight, institutional accountability, stakeholder trust, and socio-energy legitimacy. It shows how AI explanations can help actors understand algorithmic decisions while also enabling review, appeal, audit, and corrective action across distributed energy decision chains. The article argues that trustworthy AI-enabled energy transitions require explanations that are context-sensitive, role-specific, accessible to affected stakeholders, and embedded within accountable institutional arrangements. By positioning explainable AI as part of the broader governance architecture of decentralized energy systems, the framework contributes to debates on responsible AI, smart grid governance, and just energy transitions. It offers a conceptual foundation for designing AI-supported energy systems that remain transparent, accountable, inclusive, and socially legitimate.