12313The present invention provides bicyclic heterocyclyl kinase enzyme inhibitor compounds of formula (I) which are therapeutically useful as kinase inhibitors particularly IRAK4 inhibitors. wherein A Y Z X X X R R m n and p have the meanings given in the specification and pharmaceutically acceptable salt or stereoisomer thereof that are useful in the treatment and prevention of diseases or disorder in particular their use in diseases or disorder mediated by kinase enzyme particularly IRAK4 enzyme. The present invention also provides pharmaceutical composition comprising at least one of the compounds of compound of formula (I) together with a pharmaceutically acceptable carrier diluent or excipient therefor.