Inter- and Intra-Robot Cooperation in a Multi-Agent System