The present invention provides compounds of formula I
and pharmaceutically acceptable salts thereof. The formula I compounds inhibit tyrosine kinase activity of Trk receptors such as TrkA, TrkB and TrkC thereby making them useful as antiproliferative agents for the treatment of cancer and other diseases.