How to Teach Programming in the AI Era? Using LLMs as a Teachable Agent for Debugging
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Large Language Models (LLMs) now excel at generative skills and can create content at impeccable speeds. However, they are imperfect and still make various mistakes. In a Computer Science education context, as these models are widely recognized as "AI pair programmers," it becomes increasingly important to train students on evaluating and debugging the LLM-generated code. In this work, we introduce HypoCompass, a novel system to facilitate deliberate practice on debugging, where human novices play the role of Teaching Assistants and help LLM-powered teachable agents debug code. We enable effective task delegation between students and LLMs in this learning-by-teaching environment: students focus on hypothesizing the cause of code errors, while adjacent skills like code completion are offloaded to LLM-agents. Our evaluations demonstrate that HypoCompass generates high-quality training materials (e.g., bugs and fixes), outperforming human counterparts fourfold in efficiency, and significantly improves student performance on debugging by 12% in the pre-to-post test.
Key facts. Cited by 30 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 7 of its 31 references that are in the map. First posted on arXiv 8 Oct 2023.
Builds on
7 of 31 references.
References · 7
- 2021AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Promptscited by 268
- 2022Predictability and Surprise in Large Generative Modelscited by 210
- 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 152
- 2022Programming Is Hard -- Or at Least It Used to Be: Educational Opportunities And Challenges of AI Code Generationcited by 99
- 2022Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programmingcited by 91
- 2023Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Coursescited by 39
- 2023Is AI the better programming partner? Human-Human Pair Programming vs. Human-AI pAIr Programmingcited by 20
Built on by
Citing papers per year: 2023: 2; 2024: 7; 2025: 14; 2026: 7.
30 papers.
Sort:
By area:
- 2025LLM Agents for Education: Advances and Applicationscited by 59
- 2024Exploring Knowledge Tracing in Tutor-Student Dialogues using LLMscited by 46
- 2024What Should We Engineer in Prompts? Training Humans in Requirement-Driven LLM Usecited by 24
- 2023AI-TA: Towards an Intelligent Question-Answer Teaching Assistant using Open-Source LLMscited by 22
- 2024Position: Towards Bidirectional Human-AI Alignmentcited by 18
- 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 13
- 2024Combining Large Language Models with Tutoring System Intelligence: A Case Study in Caregiver Homework Supportcited by 11
- 2025SPHERE: An Evaluation Card for Human-AI Systemscited by 9
- 2026Towards Valid Student Simulation with Large Language Modelscited by 7
- 2024The Evolution of LLM Adoption in Industry Data Curation Practicescited by 6
- 2025Beyond One-Way Influence: Bidirectional Opinion Dynamics in Multi-Turn Human-LLM Interactionscited by 6
- 2024BugSpotter: Automated Generation of Code Debugging Exercisescited by 5
18 more
- 2025When Models Know More Than They Can Explain: Quantifying Knowledge Transfer in Human-AI Collaborationcited by 4
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agentscited by 3
- 2026From Untamed Black Box to Interpretable Pedagogical Orchestration: The Ensemble of Specialized LLMs Architecture for Adaptive Tutoringcited by 3
- 2026Simulating Novice Students Using Machine Unlearning and Relearning in Large Language Modelscited by 3
- 2023InstructPipe: Generating Visual Blocks Pipelines with Human Instructions and LLMscited by 2
- 2025Prompt Programming: A Platform for Dialogue-based Computational Problem Solving with Generative AI Modelscited by 2
- 2025Dialogic Pedagogy for Large Language Models: Aligning Conversational AI with Proven Theories of Learningcited by 2
- 2025Designing Conversational AI to Support Think-Aloud Practice in Technical Interview Preparation for CS Studentscited by 2
- 2025The promise and limits of LLMs in constructing proofs and hints for logic problems in intelligent tutoring systemscited by 1
- 2025CogGen: A Learner-Centered Generative AI Architecture for Intelligent Tutoring with Programming Videocited by 1
- 2026Human-Human-AI Triadic Programming: Uncovering the Role of AI Agent and the Value of Human Partner in Collaborative Learningcited by 1
- 2025Beyond prior knowledge: The predictive role of knowledge-building in Tutor Learningcited by 0
- 2025Designing and Evaluating Chain-of-Hints for Scientific Question Answeringcited by 0
- 2025Assessing the Software Security Comprehension of Large Language Modelscited by 0
- 2025Human-AI Interaction Alignment: Designing, Evaluating, and Evolving Value-Centered AI For Reciprocal Human-AI Futurescited by 0
- 2026Enhancing Debugging Skills with AI-Powered Assistance: A Real-Time Tool for Debugging Supportcited by 0
- 2026Chat Debugging: An Exploratory Study of Human-AI Collaboration to Debug Analog Circuitscited by 0
- 2026Oops, Not Now: PEARL, a RAG-Based Support Agent for Gameplay and What Players Want from AI Helpcited by 0
- 2026Oops, Not Now: PEARL, a RAG-Based Support Agent for Gameplay and What Players Want from AI Help12 Sep 2026
- 2026Chat Debugging: An Exploratory Study of Human-AI Collaboration to Debug Analog Circuits3 Aug 2026
- 2026Simulating Novice Students Using Machine Unlearning and Relearning in Large Language Models27 Mar 2026
- 2026From Untamed Black Box to Interpretable Pedagogical Orchestration: The Ensemble of Specialized LLMs Architecture for Adaptive Tutoring25 Mar 2026
- 2026Human-Human-AI Triadic Programming: Uncovering the Role of AI Agent and the Value of Human Partner in Collaborative Learning17 Jan 2026
- 2026Towards Valid Student Simulation with Large Language Models9 Jan 2026
- 2026Enhancing Debugging Skills with AI-Powered Assistance: A Real-Time Tool for Debugging Support5 Jan 2026
- 2025Human-AI Interaction Alignment: Designing, Evaluating, and Evolving Value-Centered AI For Reciprocal Human-AI Futures25 Dec 2025
- 2025Assessing the Software Security Comprehension of Large Language Models24 Dec 2025
- 2025Designing and Evaluating Chain-of-Hints for Scientific Question Answering24 Oct 2025
- 2025Beyond One-Way Influence: Bidirectional Opinion Dynamics in Multi-Turn Human-LLM Interactions22 Oct 2025
- 2025Beyond prior knowledge: The predictive role of knowledge-building in Tutor Learning25 Aug 2025
18 more
- 2025Designing Conversational AI to Support Think-Aloud Practice in Technical Interview Preparation for CS Students19 Jul 2025
- 2025CogGen: A Learner-Centered Generative AI Architecture for Intelligent Tutoring with Programming Video25 Jun 2025
- 2025Dialogic Pedagogy for Large Language Models: Aligning Conversational AI with Proven Theories of Learning24 Jun 2025
- 2025When Models Know More Than They Can Explain: Quantifying Knowledge Transfer in Human-AI Collaboration5 Jun 2025
- 2025The promise and limits of LLMs in constructing proofs and hints for logic problems in intelligent tutoring systems7 May 2025
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agents10 Apr 2025
- 2025SPHERE: An Evaluation Card for Human-AI Systems24 Mar 2025
- 2025LLM Agents for Education: Advances and Applications14 Mar 2025
- 2025Prompt Programming: A Platform for Dialogue-based Computational Problem Solving with Generative AI Models6 Mar 2025
- 2024The Evolution of LLM Adoption in Industry Data Curation Practices20 Dec 2024
- 2024Combining Large Language Models with Tutoring System Intelligence: A Case Study in Caregiver Homework Support16 Dec 2024
- 2024BugSpotter: Automated Generation of Code Debugging Exercises21 Nov 2024
- 2024Large Language Models in Computer Science Education: A Systematic Literature Review21 Oct 2024
- 2024Exploring Knowledge Tracing in Tutor-Student Dialogues using LLMs24 Sep 2024
- 2024What Should We Engineer in Prompts? Training Humans in Requirement-Driven LLM Use13 Sep 2024
- 2024Position: Towards Bidirectional Human-AI Alignment13 Jun 2024
- 2023InstructPipe: Generating Visual Blocks Pipelines with Human Instructions and LLMs15 Dec 2023
- 2023AI-TA: Towards an Intelligent Question-Answer Teaching Assistant using Open-Source LLMs5 Nov 2023
- 2024Exploring Knowledge Tracing in Tutor-Student Dialogues using LLMscited by 46
- 2024What Should We Engineer in Prompts? Training Humans in Requirement-Driven LLM Usecited by 24
- 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 13
- 2024Combining Large Language Models with Tutoring System Intelligence: A Case Study in Caregiver Homework Supportcited by 11
- 2025SPHERE: An Evaluation Card for Human-AI Systemscited by 9
- 2026Towards Valid Student Simulation with Large Language Modelscited by 7
- 2024The Evolution of LLM Adoption in Industry Data Curation Practicescited by 6
- 2025Beyond One-Way Influence: Bidirectional Opinion Dynamics in Multi-Turn Human-LLM Interactionscited by 6
- 2024BugSpotter: Automated Generation of Code Debugging Exercisescited by 5
- 2025When Models Know More Than They Can Explain: Quantifying Knowledge Transfer in Human-AI Collaborationcited by 4
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agentscited by 3
- 2026From Untamed Black Box to Interpretable Pedagogical Orchestration: The Ensemble of Specialized LLMs Architecture for Adaptive Tutoringcited by 3
12 most cited of 23 All 23 (JSON)
- 2026Chat Debugging: An Exploratory Study of Human-AI Collaboration to Debug Analog Circuits3 Aug 2026
- 2026From Untamed Black Box to Interpretable Pedagogical Orchestration: The Ensemble of Specialized LLMs Architecture for Adaptive Tutoring25 Mar 2026
- 2026Human-Human-AI Triadic Programming: Uncovering the Role of AI Agent and the Value of Human Partner in Collaborative Learning17 Jan 2026
- 2026Towards Valid Student Simulation with Large Language Models9 Jan 2026
- 2026Enhancing Debugging Skills with AI-Powered Assistance: A Real-Time Tool for Debugging Support5 Jan 2026
- 2025Assessing the Software Security Comprehension of Large Language Models24 Dec 2025
- 2025Designing and Evaluating Chain-of-Hints for Scientific Question Answering24 Oct 2025
- 2025Beyond One-Way Influence: Bidirectional Opinion Dynamics in Multi-Turn Human-LLM Interactions22 Oct 2025
- 2025Beyond prior knowledge: The predictive role of knowledge-building in Tutor Learning25 Aug 2025
- 2025CogGen: A Learner-Centered Generative AI Architecture for Intelligent Tutoring with Programming Video25 Jun 2025
- 2025Dialogic Pedagogy for Large Language Models: Aligning Conversational AI with Proven Theories of Learning24 Jun 2025
- 2025When Models Know More Than They Can Explain: Quantifying Knowledge Transfer in Human-AI Collaboration5 Jun 2025
12 newest of 23 All 23 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025DebugTA: An LLM-Based Agent for Simplifying Debugging and Teaching in Programming Education
- 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
- 2023Teach AI How to Code: Using Large Language Models as Teachable Agents for Programming Education
- 2025debug-gym: A Text-Based Environment for Interactive Debugging
- 2025CodeEdu: A Multi-Agent Collaborative Platform for Personalized Coding Education
- 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Models
- 2024COAST: Enhancing the Code Debugging Ability of LLMs through Communicative Agent Based Data Synthesis
- 2025Lessons Learned: A Multi-Agent Framework for Code LLMs to Learn and Improve