Swimming robots that join together to make larger machines could help underwater rescues