In this paper, an agent-based decentralized control model for islanded microgrids is proposed, which consists of a two-layer control structure. The bottom layer is the electrical distribution microgrid, while the top layer is the communication network composed of agents. An agent is regarded as a local control processor together with communication devices, so agents can collect present states of distributed generators and loads, when communication lines are added between two layers. Moreover, each agent can also exchange information with its neighboring agents of the network. After information is processed according to control laws, agents adjust the production of distributed generators to which they connect. The main contributions of this paper are (i) an agent-based model for decentralized secondary control is introduced and the rules to establish the communication network are given; (ii) a systematic method is presented, which can be used to derive a set of control laws for agents from any given communication network, where only local information is needed. Furthermore, it has been seen that the output power supplied by distributed generators satisfies the load demand in the microgrid, when agents use the proposed control laws. Finally, the simulation results show that frequency and voltage fluctuations are small and meet the requirements. ).Manuscript received XX, 2014; revised XX, 2015. between two layers, and then exchanges the information with its neighboring agents. After all the information is processed according to control laws, agents adjust the output power of the DGs at the next time step in order to balance the supplies and demands in the MG.Further, we formulate the rules for how a communication network is constructed. Once an MG is given, many communication networks may be built in terms of the rules, and apparently the control laws for agents on each communication network are different. Therefore, we present a systematic method to derive a set of control laws for agents from any given communication network, where only local information is needed. Furthermore, we prove a theorem that shows the output power supplied by DGs equals the load demand in the MG, if each agent applies the control law that is derived. To evaluate the performance of our control laws, four cases are designed, in which the illumination intensity, the wind speed or/and the load demand change over time. Finally, simulations are carried out in MATLAB/Simulink and the results show that the frequency and the voltage satisfy the requirements, and the system remains stable, even in extreme conditions. Compared with a centralized control method, the proposed decentralized method only needs local information, which reduces the communication complexity.The rest of the paper is organized as follows. In Section II, the two layer control model with an agent-based communication network is introduced in detail. Using the steps and rules given, one can construct an agent-based communication network as the top layer of the control model, and ...