Scientists create metamaterials that learn shapes, adapt behavior, and move without central control like living systems.