1. Introduction
The swift progression of artificial intelligence (AI) in education is revolutionizing learning settings through the facilitation of adaptive, personalized, and data-driven instruction. AI-powered educational solutions, including intelligent tutoring systems, recommendation algorithms, and adaptive content platforms, provide significant potential to enhance learning outcomes and democratize educational access [
1,
2]. Nonetheless, despite immediate efficiency improvements, a fundamental inquiry emerges: Do AI-driven technologies foster long-term educational sustainability? Educational sustainability involves cultivating resilient, engaged, and future-ready learners and is increasingly regarded as a strategic goal for educational systems in the digital era [
3,
4]. Although there is increasing focus on AI in education, research has not thoroughly examined how these tools promote sustainable learning environments and the psychological and contextual conditions under which they are most effective [
5,
6].
To fill this gap, the current study combines sociotechnical systems theory (STS), self-determination theory (SDT), and resilience theory. STS provides a foundational paradigm for examining the interaction between technology (AI tools) and the social system (learners and institutions), asserting that optimal outcomes occur when technical systems align with human needs and organizational structures [
7]. However, technology alone is inadequate; student learning engagement is a pivotal feature that influences the effectiveness of AI tools in achieving significant educational outcomes [
8,
9]. This study, informed by self-determination theory (SDT), which highlights autonomy, competence, and relatedness as psychological motivators [
10], places learning engagement as a mediating mechanism via which AI technologies impact educational sustainability. The growing complexity and volatility of digital learning environments necessitate that learners exhibit the adaptive capacity to manage technological uncertainty, as outlined by resilience theory [
11,
12]. This study presents digital resilience as a mediator that can either enhance or diminish the relationship between AI and sustainability, contingent upon learners’ capacity to adapt to and overcome digital challenges.
Despite theoretical progress, substantial empirical deficiencies persist. Many current studies focus on the technical effectiveness of AI tools, neglecting to analyze how learner characteristics and engagement behaviors influence their long-term educational impact [
9,
13]. The existing literature does not provide a comprehensive model that integrates internal psychological mechanisms, such as engagement, with external contextual buffers, like resilience, to elucidate the intricate dynamics of AI-supported sustainable education [
14]. Furthermore, educational institutions and technology developers are pursuing evidence-based strategies to ensure that AI implementations transcend traditional pedagogy, fostering sustained, equitable, and meaningful learning outcomes. In this context, comprehending the relationship among technology, learner engagement, and resilience is crucial for the development of effective and inclusive educational systems [
15,
16].
Therefore, the study seeks to investigate the relationship between AI-driven learning tools and educational sustainability, investigate the mediating impact of student learning engagement, and assess the moderating role of digital resilience. Based on STS, SDT, and resilience theory, this study develops a moderated mediation model that provides a theoretically sound and empirically supported framework to further discussion on sustainable education in the context of intelligent technology.
5. Theory
In order to explain the mechanisms connecting AI-driven learning tools to educational sustainability, this study embraced the linkages between sociotechnical systems theory (STS), self-determination theory (SDT), and resilience theory. STS was employed to frame AI not solely as a technical instrument but as an integral element within a multifaceted educational system comprising students, educators, infrastructure, and institutional support. It emphasized that attaining long-term achievements requires effective technology integration with organizational and human elements. SDT was implemented to illustrate how AI-driven learning fulfills students’ fundamental psychological requirements for autonomy, competence, and relatedness, thereby enhancing student engagement. This interaction was positioned as a crucial mediation mechanism that promoted deeper learning and long-term sustainability outcomes, including perseverance and self-directed learning. Resilience theory contributed to considering the variation in students’ abilities to adapt to digital educational environments. Also, it particularly underscored digital resilience as a moderating variable that either amplifies or diminishes the impact of AI tools on engagement and sustainability, dependent on students’ ability to navigate technological demands and interruptions.
To enhance clarity, sociotechnical system theory (STS) provided the systemic foundation by emphasizing that educational sustainability emerged from the interaction between technological infrastructure, human actors, and institutional arrangements. Within this sociotechnical context, self-determination theory (SDT) explained the psychological mechanism through which AI-driven learning tools (AI-LTs) enhance student engagement by supporting learners’ needs for autonomy, competence, and relatedness. Digital resilience, which is grounded in resilience theory (RT), interacted dynamically within this system, shaping how learners respond to technological demands, disruption, and evolving AI environments. Rather than functioning as a fixed personal trait, digital resilience operated as a context-sensitive and adaptive capability that strengthens or weakens the effects of AI-LTs on engagement and educational sustainability. When AI tools are embedded in supportive sociotechnical systems and aligned with SDT principles, the higher levels of digital resilience enable learners to sustain motivation, maintain engagement, and adapt productively to challenges. Consequently, RT acts as a dynamic moderating force that links systemic conditions (STS) and motivational processes (SDT) to long-term educational sustainability outcomes.
7. Methodology
This research employed a quantitative methodology to examine the correlation between educational sustainability and AI-driven learning instruments. Furthermore, it investigated the mediating function of student learning engagement and the moderating effect of digital resilience. A sample of 387 university students from Saudi Arabia, including Jeddah, such as King Abdulaziz University (KAU) and Dar Al-HEKMA University; Madinah, such as Taibah University and Islamic University of Madinah; Makkah, such as King Abdullah University of Science and Technology (KAUST), and Yanbu; such as Taibah University, engaged in several academic programs, was utilized for data collection. Also, the AI-powered learning tools investigated at these universities are broadly classified as AI-powered educational assistance systems integrated into learning management systems (LMSs) and standalone intelligent platforms. The simple random sampling was implemented. A structured questionnaire was implemented, which consisted of scales that had been previously validated. Each item was evaluated on a five-point Likert scale, with one representing firm disagreement and five representing strong agreement. AI-driven learning tools were evaluated using items adapted from [
44]. These items include the following: the AI tools utilized in my learning environment personalize my educational experience, I receive prompt and valuable feedback from AI-based platforms, AI systems modify learning materials according to my performance and progress, I find AI-powered tools facilitate my comprehension of challenging subjects, AI systems suggest learning content that aligns with my needs and I regularly employ AI tools to assist with my academic tasks and overall, and AI integration has enhanced the quality of my learning experience.
Student learning engagement was assessed using the scale developed by [
45] with these items: I put a lot of effort into learning tasks that involve AI, I feel emotionally involved when interacting with AI-based learning tools, I try to relate what I learn through AI tools to my everyday life, I participate actively in AI-assisted learning activities, I stay focused when using AI tools for learning, I feel more curious and interested when AI is part of the learning process, and I often seek out extra resources based on recommendations from AI platforms. Digital resilience was evaluated using items adapted from [
46,
47]. These items included the following: I can stay calm when faced with technical difficulties during online learning, I am confident in my ability to adapt to new digital learning platforms, I can solve most technical problems that arise during AI-based learning, I remain motivated even when technology fails or creates challenges, I learn from past digital setbacks to perform better in future learning tasks, I believe I can overcome obstacles when using unfamiliar AI tools, and I can maintain focus and productivity despite digital disruptions.
Educational sustainability was evaluated using items adapted from [
48]. These items included the following: My current education helps me develop skills needed for lifelong learning, I am learning to think critically and solve real-world problems, My education prepares me to contribute to a more sustainable future, I am encouraged to consider social and environmental issues in my learning, I believe the knowledge I gain now will remain valuable in the future, I am developing adaptability and resilience as part of my learning process, and My learning environment promotes inclusion, equity and long-term growth. This reflects the enduring effects of learning, social responsibility, and sustainable thinking cultivated via education. A pilot test confirmed the clarity and reliability of all items, with Cronbach’s alpha values exceeding the 0.70 threshold for each construct. The study intended to use the Structural Equation Modeling application to utilize more robust analytical techniques, but the team members lack experience in the AMOS application. Therefore, SPSS and the PROCESS macro were used to analyze the data. To test the proposed associations, bootstrapping approaches were used for mediation and moderated mediation analyses through Models 4 and 7, respectively. The appropriate institutional review board provided ethical permission, and each participant was made to understand that their participations were completely voluntary and private.
As shown in
Table 2, AI-driven learning tools by universities, this structured description provides comprehensive information on the AI-driven learning tools employed in the selected universities.
8. Data Analysis and Result
As shown in
Table 3, the descriptive statistics, the study sample comprised 387 university students from four principal cities in Saudi Arabia, which are Jeddah, such as King Abdulaziz University (KAU) and Dar Al-HEKMA University; Madinah, such as Taibah University and Islamic University of Madinah; Makkah, such as King Abdullah University of Science and Technology (KAUST); and Yanbu, such as Taibah University. The responses indicated that 54.3% were males and 45.7% were females, with the gender distribution relatively balanced. The majority of participants (50.4%) were aged between 18 and 24, followed by 42.6% aged between 25 and 30, with a lower proportion (7.0%) aged 31 or older. This indicates that the majority of participants were young students. The preponderance of the students was at advanced stages of their studies. While 25.8% were in their fourth year of undergraduate studies, 33.6% were enrolled in master’s degree programs, and 7.8% of the sample consisted of first- or second-year undergraduates. That indicates students are aware of AI learning tools. 46.5% of respondents reported using AI learning tools for 1–2 years, 31.0% for less than a year, and 22.5% for three years or more. Jeddah had the highest percentage of participation (40.8%), followed by Madinah (26.4%), Makkah (24.6%), and Yanbu (8.3%).
As shown in
Table 4, the descriptive statistics indicated that participants recorded elevated mean scores across all categories, with student engagement (M = 3.98) ranking highest, followed by AI-driven learning tools (M = 3.89), educational sustainability (M = 3.81), and digital resilience (M = 3.78). The lowest standard deviations were between 0.24 and 0.30, signifying restricted variability in answers. The skewness and kurtosis values for all variables are within the permissible range of ±1, indicating that the data were approximately regularly distributed and appropriate for parametric analyses.
As shown in
Table 5, the Shapiro–Wilk test was applied to examine whether the distributions of the four key constructs, AI-driven learning tools (AI-LTs), student engagement (SE), digital resilience (DR), and educational sustainability (EDS), conformed to the assumption of normality. The findings indicated that all
p-values were beyond the conventional criterion of 0.05, namely AI-LTs (
p = 0.186), SE (
p = 0.757), DR (
p = 0.501), and EDS (
p = 0.572). These non-significant values suggested that the null hypothesis of normality is retained for each variable, indicating that their distributions do not significantly deviate from normality. Consequently, the data for all four constructs can be considered approximately normally distributed.
As shown in
Table 6, the reliability analysis demonstrated that all four constructs in the study demonstrated strong internal consistency, with Cronbach’s alpha values exceeding 0.70. Student engagement (SE) had the highest reliability (α = 0.902, average loading = 0.754), followed by digital resilience (DR) (α = 0.897, loading = 0.744), AI-driven learning tools (AI-LTs) (α = 0.881, loading = 0.743), and educational sustainability (EDS) (α = 0.849, loading = 0.728). These results confirm that the measurement instruments used were reliable and consistently captured each construct’s intended dimensions.
As shown in
Table 7, the Exploratory Factor Analysis (EFA) revealed that a clear four-factor structure corresponded to AI-driven learning tools (AI-LTs), student engagement (SE), digital resilience (DR), and educational sustainability (EDS). All items demonstrated strong construct validity (≥0.70) with minimal cross-loadings, as evidenced by their strong loadings on their intended constructs.
As shown in
Table 8, the correlation matrix, which revealed that AI-driven learning tools (AI-LTs) are moderately and positively associated with student engagement (SE) (r = 0.520,
p < 0.01) and educational sustainability (EDS) (r = 0.470,
p < 0.01), suggested that the use of AI tools enhances both learner involvement and perceptions of sustainable educational outcomes. Student engagement also showed a strong positive correlation with EDS (r = 0.610,
p < 0.01), indicating its potential mediating role in translating the benefits of AI integration into long-term educational value. Further, digital resilience (DR) exhibited a moderate correlation with both SE (r = 0.460,
p < 0.01) and EDS (r = 0.490,
p < 0.01), therefore confirming its conceptual function as a moderator that may either mitigate or enhance the influence of AI tools and engagement on sustainability outcomes. All correlations were below the 0.70 threshold, confirming discriminant validity and the structural integrity of the constructs for further multivariate analysis.
Correlation is significant at the 0.01 level (2-tailed). Values are Pearson correlation coefficients (r).
As shown in
Table 9, the multiple regression analysis revealed that all three predictors, AI-driven learning tools (AI-LTs), student engagement (SE), and digital resilience (DR), significantly contribute to educational sustainability (EDS). Student engagement was identified as the most significant predictor (β = 0.428,
p < 0.001), underscoring its essential function in promoting sustainable learning. Digital resilience significantly influenced outcomes (β = 0.227,
p = 0.001), indicating that students capable of adapting to technological hurdles are more effectively equipped for enduring learning. AI-LTs significantly contributed (β = 0.212,
p = 0.004), confirming the positive effects of intelligent, personalized learning environments. These results endorsed a comprehensive approach that combines technological and psychological components to improve the education sustainability. These findings also supported a comprehensive approach where both technological and psychological elements collaboratively enhance educational sustainability.
As shown in
Table 10, the model summary indicates that the multiple regression analysis revealed a statistically significant model explaining educational sustainability (EDS) through AI-driven learning tools (AI-LTs), student engagement (SE), and digital resilience (DR). The model demonstrated a robust overall relationship (R = 0.695) and accounted for 48.3% of the variance in EDS (R
2 = 0.483 and Adjusted R
2 = 0.478). The predictive validity of the model was verified by the F-statistic (119.29,
p < 0.001). These results indicated that the combined influence of AI-LTs, SE, and DR significantly contributes to understanding and predicting sustainable educational outcomes.
As shown in
Table 11, the mediation analysis, which was conducted using the PROCESS Macro (Model 4), revealed that student engagement (SE) significantly mediates the relationship between AI-driven learning tools (AI-LTs) and educational sustainability (EDS). The total effect of AI-LTs on EDS was significant (B = 0.372,
p < 0.001). The direct effect declined but stayed significant when SE had been considered (B = 0.182,
p = 0.004), suggesting partial mediation. The indirect effect through SE was also significant (B = 0.190; 95% CI [0.123, 0.270]). These findings show that AI tools enhance educational sustainability both directly and indirectly by fostering student engagement, which acts as a critical psychological pathway in sustainable learning.
As shown in
Table 12, the moderation analysis using PROCESS Macro Model 1 revealed that digital resilience (DR) significantly strengthens the positive relationship between AI-driven learning tools (AI-LTs) and educational sustainability (EDS). The whole model was robust (R
2 = 0.521,
p < 0.001), and the interaction term was significant (B = 0.103,
p = 0.003). These results indicate that students with higher digital resilience benefit more from AI tools, enhancing sustainable learning outcomes, whereas those with lower resilience may not experience the same advantages, emphasizing the critical role of resilience in AI-supported education.
9. Discussion
The results validated Hypothesis 1, which stated that educational sustainability (EDS) and AI-driven learning tools (AI-LTs) are positively correlated. AI-driven learning tools (AI-LTs) are increasingly recognized as vital components in the advancement of modern sustainable education systems [
3,
31]. Students’ capacity to generate personalized and adaptable learning experiences allows them to engage with content that is tailored to their unique needs, abilities, and developmental stages. Not only do these features enhance academic outcomes, but they also promote inclusivity and equity in the educational process, including performance-based recommendations, prompt and actionable feedback, and AI assistance in understanding complex subjects. These tools reduce the one-size-fits-all limitation of traditional instruction by adapting content in real time, thereby increasing engagement and minimizing dropout risk [
49,
50].
Additionally, consistent use of AI tools to assist with academic assignments fosters the growth of digital literacy, self-directed learning, and long-term self-control, all of which are critical for maintaining learning in fast-paced, technologically advanced settings. This aligns with broader goals of educational sustainability, which emphasize not just access to education, but its adaptability, continuity, and long-term impact [
14,
30,
51]. The effective deployment of AI-driven learning tools (AI-LTs) presents a feasible strategy for fostering lifelong learners capable of excelling in contemporary and future knowledge economies, as the digital revolution persistently transforms education [
31,
52]. The empirical evidence supporting Hypothesis H1 supports the idea that AI technologies can significantly advance sustainable teaching practices when they are carefully developed and applied.
Nevertheless, certain studies contend that AI tools, despite theoretical promise, frequently underperform in practice due to pedagogical misalignment, technological biases, or inadequate integration into existing curricula [
53,
54]. While students may report advantages such as personalized content or real-time feedback, these experiences may be superficial or task-oriented, lacking the depth required for transformational, sustainable learning [
55]. Furthermore, excessive dependence on AI systems may diminish human connection and critical discourse, which are essential components of comprehensive education [
56]. In addition, there are concerns that the AI’s advantages are unequally distributed, favoring students in institutions with adequate resources while marginalizing those with inadequate digital access or support. Thus, while AI-LTs hold potential for enhancing educational sustainability, their actual impact depends heavily on ethical design, equitable implementation, and meaningful pedagogical integration [
57,
58].
This study’s findings also offer strong empirical evidence for the Hypothesis H2 that student engagement greatly enhances educational sustainability. The findings indicate a robust positive correlation between the two dimensions, with student involvement identified as the most significant predictor of educational sustainability in the regression model. This implies that when students are emotionally, behaviorally, and cognitively engaged, they are more likely to acquire critical thinking skills, absorb sustainable values, and engage in learning activities that tackle long-term societal, environmental, and economic prosperity issues [
27,
28]. The findings showed a significant influence, highlighting the fact that encouraging engagement is a strategic approach to incorporating sustainability into education rather than only an academic objective [
25]. These results align with contemporary educational frameworks that emphasize experiential learning, learner-centered environments, and the integration of real-world problem-solving as essential components for achieving the goals of education for sustainability (ESD) [
20]. Consequently, educational institutions seeking to advance sustainability should emphasize tactics that enhance student engagement, motivation, and interaction with significant future-focused material.
Moreover, this study proposed Hypothesis H3 that student learning engagement serves as a mediating mechanism in the relationship between AI-driven learning tools and educational sustainability. The concept of engagement is recognized as a pivotal psychological conduit through which educational technologies, particularly AI-based tools, impact sustained learning outcomes [
36,
59]. Learners are more likely to exhibit behaviors and perspectives that are conducive to educational sustainability when they engage with AI systems in an active and meaningful manner, such as a dedication to lifelong learning, reflective thinking, and perseverance. When learners interact actively and meaningfully with AI systems, they are more likely to display behaviors and mindsets conducive to educational sustainability, including perseverance, reflective thinking, and a commitment to lifelong learning. For example, students who proactively engage with AI-generated content, establish emotional connections with digital platforms, or invest effort in AI-supported tasks tend to demonstrate a greater level of engagement in their learning journey. These engagement patterns facilitate the enduring acquisition of knowledge and the development of independent, future-oriented learning practices [
39].
Furthermore, when learners connect AI-assisted experiences to real-world situations or autonomously seek further knowledge based on AI recommendations, they exhibit self-directed and future-oriented learning, which are essential traits of sustainable education [
38,
60]. This perspective is based on self-determination theory (SDT), which posits that learners are more likely to engage meaningfully when their needs for autonomy, competence, and relatedness are met, conditions frequently satisfied by adaptive, personalized AI environments [
35]. Also, the affective and behavioral dimensions of engagement, such as feeling curious when using AI and maintaining focus during AI-supported learning, are not just indicative of satisfaction but are predictors of sustainable cognitive outcomes. AI-LTs, when well-designed, create interactive and personalized experiences that can stimulate learners’ intrinsic motivation and metacognitive awareness. Thus, engagement functions as a mediator, converting the technological advantages of AI into tangible educational sustainability results, including critical reflection, adaptive learning, and ongoing knowledge application [
14]. This study asserts that the efficacy of AI-LTs in promoting educational sustainability depends on its ability to enhance student engagement, which subsequently encourages sustainable learning practices.
However, the mediation role of engagement lacks broad support. Critics argued that mere involvement may not reliably clarify the influence of AI technologies on sustainable learning. Engagement is a multifaceted construct that can manifest superficially, for example, as task completion or time-on-task without indicating genuine understanding or long-term learning transfer [
56]. Although students who frequently utilize AI tools or heed their suggestions may appear engaged, these behaviors can be the product of novelty effects or performance-based incentives rather than deep learning motivation. Also, engagement is influenced by various external factors such as instructional quality, evaluative pressure, and institutional culture, which AI solutions may not adequately address. Therefore, depending on SE as an intermediary may minimize the intricate relationships between technology utilization and sustainability results. Furthermore, not all students derive comparable advantages from AI-enhanced participation; individuals with limited digital literacy, apprehension about AI, or adverse previous experiences may withdraw despite the presence of intelligent technologies [
32].
In conclusion, although there is significant theoretical and empirical evidence supporting the mediating function of student engagement in the AI–sustainability link, its effect is contingent. Engagement can effectively bridge AI capabilities and sustainable learning, but only when AI tools are pedagogically grounded, culturally relevant, and equitably implemented. Therefore, educators and developers must go beyond surface-level interaction metrics and design AI systems that cultivate authentic, deep, and inclusive engagement to fully realize educational sustainability [
3]. Furthermore, the findings of this study supported hypothesis H4, which posited the moderating effect of digital resilience on the relationship between AI-driven learning tools and educational sustainability. Also, digital resilience emerged as a critical individual capacity that influences the effectiveness of AI-driven learning tools in fostering educational sustainability. Digital resilience, which is defined as a learner’s capacity to manage, adjust to, and bounce back from digital problems, can amplify the benefits of AI technologies by guaranteeing that students continue to be involved and productive despite technological setbacks [
61]. Digital resilience has been proposed to function as a moderator, strengthening the relationship between AI-LTs and EDS so that students with high levels of digital resilience benefit more from AI-driven learning.
Learners who report that they can stay calm during technical difficulties, adapt confidently to new platforms, and solve most technical problems are better equipped to navigate the dynamic nature of AI-based learning environments. These abilities not only prevent disruption in learning continuity but also promote self-efficacy and digital autonomy, key pillars of sustainable learning [
62]. Moreover, students who remain motivated despite technical failures, learn from digital setbacks, and overcome obstacles with unfamiliar AI tools demonstrate a growth mindset and long-term learning orientation, both of which are essential to sustaining academic development in uncertain or evolving digital contexts [
63,
64]. These behaviors corresponded with resilience theory, which asserted that sustainable outcomes are predicated on the presence of adaptive capacity in the presence of disruption, rather than the absence of it. Although AI tools are robust, they are susceptible to user friction and system failures. Students’ ability to stay focused and productive in the face of digital distractions can impact the long-term educational benefits of these tools [
11,
65].
Nevertheless, the moderating function of digital resilience is not without criticism. Although theoretically compelling, some scholars contend that the emphasis on resilience may inadvertently transfer responsibility for successful AI integration onto individual learners, thereby disregarding structural and systemic barriers that impede equitable technology use [
66]. For instance, even students who are resilient may encounter difficulties if they are confronted with persistent infrastructure issues, inadequate institutional support, or inadequately designed AI systems. In such instances, resilience alone is insufficient to address the broader contextual deficiencies [
67]. Additionally, measuring digital resilience through self-reports of confidence or coping may not accurately capture students’ actual abilities to resolve technical issues or sustain learning. Critics also caution against treating resilience as a static trait, when in fact it is situational and socially influenced, dependent on factors such as peer support, digital literacy training, and prior experiences with technology [
68].
Moreover, overemphasizing resilience risks normalizing technological dysfunction. If students are frequently forced to adjust to poorly executed systems or frequent disruptions, they may become fatigued, disengaged, or experience digital burnout. In such contexts, resilience may mask systemic failures and undermine the objectives of educational sustainability [
69,
70]. Consequently, although digital resilience can improve students’ access to AI technologies, its moderating effect depends on the availability of inclusive digital regulations, well-designed platforms, and encouraging learning environments.