The present invention relates to the quinoline amides compound of formula (I), it is M1 receptor positive allosteric modulators, and the disease for being directed to M1 receptors, such as Alzheimers disease, schizophrenia, pain or sleep disturbance can be treated with what. The present invention also relates to the pharmaceutical composition comprising the compound and the compound and composition in treatment by the purposes in the receptor-mediated diseases of M1.本發明涉及式(I)的喹啉酰胺化合物其是M1受體正性變構調節劑,且可用於治療其中涉及M1受體的疾病,諸如阿爾茨海默氏病、精神分裂症、疼痛或睡眠障礙。本發明也涉及包含所述化合物的藥物組合物和所述化合物和組合物在治療由M1受體介導的疾病中的用途。