This study investigates the psychological mechanisms underlying engagement in AI-mediated EFL writing from a social cognitive theory perspective. Specifically, it examines how growth mindset, ideal L2 self, and enjoyment relate to engagement. An explanatory sequential mixed-methods design was employed. In the quantitative phase, survey data were collected from 519 university EFL learners from ethnic minority regions in China and analyzed using structural equation modeling. In the qualitative pha