Tutor AI: A Step-by-Step Personalized Guidance Approach in Adaptive Learning Systems.
Main Article Content
Abstract
Context-aware adaptive feedback remains a significant challenge in education, particularly when guiding learners through complex problem-solving tasks across diverse disciplines. This study introduces a generalized stepwise tutoring framework that leverages large language models (LLMs) to support learning by decomposing tasks into micro-steps, assessing progress, and generating feedback tailored to the learner’s current state. The framework is implemented in the Tutor AI system and was empirically evaluated in a Programming Techniques course. In this environment, students interact with a real-time coding interface, where the learning path is clearly structured, and feedback is automatically generated via the Gemini LLM. Each student’s submission is dynamically integrated with their learning history to construct context-rich prompts, enabling the system to precisely identify the current learning step and provide adaptive, scaffolded guidance accordingly. Experimental results from a semester-long Programming Techniques (C language) course demonstrated the system’s effectiveness in significantly increasing engagement, fostering self-regulated learning, and reducing reliance on direct solutions. The architecture of Tutor AI is highly generalizable, allowing for expansion beyond programming to various other disciplines such as engineering, data analysis, social sciences, or any subject with clearly defined stepwise exercises. This research contributes to the development of explainable and scalable intelligent tutoring systems, laying a foundation for AI-supported, stepwise learning in modern educational contexts.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Keywords
intelligent tutoring systems, large language models (LLMs), stepwise learning, contextual feedback, formative assessment
References
Aleven, V., Stahl, E., Schworm, S., Fischer, F., & Wallace, R. (2006). Help seeking and help design in interactive learning environments. Review of Educational Research, 76(2), 277–320.
Carlsen, S., Nygaard, K., & Stage, J. (2006). Can graduating students design software systems? Computers & Education, 46(4), 379–393.
Chen, M., Tworek, J., Jun, H., et al. (2023). Evaluating Codex for code synthesis and problem solving. arXiv:2303.00777.
De Silva, D. I., Vidhanaarachchi, S., Kariyawasam, S. B., Dasanayake, L. R. S., Thawalampola, O. D., & Jayasuriya, T. D. D. H. (2023). CodeCoach: An interactive programming assistance tool. Journal of Propulsion Technology, 44(4), 7281–7288.
García-Sánchez, F., Blanco-Valverde, P., & Romero, C. (2015). WebToTeach: A web-based intelligent tutoring system for computer programming. International Journal of Artificial Intelligence in Education, 25(3), 345–368.
Heffernan, N. T., & Heffernan, C. L. (2014). The ASSISTments ecosystem: Building a platform that brings scientists and teachers together for minimally invasive research on human learning and teaching. International Journal of Artificial Intelligence in Education, 24(4), 470–497.
Judge0. (2023). Judge0 CE – API documentation. https://ce.judge0.com
Kosar, B., Yildirim, S., & Karadag, E. (2024). A comparative evaluation of AI-generated feedback for programming exercises. Mathematics, 12(5), 629. https://doi.org/10.3390/math12050629
OpenAI. (2023, August). GPT-3.5 Turbo fine-tuning and API updates. OpenAI. https://openai.com/blog/gpt-3-5-turbo-fine-tuning-and-api-updates
Patel, R., Nguyen, T., & Barnes, T. (2018). iPAT: Intelligent programming assignment tutor with learner behavior analysis. ACM Transactions on Computing Education, 18(4), Article 25.
Smith, J., Taylor, K., & Rao, M. (2012). SmartLab: A rule-based tutoring system for algorithm learning. In Proceedings of the International Conference on Educational Technologies.
Vygotsky, L. S. (1978). Mind in society: The development of higher psychological processes. Harvard University Press.