Disclosed herein is a compound of Formula (AIII) or (III), or a stereoisomer thereof, or a pharmaceutically acceptable salt thereof, and pharmaceutical compositions comprising thereof. Also disclosed is a method of treating HPK1 related disorders or diseases by using the compound disclosed herein.本文公開了一種式(AIII)或(III)的化合物、或其立體異構物、或其醫藥上可接受的鹽,以及包含其的醫藥組合物。還公開了通過使用本文公開的化合物治療HPK1相關障礙或疾病的方法。