To make robots cooperate with each other and work together, you have a couple of options. The first is to program them to work with information from their surroundings, with which individual robots can sort of organize and work towards a larger goal.