The present invention provides heterocyclylamine derivatives of Formula I: wherein the variables are defined herein, that modulate the activity of phosphoinositide 3-kinases (PI3Ks) and are useful in the treatment of diseases related to the activity of PI3Ks including, for example, inflammatory disorders, immune-based disorders, cancer, and other diseases.本發明提供式I之雜環基胺衍生物:其中變數係在本文中定義,該等衍生物調節磷酸肌醇3-激酶(PI3K)之活性且適用於治療與PI3K之活性相關之疾病,包括(例如)發炎性病症、免疫基病症、癌症及其他疾病。