cs.CLMar 31, 2026

Kwame 2.0: Human-in-the-Loop Generative AI Teaching Assistant for Large Scale Online Coding Education in Africa

Authors: George Boateng, Samuel Boateng, Victor Kumbol

Organizations: ETH Zurich, Switzerland · Kwame AI Inc., U.S. · Charité - Universitätsmedizin Berlin, Germany

Abstract

Providing timely and accurate learning support in large-scale online coding courses is challenging, particularly in resource-constrained contexts. We present Kwame 2.0, a bilingual (English-French) generative AI teaching assistant built using retrieval-augmented generation and deployed in a human-in-the-loop forum within SuaCode, an introductory mobile-based coding course for learners across Africa. Kwame 2.0 retrieves relevant course materials and generates context-aware responses while encouraging human oversight and community participation. We deployed the system in a 15-month longitudinal study spanning 15 cohorts with 3,717 enrollments across 35 African countries. Evaluation using community feedback and expert ratings shows that Kwame 2.0 provided high-quality and timely support, achieving high accuracy on curriculum-related questions, while human facilitators and peers effectively mitigated errors, particularly for administrative queries. Our findings demonstrate that human-in-the-loop generative AI systems can combine the scalability and speed of AI with the reliability of human support, offering an effective approach to learning assistance for underrepresented populations in resource-constrained settings at scale.

Figures & tables

Explore similar work

CardsList
  1. AI Meets Mathematics Education: A Case Study on Supporting an Instructor in a Large Mathematics Class with Context-Aware AI

    Mar 9, 2026Jérémy Barghorn, Anna Sotnikova, Sacha Friedli +1Generative AI in EducationQuestion Answering

  2. Tutor CoPilot: A Human-AI Approach for Scaling Real-Time Expertise

    Oct 3, 2024Rose E. Wang, Ana T. Ribeiro, Carly D. Robinson +2Educational TechnologyGenerative AI in Education

  3. Eskwai for Students: Generative AI Assistant for Legal Education in Ghana

    May 14, 2026George Boateng, Philemon Badu, Patrick Agyeman-Budu +6Generative AI in EducationLegal QA