Ensuring the stability of power systems is essential to promote energy sustainability. The integrated operation of these systems is critical in sustaining modern societies and economies, responding to the increasing demand for electricity and curbing environmental consequences. This study focuses on the optimization of energy system stability through the coordination of power system stabilizers (PSSs) and power oscillation dampers (PODs) in a single-machine infinite bus energy grid configuration that has flexible AC alternating current transmission system (FACTS) devices. Intelligent control strategies using PSS and POD techniques are suggested to increase power system stability and generate supplementary control signals for both the generator excitation system and FACTS device switching control. An intelligent optimal modal control framework equipped with deep learning methods is introduced to control the generator excitation system and thyristor-controlled series capacitor (TCSC). By optimally choosing the weighting matrix Q and implementing close-loop pole shifting, an optimal modal control approach is formulated. To harness its adaptive potential in fine-tuning controller parameters, an auxiliary deep learning-based optimization algorithm with actor–critic architecture is implemented. This comprehensive technique provides a promising path to effectively reduce electromechanical oscillations, thereby enhancing voltage regulation and transient stability in power systems.