The present invention relates to pharmaceutically and/or diagnostically active compounds, in particular peptide analogs (peptidomimetics), which can be reversibly controlled between an active and an inactive state by irradiation with light of different wavelengths. The present invention further relates to an intermediate compound usable in the manufacture of such pharmaceutically and/or diagnostically active compounds, as well as a manufacturing method thereof.