Multiagent AI Teaching Assistant for Personalization and Adaptive Programming Education

Research Article • Article ID: IJREK-2026-00133

Authors & Institutional Affiliations
Nagesh MotiraveCorresponding Author
Dattakala Group Of Institutions Faculty Of Engineering, Swami–Chincholi, Tal. Daund, Dist. Pune
nageshmotirave3@gmail.com
Guide / Supervisor:Mr.Suryawanshi A.M

Abstract

Programming education requires learners to develop conceptual understanding, problem-solving strategies, debugging skills, and the ability to transfer knowledge to unfamiliar tasks. A single teaching pathway may not meet the needs of learners who differ in prior experience, pace, confidence, and preferred forms of explanation. This paper proposes a Multiagent AI Teaching Assistant that personalizes programming education by coordinating specialized agents for tutoring, code analysis, assessment, feedback, and learner modelling. A coordinator combines learner goals and performance evidence to select the next activity, while a code-evaluation component examines submissions against tests and rubric criteria. The proposed system adapts explanations, hints, examples, and practice difficulty according to observed learner needs. A feedback loop updates a learner profile after each activity and supports gradual progression from guided examples to independent problem solving. The paper presents a conceptual 3D-style architecture diagram, a learning flowchart, functional modules, data entities, and a risk-aware evaluation plan. It emphasizes explainable recommendations, privacy, fairness, and human educator oversight. The work is a proposed design rather than a report of a completed classroom experiment; therefore, no measured performance improvements are claimed. Future implementation should compare learning outcomes, task completion, debugging ability, learner engagement, and teacher workload against a suitable baseline.

Keywords

Multiagent AIAdaptive LearningProgramming EducationIntelligent TutoringPersonalizationCode AssessmentEducational Technology

2. Problem Statement and Objectives

Table 1. Stakeholders and expected system support
StakeholderNeedSystem Support
LearnerUnderstand concepts and fix errorsPersonalized lessons, practice, hints, progress view
InstructorIdentify misconceptions and support needsClass overview, flagged cases, editable learning goals
Teaching agentsSpecialized tasks with shared contextTutor, code analysis, assessment, feedback roles
AdministratorSafe and dependable operationAccess controls, monitoring, content configuration

3. Related Work and Research Context

Intelligent tutoring systems have long used learner models and instructional rules to tailor feedback. Adaptive learning platforms use quiz performance, activity history, or skill estimates to recommend the next exercise. Automated programming assessment can execute code against test cases, detect common errors, and provide rubric-based feedback. Large language models can also generate explanations and examples, but may produce inaccurate guidance or code that appears plausible without being correct. A multiagent design adds explicit coordination between specialized roles. Its value depends on whether this division improves feedback quality and adaptation enough to justify added complexity, latency, and cost. The proposed system therefore includes validation and teacher oversight as core components rather than optional add-ons.

4. Proposed System Architecture

The proposed architecture contains a learner interface, coordinator, specialized agents, learning-content repository, learner model, code execution sandbox, and instructor dashboard. The coordinator receives a learner action and current profile, routes tasks to suitable agents, checks whether the resulting recommendation satisfies pedagogical and safety constraints, and returns the response to the learner. Performance evidence is then used to update the learner model. Coordinator Agent Router Tutor Agent Concepts Code Agent Examples Assessment Quizzes Feedback Hints Profile Learner model Content Lessons Multiagent Personalization Layer

Figure 1. 3D-style conceptual architecture of the multiagent personalization layer.
Figure 1. 3D-style conceptual architecture of the multiagent personalization layer.

4.1 Specialized Agents

TABLE II
AgentMain RoleExample Output
Tutor AgentExplain concepts at the learner's levelAnalogy, worked example, concept recap
Code Analysis AgentInspect submitted code and identify likely issuesError location, trace, test failure explanation
Assessment AgentChoose questions and coding tasksNext task with calibrated difficulty
Feedback AgentGenerate staged hints and next stepsHint ladder, debugging question
Learner Model AgentSummarize progress and uncertain skill estimatesSkill profile and suggested review topics
CoordinatorManage task order, consistency, and constraintsCombined response and routing decision

5. Adaptive Learning Workflow

The system follows a cycle of observing, estimating, selecting, teaching, assessing, and updating. It begins by collecting relevant learning goals and recent performance. The learner model estimates which skills appear mastered and which require more practice. The assessment agent selects an activity, and the tutor or feedback agent provides support. After the learner submits an answer or code, automated checks and agent analysis generate feedback. The learner profile is updated with uncertainty retained where evidence is limited. Learner Code / quiz Profile Skill model Planner Next activity Learning Content + hints Assessment Evaluate code Performance data loops back to update the learner profile

Figure 2. Adaptive learning flowchart with a feedback loop to the learner profile.
Figure 2. Adaptive learning flowchart with a feedback loop to the learner profile.

5.1 Example Learning Cycle

Table 2. Adaptive decision rules
EvidenceAdaptive ResponsePurpose
Repeated syntax errorsShow syntax pattern and a small corrected exampleBuild foundational fluency
Correct answer with slow progressOffer a trace visualization or guided stepsSupport reasoning process
Repeated conceptual failureRevisit prerequisite concept and reduce task complexityAddress possible misconception
Consistent successIncrease complexity or reduce hintsEncourage independent transfer
Conflicting or insufficient evidenceAsk a clarifying question or request instructor reviewAvoid premature learner labels

6. Learner Modelling and Personalization

Table 3. Learner profile signals
SignalInterpretationCaution
CorrectnessWhether submitted work meets criteriaMay reflect guessing or test weakness
Error categorySyntax, logic, boundary, or concept issueOne error does not prove a stable misconception
Hint usageAmount and type of assistance usedAsking for help can be productive
Transfer performanceAbility to solve a new but related taskTask difficulty must be considered
Learner confidenceSelf-reported comfort with a topicConfidence may not match performance
Practice recencyHow recently the skill was usedLong gaps do not imply lack of ability

6.1 Personalization Strategies

Personalization may adjust the explanation level, example context, practice difficulty, hint depth, and time allotted. It should also offer learners choices: they may request a different explanation, skip a familiar example, or ask for a challenge. Such controls make adaptation more transparent and reduce the risk that an incorrect profile estimate traps a learner in overly simple exercises.

7. Code Assessment and Feedback Design

Table 4. Feedback levels
LevelFeedback TypeIllustration
1Reflective prompt“Trace the value of i on each iteration.”
2Targeted hint“Check what happens when the input is zero.”
3Concept explanationExplain the loop condition and boundary case.
4Worked exampleShow a related example and ask the learner to adapt it.
5Instructor escalationRefer persistent or ambiguous problems for human review.

7.1 Academic Integrity

A teaching assistant should support learning rather than silently complete graded work. Course settings may define when full solutions are available, how hints are logged, and whether assistance must be disclosed. The system should encourage learners to explain their reasoning and modify examples themselves. Instructors should be able to configure the level of assistance for formative practice, homework, and examinations.

7.2 Functional Requirements

The system should support secure sign-in, topic selection, learner profile updates, code submission, sandboxed execution, adaptive task recommendations, staged hints, progress history, instructor review, and feedback reporting. Learners should be able to inspect and correct relevant profile information, while instructors should be able to edit learning goals and override recommendations when necessary.

8. System Data Model and Implementation Plan

Table 5. Core data entities
EntityRepresentative FieldsPurpose
Learnerlearner_id, preferences, consent settingsStore learner settings and controls
SkillProfiletopic_id, mastery estimate, evidence, confidenceRepresent progress with uncertainty
LearningActivityactivity_id, topic, difficulty, objectivesOrganize lessons and practice tasks
Submissionsubmission_id, code, language, timestampRecord learner work securely
Assessmenttests, rubric version, score, error categoryProvide reproducible evidence
AgentTraceagent_role, action, result, time, statusSupport debugging and auditability
Feedbackhint_level, explanation, learner responseTrack instructional interaction

8.1 Implementation Stages

A practical prototype can be developed in stages. First, create a learning interface and structured repository of topics and exercises. Second, implement deterministic code execution and test reporting in a restricted sandbox. Third, add a learner profile with transparent rules for topic recommendations. Fourth, introduce specialized agents behind a coordinator and require validation before showing feedback. Finally, add an instructor dashboard, privacy controls, audit logs, and evaluation instruments. A staged design makes it easier to identify whether each additional agent improves the learning experience.

8.2 Non-Functional Requirements

TABLE VII
AttributeRequirement
SafetyRun learner code in isolated environments with time and resource limits
PrivacyMinimize personal data and define retention periods
ReliabilityUse deterministic tests and record tool failures
AccessibilitySupport keyboard navigation and readable explanations
TransparencyExplain recommendations and allow feedback or override

9. Security, Ethics, and Limitations

Table 6. Risks and mitigations
RiskPotential EffectMitigation
Incorrect AI feedbackLearner forms a misconceptionGround feedback in tests, rubric checks, and review
Unsafe code executionResource abuse or system compromiseSandboxing, timeouts, restricted network and file access
Privacy exposureSensitive learner data disclosedData minimization, access control, retention limits
Biased adaptationSome learners receive poorer opportunitiesAudit outcomes, allow override, offer learner choice
OverdependenceReduced independent problem-solvingUse staged hints and require learner explanation
Agent disagreementConfusing or contradictory guidanceCoordinator checks consistency and escalates uncertainty

10. Evaluation Plan and Discussion

Table 7. Proposed evaluation measures
MeasureMethodWhat It Indicates
Learning gainPre-test and post-test comparisonChange in conceptual understanding
Task completionSuccessful completion of coding tasksPractical problem-solving performance
Debugging abilityAccuracy and explanation of fixesAbility to diagnose errors
Hint dependenceHint level used and later independent performanceWhether support promotes autonomy
Feedback qualityInstructor rubric and learner ratingsAccuracy, clarity, and actionability
Teacher workloadTime spent reviewing or interveningOperational feasibility

11. Future Scope

Future development may include multilingual explanations, visual program tracing, speech-based interaction, teacher-configurable rubrics, learning analytics, and integrations with learning-management systems. Additional research could investigate agent coordination strategies, methods for detecting incorrect explanations, transparent mastery estimates, and ways to balance personalized assistance with independent practice. A classroom deployment should be iterative and guided by educators and learners. 12. Conclusion This paper proposed a Multiagent AI Teaching Assistant for Personalization and Adaptive Programming Education. The design coordinates tutor, code analysis, assessment, feedback, and learner-modelling agents through a central coordinator. A feedback loop uses learner performance to adapt examples, hints, and task difficulty, while deterministic checks and instructor oversight help manage the limitations of generated feedback. The approach may make programming support more timely and responsive, but its value must be established through careful evaluation of learning outcomes, safety, fairness, and total instructional effort. Multiagent AI should complement educators and encourage independent reasoning rather than replace teaching judgment or provide unreviewed answers.

References

[1] B. P. Woolf, Building Intelligent Interactive Tutors: Student-Centered Strategies for Revolutionizing E-Learning. Morgan Kaufmann, 2009. [2] J. Anderson, C. Boyle, and B. Reiser, “Intelligent tutoring systems,” Science, vol. 228, no. 4698, pp. 456–462, 1985. [3] R. S. Baker and P. S. Inventado, “Educational data mining and learning analytics,” in Learning Analytics, Springer, 2014. [4] UNESCO, Guidance for Generative AI in Education and Research. UNESCO, 2023. [5] NIST, Artificial Intelligence Risk Management Framework (AI RMF 1.0), NIST AI 100-1, 2023. [6] OWASP Foundation, “OWASP Top 10 for Large Language Model Applications,” OWASP, online resource. [7] ACM, ACM Code of Ethics and Professional Conduct, Association for Computing Machinery, 2018. [8] W3C, Web Content Accessibility Guidelines (WCAG) 2.2, World Wide Web Consortium, 2023.

How to Cite this Contribution

APA Standard

Nagesh Motirave et al. (2026). Multiagent AI Teaching Assistant for Personalization and Adaptive Programming Education. International Journal of Research, Exploration & Knowledge (IJREK), 1(1).

Publication Metadata
Journal:IJREK
Published Date:October 23, 2026
Volume / Issue:Volume 1, Issue 1
Article ID:IJREK-2026-00133
Research Area:Computer Science
Open Access License

Distributed under Creative Commons Attribution 4.0 International (CC BY 4.0).