Abstract The continuous access of new energy to the power grid increases the complexity of the structure of the power system, which brings hidden dangers to the security of new energy power system. In order to further enhance the operation stability and security of new energy grid, a generator excitation auxiliary controller based on multi-agent is proposed in this paper. Firstly, the multi-agent model of power system is established, and then the distributed output feedback controller is designed for the generator model. The parameters of the controller are calculated and solved by H ∞ theory. Finally, the effectiveness of the controller designed is verified by simulation analysis.