Dynamic and flexible metalâorganic frameworks (MOFs) that respond to external stimuli, such as stress, light, heat, and the presence of guest molecules, hold promise for applications in chemical sensing, drug delivery, gas separations, and catalysis.