AI Code Assistants in Programming Education: A Narrative Literature Review
Open Access
- 17 June 2026
- journal article
- review article
- Published by MDPI AG in Education Sciences
- Vol. 16 (6) , 961
Abstract
Prior research suggests that programming is a fundamental competency for all students. Due to its importance, programming education is integrated across many disciplines beyond computer science (e.g., humanities, social sciences, and engineering). Also, many existing courses report increasing enrollment trends. However, these changes have also introduced instructional challenges, particularly in supporting students with diverse backgrounds at scale. In this context, many studies have explored the use of AI code assistants as tools that may support instruction and learning. In these studies, while examining the use of AI code assistants, researchers have reported variation in educational contexts, implementation approaches, and outcomes. With this paper, we argue that synthesized information of such variations could help in understanding the effective use of such tools in programming education. To create a synthesized resource on AI code assistants, in this paper, we present a narrative review that synthesizes existing research. We reviewed 29 peer-reviewed studies identified through searches across three databases. The studies were analyzed to identify reported patterns of use, student and instructor perceptions, limitations in existing research, and suggested directions for future research. Across the reviewed studies, AI code assistants were commonly discussed for tasks such as code generation, debugging support, and real-time feedback, with ChatGPT reported most often (16 mentions), followed by GitHub Copilot (6 mentions). Disciplinary information was available in 24 studies, which helped identify the academic settings where AI code assistants were reported. Students generally describe these tools as useful, while also expressing concerns related to over-reliance and accuracy. Student perceptions were reported in 10 studies, while instructor perceptions were reported in 4 studies. Common reported limitations include small sample sizes, short intervention durations, reliance on self-reported data, and limited examination of long-term learning outcomes. Overall, this review consolidates current evidence on how AI code assistants are used and perceived in programming education and identifies areas where more research is needed.Keywords
This publication has 30 references indexed in Scilit:
- The Conversational Exam: A Scalable Assessment Design for the AI EraComputer, 2026
- Regulating Autonomy2026
- Risks and Ethical Concerns in Cyber Security with Advancements of Artificial Intelligence - A Systematic Review2024
- Exploring the Role of AI Assistants in Computer Science Education: Methods, Implications, and Instructor Perspectives2023
- Recommendations to Create Programming Exercises to Overcome ChatGPT2023
- Investigating Code Generation Performance of ChatGPT with Crowdsourcing Social Data2023
- A practical guide to reflexivity in qualitative research: AMEE Guide No. 149Medical Teacher, 2022
- My Digital Hand2017
- Writing narrative literature reviews for peer-reviewed journals: secrets of the tradeJournal of Chiropractic Medicine, 2006
- Intrinsic Motivation and Self-Determination in Human Behavior1985