Support for Programming Education through an Educational Agent with LLM-Generated Lesson Plans and Student Performance Monitoring
Programming Education, LLMs, Lesson Plans, Educational Agent, Student Performance.
Programming education in higher education presents high failure and dropout rates, resulting from students’ cognitive difficulties when encountering the first programming contents. The Systematic Literature Mapping conducted in this study, published at SBIE 2025 and extended with eight new research questions, identified that educational agents for programming education are developed almost exclusively from the student’s perspective, without functionalities that support the teacher’s pedagogical planning and the monitoring of student performance. Given this, the present study proposes to expand the CoderBot educational agent with a teacher-oriented module, integrating the automatic generation of lesson plans by large language models (LLMs) and the monitoring of student performance. To this end, a qualitative-quantitative approach is adopted, through the conduction of a controlled experiment comparing lesson plans generated by the GPT and Claude models, using prompt engineering and Retrieval-Augmented Generation (RAG), evaluated through cross-model analysis and human evaluation by specialists, with metrics derived from the Pedagogical Content Knowledge (PCK) framework and analyzed through the Wilcoxon test and data triangulation. To date, the six lesson plans that compose the experiment have been generated and the cross-model analysis conducted, whose results subsidized the refinement of the prompt, bringing the generated plans closer to concrete situations from students’ daily lives. Human evaluation by specialists, the conclusion of the mapping extension, and the integration of the teacher module into CoderBot remain as next steps of the research. It is expected that, upon completion of the study, perceptible differences in the pedagogical quality of the plans generated by the two models will be identified, a replicable prompt for lesson plan generation will be consolidated, and the study will contribute to reducing dropout and cognitive load in programming education in higher education.