Nowadays, buildings account for almost 40% of the overall energy consumption. Thus, it is essential to involve a broad range of stakeholders throughout the building lifecycle, with the development of innovative, cross-cutting energy services, which exploit the ever-increasing volume of available data. In this paper we present a novel library of AI-based data-driven services for the built environment with the aim of addressing decarbonization challenges and of facilitating datadriven decision making. The issue of handling energy-related data in an efficient way is tackled, incorporating them in userfriendly, micro-services oriented technological components. The architecture of this AI-base library is thoroughly presented covering learning, optimization and simulation tasks. showcase our approach to energy resource management.