Grounded in self-determination theory, this study unveils the connection between developmental human resource (HR) practices and employee agility by examining employees’ workplace spirituality and thriving at work. Based on data collected from 428 employees, our empirical analysis has demonstrated that the relationship between developmental HR practices and employee agility is partially mediated by thriving at work. The results also indicate that employees’ workplace spirituality moderates the relationship among developmental HR practices, thriving at work, and employee agility. These findings have unveiled the underlying mechanism of the link between developmental HR practices and employee agility. This research offers fresh insights into the studies on employee agility and provides potential HR management recommendations for enhancing organizational agility in corporate strategic planning.