An approach that identifies, and predicts compatibility between, chemical and enzyme-sequence spaces can streamline and reduce risk in the discovery of enzymes that can catalyse a desired reaction.