The usage of renewable energy systems increases worldwide due to extinction of conventional sources and also the absence of some serious environmental effects such as global warming, ozone layer depletion etc. These renewable power systems are not able to satisfy the load continuously due to seasonal availability of the resources. A Hybrid Power System (HPS) formed with renewable energy sources are a solution to provide power for stand-alone electrical loads. However, the energy management in HPS is quite complex as it relies on a central controller. This paper proposes a distributed Energy Management System (EMS) to control the energy flow in the PV/Wind/Fuel Cell/Battery HPS based on multi-agent system (MAS) technology. With this concept, a HPS is seen as a collection of different elements called agents, collaborates to reach a global coordination to satisfy the demand in the system. The Algorithm of the Multi-Agent System technique for HPS has been implemented using MATLAB/Simulink environment. The results show that the algorithm is effectively working for a HPS to provide power to the load and control power flow between various elements of the system.