Adaptive network with interconnected autonomous devices