An insect metabolite containing the little known pyrimido[4,5-b][l,4]diazepine ring system has been found to act as an effective mimic of tetrahydrobiopterin in its ability to modulate the affinity of interleukin 2 (IL-2) for its receptors on human T cells. Semi-empirical molecular orbital calculations reveal that while tetrahydrobiopterin has considerable flexibility, the pyrimidodiazepine has rather few conformational options and offers a useful model for exploring the nature of the pterin binding site.