Currently, cases of bullying and violence in secondary schools in Indonesia are showing an increasing trend. Therefore, the development of a proactive early detection system focused on the welfare and mental health of students is a primary goal. Current dynamics indicate that the use of AI in education is still dominated by technical, academic, and adaptive learning aspects, while the context of administrative counseling services and early detection of violence in schools has not been fully integrated. This study analyzes the integration of AI, administrative counseling quality, and school support in supporting the early risk detection of students in secondary schools in Indonesia. Using a quantitative approach with a survey design involving 619 students, data were collected through Google Forms and analyzed using SEM-PLS. The results of the research data analysis indicate a positive effect of AI on the quality of administrative counseling, organizational support, and early risk detection. The quality of administrative counseling also has a significant effect on school support and early risk detection, with school support having the strongest effect on early risk detection, with β = 0.497. Furthermore, administrative counseling quality and school support act as mediators of the relationship between AI variables and early risk detection. The novelty of this research lies in the development and testing of an integrative model based on socio-technical systems that places the quality of school counseling and support administration as a key factor in the effectiveness of AI utilization for the prevention of bullying and violence in secondary schools in Indonesia.