The present invention relates to compounds of formula (I), or their isotopic forms, stereoisomers, tautomers or pharmaceutically acceptable salt (s) thereof as muscarinic M1 receptor positive allosteric modulators (M1 PAMs). The present invention describes the preparation, pharmaceutical composition and the use of compound formula (I).