CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classes
On the map: LLM safety and security → Safety alignment, refusal and guardrails
Abstract (arXiv)
Computing educators face significant challenges in providing timely support to students, especially in large class settings. Large language models (LLMs) have emerged recently and show great promise for providing on-demand help at a large scale, but there are concerns that students may over-rely on the outputs produced by these models. In this paper, we introduce CodeHelp, a novel LLM-powered tool designed with guardrails to provide on-demand assistance to programming students without directly revealing solutions. We detail the design of the tool, which incorporates a number of useful features for instructors, and elaborate on the pipeline of prompting strategies we use to ensure generated outputs are suitable for students. To evaluate CodeHelp, we deployed it in a first-year computer and data science course with 52 students and collected student interactions over a 12-week period. We examine students' usage patterns and perceptions of the tool, and we report reflections from the course instructor and a series of recommendations for classroom use. Our findings suggest that CodeHelp is well-received by students who especially value its availability and help with resolving errors, and that for instructors it is easy to deploy and complements, rather than replaces, the support that they provide to students.
Key facts. Cited by 71 papers in the map (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. First posted on arXiv 14 Aug 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 8; 2024: 35; 2025: 14; 2026: 14.
71 papers.
Sort:
By area:
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023FinMem: A Performance-Enhanced LLM Trading Agent with Layered Memory and Character Designcited by 163
- 2023ChainForge: A Visual Toolkit for Prompt Engineering and LLM Hypothesis Testingcited by 88
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 81
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
- 2024Design Principles for Generative AI Applicationscited by 57
- 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 46
- 2024Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decompositioncited by 29
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubricscited by 29
- 2023ChoiceMates: Supporting Unfamiliar Online Decision-Making with Multi-Agent Conversational Interactionscited by 22
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
38 more
- 2025Can Large Language Models Match Tutoring System Adaptivity? A Benchmarking Studycited by 17
- 2024Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learningcited by 16
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AIcited by 13
- 2024Swiss Cheese Model for AI Safety: A Taxonomy and Reference Architecture for Multi-Layered Guardrails of Foundation Model Based Agentscited by 13
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 13
- 2023Ruffle&Riley: Towards the Automated Induction of Conversational Tutoring Systemscited by 12
- 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 12
- 2024Evaluating the Application of Large Language Models to Generate Feedback in Programming Educationcited by 10
- 2024Exploring How Multiple Levels of GPT-Generated Programming Hints Support or Disappoint Novicescited by 10
- 2024Iris: An AI-Driven Virtual Tutor For Computer Science Educationcited by 9
- 2024Insights from Social Shaping Theory: The Appropriation of Large Language Models in an Undergraduate Programming Coursecited by 9
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPTcited by 8
- 2024Evaluating Language Models for Generating and Judging Programming Feedbackcited by 8
- 2024Counterexample Guided Program Repair Using Zero-Shot Learning and MaxSAT-based Fault Localizationcited by 8
- 2024"ChatGPT Is Here to Help, Not to Replace Anybody" -- An Evaluation of Students' Opinions On Integrating ChatGPT In CS Coursescited by 6
- 2024Automating Autograding: Large Language Models as Test Suite Generators for Introductory Programmingcited by 6
- 2024It Cannot Be Right If It Was Written by AI: On Lawyers' Preferences of Documents Perceived as Authored by an LLM vs a Humancited by 5
- 2023Efficient Classification of Student Help Requests in Programming Courses Using Large Language Modelscited by 4
- 2024Using Large Language Models for Student-Code Guided Test Case Generation in Computer Science Educationcited by 4
- 2024CourseAssist: Pedagogically Appropriate AI Tutor for Computer Science Educationcited by 4
- 2024Enhancing Programming Error Messages in Real Time with Generative AIcited by 3
- 2024One Step at a Time: Combining LLMs and Static Analysis to Generate Next-Step Hints for Programming Taskscited by 3
- 2025From Idea to Implementation: Evaluating the Influence of Large Language Models in Software Development -- An Opinion Papercited by 3
- 2024Benchmarking Educational Program Repaircited by 2
- 2024"Give me the code" -- Log Analysis of First-Year CS Students' Interactions With GPTcited by 2
- 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Educationcited by 2
- 2025Improving Student-AI Interaction Through Pedagogical Prompting: An Example in Computer Science Educationcited by 2
- 2025Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implicationscited by 2
- 2025Coding With AI: From a Reflection on Industrial Practices to Future Computer Science and Software Engineering Educationcited by 2
- 2026"Bespoke Bots": Diverse Instructor Needs for Customizing Generative AI Classroom Chatbotscited by 2
- 2023Automated Assessment of Students' Code Comprehension using LLMscited by 1
- 2024A Knowledge-Component-Based Methodology for Evaluating AI Assistantscited by 1
- 2024Integrating AI Tutors in a Programming Coursecited by 1
- 2024Pensieve Discuss: Scalable Small-Group CS Tutoring System with AIcited by 1
- 2024Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Modelscited by 1
- 2025"All Roads Lead to ChatGPT": How Generative AI is Eroding Social Interactions and Student Learning Communitiescited by 1
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?cited by 1
- 2026CodeGuard: Improving LLM Guardrails in CS Educationcited by 1
50 most cited of 71 All 71 (JSON)
- 2026Examining Variation in How Guided AI Tutors Resolve Student Impasses29 Sep 2026
- 2026Guardrails or Roadblocks? Effects of Pedagogical Style and Context Awareness in AI Teaching Assistants for Programming24 Sep 2026
- 2026Designing Against Deskilling: Metacognitive Feedback Reduces Cognitive Offloading to LLM Assistants17 Sep 2026
- 2026VibeJam: A User Study Platform for Web Development with Agents30 Aug 2026
- 2026EduClaw-Bench: A Long-Horizon Benchmark for Pedagogical LLM Agents with Simulated Learners4 Aug 2026
- 2026AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspective22 Jun 2026
- 2026PersonalPlan: Planning Multi-Agent Systems for Personalized Programming Learning17 Jun 2026
- 2026Positioning Generative Artificial Intelligence in STEM Assessment: When to Require, Scaffold, or Restrict Its Use26 Apr 2026
- 2026Kwame 2.0: Human-in-the-Loop Generative AI Teaching Assistant for Large Scale Online Coding Education in Africa31 Mar 2026
- 2026Evaluating LLMs for Answering Student Questions in Introductory Programming Courses30 Mar 2026
- 2026Exploring Teacher-Chatbot Interaction and Affect in Block-Based Programming2 Mar 2026
- 2026"Bespoke Bots": Diverse Instructor Needs for Customizing Generative AI Classroom Chatbots10 Feb 2026
38 more
- 2026CodeGuard: Improving LLM Guardrails in CS Education22 Jan 2026
- 2026Enhancing Debugging Skills with AI-Powered Assistance: A Real-Time Tool for Debugging Support5 Jan 2026
- 2025Coding With AI: From a Reflection on Industrial Practices to Future Computer Science and Software Engineering Education30 Dec 2025
- 2025Understanding Student Interaction with AI-Powered Next-Step Hints: Strategies and Challenges9 Nov 2025
- 2025Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implications6 Nov 2025
- 2025Leveraging Test Driven Development with Large Language Models for Reliable and Verifiable Spreadsheet Code Generation: A Research Framework17 Oct 2025
- 2025GenAI Voice Mode in Programming Education12 Sep 2025
- 2025Students' Feedback Requests and Interactions with the SCRIPT Chatbot: Do They Get What They Ask For?23 Jul 2025
- 2025Improving Student-AI Interaction Through Pedagogical Prompting: An Example in Computer Science Education23 Jun 2025
- 2025Can AI support student engagement in classroom activities in higher education?22 Jun 2025
- 2025"All Roads Lead to ChatGPT": How Generative AI is Eroding Social Interactions and Student Learning Communities14 Apr 2025
- 2025Can Large Language Models Match Tutoring System Adaptivity? A Benchmarking Study7 Apr 2025
- 2025Design of AI-Powered Tool for Self-Regulation Support in Programming Education3 Apr 2025
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics31 Mar 2025
- 2025From Idea to Implementation: Evaluating the Influence of Large Language Models in Software Development -- An Opinion Paper10 Mar 2025
- 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Education27 Feb 2025
- 2024Counterexample Guided Program Repair Using Zero-Shot Learning and MaxSAT-based Fault Localization19 Dec 2024
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Tools19 Dec 2024
- 2024Seeing the Forest and the Trees: Solving Visual Graph and Tree Based Data Structure Problems using Large Multimodal Models15 Dec 2024
- 2024"Give me the code" -- Log Analysis of First-Year CS Students' Interactions With GPT26 Nov 2024
- 2024Automating Autograding: Large Language Models as Test Suite Generators for Introductory Programming14 Nov 2024
- 2024Towards Pedagogical LLMs with Supervised Fine Tuning for Computing Education4 Nov 2024
- 2024LLMs Integration in Software Engineering Team Projects: Roles, Impact, and a Pedagogical Design Space for AI Tools in Computing Education30 Oct 2024
- 2024Large Language Models in Computer Science Education: A Systematic Literature Review21 Oct 2024
- 2024Comparing the Utility, Preference, and Performance of Course Material Search Functionality and Retrieval-Augmented Generation Large Language Model (RAG-LLM) AI Chatbots in Information-Seeking Tasks17 Oct 2024
- 2024One Step at a Time: Combining LLMs and Static Analysis to Generate Next-Step Hints for Programming Tasks11 Oct 2024
- 2024Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learning11 Oct 2024
- 2024Swiss Cheese Model for AI Safety: A Taxonomy and Reference Architecture for Multi-Layered Guardrails of Foundation Model Based Agents5 Aug 2024
- 2024Pensieve Discuss: Scalable Small-Group CS Tutoring System with AI24 Jul 2024
- 2024Scaling CS1 Support with Compiler-Integrated Conversational AI22 Jul 2024
- 2024Integrating AI Tutors in a Programming Course14 Jul 2024
- 2024It Cannot Be Right If It Was Written by AI: On Lawyers' Preferences of Documents Perceived as Authored by an LLM vs a Human9 Jul 2024
- 2024Evaluating Language Models for Generating and Judging Programming Feedback5 Jul 2024
- 2024Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decomposition2 Jul 2024
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AI11 Jun 2024
- 2024Insights from Social Shaping Theory: The Appropriation of Large Language Models in an Undergraduate Programming Course10 Jun 2024
- 2024A Knowledge-Component-Based Methodology for Evaluating AI Assistants9 Jun 2024
- 2024Analyzing Chat Protocols of Novice Programmers Solving Introductory Programming Tasks with ChatGPT29 May 2024
50 newest of 71 All 71 (JSON)
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023FinMem: A Performance-Enhanced LLM Trading Agent with Layered Memory and Character Designcited by 163
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
- 2023ChoiceMates: Supporting Unfamiliar Online Decision-Making with Multi-Agent Conversational Interactionscited by 22
- 2024Swiss Cheese Model for AI Safety: A Taxonomy and Reference Architecture for Multi-Layered Guardrails of Foundation Model Based Agentscited by 13
- 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Educationcited by 2
- 2025Coding With AI: From a Reflection on Industrial Practices to Future Computer Science and Software Engineering Educationcited by 2
- 2026PersonalPlan: Planning Multi-Agent Systems for Personalized Programming Learningcited by 0
- 2026EduClaw-Bench: A Long-Horizon Benchmark for Pedagogical LLM Agents with Simulated Learnerscited by 0
- 2026VibeJam: A User Study Platform for Web Development with Agentscited by 0
- 2026VibeJam: A User Study Platform for Web Development with Agents30 Aug 2026
- 2026EduClaw-Bench: A Long-Horizon Benchmark for Pedagogical LLM Agents with Simulated Learners4 Aug 2026
- 2026PersonalPlan: Planning Multi-Agent Systems for Personalized Programming Learning17 Jun 2026
- 2025Coding With AI: From a Reflection on Industrial Practices to Future Computer Science and Software Engineering Education30 Dec 2025
- 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Education27 Feb 2025
- 2024Swiss Cheese Model for AI Safety: A Taxonomy and Reference Architecture for Multi-Layered Guardrails of Foundation Model Based Agents5 Aug 2024
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agents1 Jan 2024
- 2023FinMem: A Performance-Enhanced LLM Trading Agent with Layered Memory and Character Design23 Nov 2023
- 2023ChoiceMates: Supporting Unfamiliar Online Decision-Making with Multi-Agent Conversational Interactions2 Oct 2023
- 2023A Survey on Large Language Model based Autonomous Agents22 Aug 2023
- 2026CodeGuard: Improving LLM Guardrails in CS Educationcited by 1
- 2026CodeGuard: Improving LLM Guardrails in CS Education22 Jan 2026
- 2023ChainForge: A Visual Toolkit for Prompt Engineering and LLM Hypothesis Testingcited by 88
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 85
- 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 81
- 2024Design Principles for Generative AI Applicationscited by 57
- 2024The Widening Gap: The Benefits and Harms of Generative AI for Novice Programmerscited by 46
- 2024Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decompositioncited by 29
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubricscited by 29
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 19
- 2025Can Large Language Models Match Tutoring System Adaptivity? A Benchmarking Studycited by 17
- 2024Exploring the Design Space of Cognitive Engagement Techniques with AI-Generated Code for Enhanced Learningcited by 16
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AIcited by 13
- 2024Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Toolscited by 13
12 most cited of 58 All 58 (JSON)
- 2026Examining Variation in How Guided AI Tutors Resolve Student Impasses29 Sep 2026
- 2026Guardrails or Roadblocks? Effects of Pedagogical Style and Context Awareness in AI Teaching Assistants for Programming24 Sep 2026
- 2026Designing Against Deskilling: Metacognitive Feedback Reduces Cognitive Offloading to LLM Assistants17 Sep 2026
- 2026AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspective22 Jun 2026
- 2026Positioning Generative Artificial Intelligence in STEM Assessment: When to Require, Scaffold, or Restrict Its Use26 Apr 2026
- 2026Kwame 2.0: Human-in-the-Loop Generative AI Teaching Assistant for Large Scale Online Coding Education in Africa31 Mar 2026
- 2026Evaluating LLMs for Answering Student Questions in Introductory Programming Courses30 Mar 2026
- 2026Exploring Teacher-Chatbot Interaction and Affect in Block-Based Programming2 Mar 2026
- 2026"Bespoke Bots": Diverse Instructor Needs for Customizing Generative AI Classroom Chatbots10 Feb 2026
- 2026Enhancing Debugging Skills with AI-Powered Assistance: A Real-Time Tool for Debugging Support5 Jan 2026
- 2025Understanding Student Interaction with AI-Powered Next-Step Hints: Strategies and Challenges9 Nov 2025
- 2025Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implications6 Nov 2025
12 newest of 58 All 58 (JSON)