The present invention relates to imidazolidine shown in a kind of logical formula (I) simultaneously [1,5-a] Pyrazine derivative, preparation method and pharmaceutical composition containing the derivative as well as therapeutic agent are especially as the purposes of inhibitors of dipeptidyl IV, and definition is the same as that in the specification for each substituent group in formula of (I).本發明涉及一種通式(I)所示的四氫咪唑并[1,5-a]吡嗪類衍生物、其製備方法以及含有該衍生物的藥物組合物、以及其作爲治療劑特別是作爲二肽基肽酶IV抑制劑的用途,其中通式(I)中的各取代基的定義與說明書中的定義相同。