A new bottom-up network built from randomly distributed nanowires can learn, compute, and adapt like a human brain.