The present invention relates to novel amidopyridine derivatives. More specifically, the present invention provides a medicinal agent which is useful as a prophylactic or therapeutic agent for diseases based on the production of cytokines from T cells, comprising as the active ingredient an amidopyridine derivative or a pharmacologically acceptable salt thereof. Provided are an amidopyridine derivative of the following general formula (I):wherein each symbol has the same meaning as defined in the description, or a pharmacologically acceptable salt thereof.