5-toluenesulfonyl-5H-pyrrolo [2,3-B] pyrazine-2-aminoformic acid tert butyl ester is a reagent for synthesizing tricyclic heterocycles and their kinase inhibitory activity. The preparation of novel nitrogen-containing tricyclic compounds as kinase inhibitors can be used for the treatment of immune and tumor diseases.