A rapid entry to amino acid derived diverse 3,4-dihydropyrazines and dihydro[1,2,3]triazolo[1,5-a]pyrazines through 1,3-dipolar cycloaddition.