The present invention relates to compounds which may be useful as inhibitors of PTPN11 for the treatment or prevention of cancer and other PTP-mediated diseases. Disclosed herein are new compounds and compounds based on pyrazolopyrazines and their application as pharmaceuticals for the treatment of disease.