There is so much in the news nowadays about robotics. There are articles about nano robotics in medicine where tiny machines are inserted into a human body to do things such as repair arteries. One of the challenges will be to develop a set of coordination mechanisms to allow the robots to react to changes circumstances that may not be predictable ahead of time.
Researchers at MIT have developed a beginning on such a coordination mechanism where robots are given rules to follow and then can adapt to changing situations they meet.
Watch the video from Earth Sky showing what scientists have achieved thus far.