Hybrid energy systems (HESs) for renewable energy sources are an interesting solution to power stand-alone systems. However, the energy management of such systems is quite complex when it relies on a central controller. With a central controller, the energy management system (EMS) has to be redesigned when the configuration is changed (for example, with the addition of a new device). This paper proposes a distributed EMS to control the energy flow in the HES. This distributed controller is based on multiagent-system (MAS) technology. With this concept, a HES is seen as a collection of different elements that collaborate to reach a global coordination. The agent approach for HES is explained, and a MAS is presented. Finally, a simulation model of the HES controlled by a MAS is proposed, and the system reaction is detailed.