Cooperative multi-agent systems are being widely used in different domains.Interaction among agents would bring benefits, including reducing operatingcosts, high scalability, and facilitating parallel processing. These systemsare also a good option for handling large-scale, unknown, and dynamicenvironments. However, learning in these environments has become a veryimportant challenge in various applications. These challenges include theeffect of search space size on learning time, inefficient cooperation amongagents, and the lack of proper coordination among agents' decisions. Moreover,reinforcement learning algorithms may suffer from long convergence time inthese problems. In this paper, a communication framework using knowledgetransfer concepts is introduced to address such challenges in the herdingproblem with large state space. To handle the problems of convergence,knowledge transfer has been utilized that can significantly increase theefficiency of reinforcement learning algorithms. Coordination between theagents is carried out through a head agent in each group of agents and acoordinator agent respectively. The results demonstrate that this frameworkcould indeed enhance the speed of learning and reduce convergence time.