In this paper, we introduce a self-assembling and self-organizing artifact, called a Swarm-Bot, composed of a swarm of s-bots, mobile robots with the ability to connect to and to disconnect from each other. We discuss the challenges involved in controlling a Swarm-Bot and address the problem of synthesizing controllers for the Swarm-Bot using artificial evolution. Specifically, we study
... [Show full abstract] aggregation and coordinated motion of the Swarm-Bot using a physics-based simulation of the system. Experiments, using a simplified simulation model of the s-bots, show that evolution can discover simple but effective controllers for both the aggregation and the coordinated motion of the Swarm-Bot. Analysis of the evolved controllers shows that they have properties of scalability, that is, they continue to be effective for larger group sizes, and of generality, that is, they produce similar behaviors for configurations different from those they were originally evolved for. The portability of the evolved controllers to real s-bots is tested using a detailed simulation model which has been validated against the real s-bots in a companion paper in this same special issue.