The present invention relates to a novel family of covalent kinases inhibitors, compounds of this class have been found to have inhibitory activity against members of the TEC kinase family, particularly ITK and/or TXK, BTK, TEC and/or combinations thereof. The present invention is directed to a compound of Formula I or pharmaceutically acceptable salt, solvate, solvates of salt, stereoisomer, tautomer, isotope, prodrug, complex or biologically active metabolite thereof, for use in therapy.