In this paper, a novel artificial intelligence (AI)-based energy management strategy across three levels is designed for isolated microgrids. During the initial phase, AI is not employed. A precise and rapid-response microcontroller, namely the FPGA, is utilized. The performance of the FPGA is experimentally investigated under various operation conditions. In the second phase, AI plays a crucial role in enhancing both the reliability and economic effectiveness of the system. The multi-objective snake optimization (SO) algorithm is employed to attain high technical and economic performance within predefined constraints. Three objective functions are involved in this phase, focusing on the minimization of operational costs, loss of power supply probability (LPSP), and electrical energy losses in the dummy load. In the third level, a novel control strategy-based coordinated model predictive control is presented as part of the proposed AI-embedded energy management strategy. A hybrid optimization algorithm combining the multilayer feed-forward neural networks (MFFNN) and SO algorithms is proposed to predict the output power of backup sources. The microgrid under consideration is supported by a hybrid backup system comprising battery energy storage systems (BESS), electric vehicle (EV) batteries, and fuel cells (FCs). The effectiveness of this hybrid algorithm is evaluated through comparison with many other algorithms, aiming to assess its performance in accurately predicting the output power of backup sources. The results show the feasibility of using AI to achieve efficient operation and energy management in microgrids. The proposed MFFNN-SO algorithm achieves the best performance, as the normalized root mean square error (NRMSE) for FCs, BESS, and EV is about 0.1296 %, 0.0094 %, and 0.1304 %, respectively. The SO algorithm achieves a notable 6.3361% reduction in operating costs, resulting in a final operational cost of 166.4811 $.