CodeEdu: A Multi-Agent Collaborative Platform for Personalized Coding Education

Jianing Zhao, Peng Gao, Jiannong Cao, Zhiyuan Wen, Chen Chen, Jianing Yin, Ruosong Yang, Bo YuanarXiv 2025 · DOI

Abstract

Traditional Large Language Model (LLM) applications in coding education are often reactive, functioning as simple chatbots that lack pedagogical depth and personalization. This paper introduces CodeEdu, a multi-agent collaborative platform built on the CrewAI framework. By distributing responsibilities among specialized agents—including a Planner, Researcher, Programmer, and Tutor—CodeEdu provides a proactive, structured instructional journey. Evaluation against a single-agent GPT-4o baseline demonstrates significant improvements, particularly for advanced learners, with a 190% enhancement in Pass@k scores for high-level tasks.

Introduction

The rise of LLMs has transformed code generation and explanation, yet their educational utility remains limited by a "reactive" paradigm. Most current tools wait for student prompts without assessing skill levels or designing long-term learning plans. Teaching is inherently multi-stage, requiring a balance of abstract conceptualization, execution, and iterative debugging. Single-agent systems often struggle to maintain this balance, leading to a fragmented learning experience. CodeEdu addresses this gap by transitioning from a single-agent chatbot to a multi-agent team capable of proactive, personalized guidance.

Methodology

CodeEdu utilizes a Multi-Agent System (MAS) architecture to decompose the complex task of tutoring into specialized sub-tasks. The system is organized into three primary components: the Agent Pool, Tool Pool, and Task Pool.

The CodeEdu system architecture, illustrating the coordination between the Agent Pool, Tool Pool, and the Planner-led workflow.

The Agent Pool features roles such as the Planner (orchestrator), Researcher (knowledge retrieval), Programmer (code execution), Tutor (interactive Q&A), and Report Analyst (progress summarization). These agents leverage a Tool Pool containing web crawlers, code interpreters, and research engines. A Planner agent acts as the central intelligence, receiving user requests and conversation history to dynamically assign tasks to the appropriate agents.

The platform was evaluated using 100 LeetCode problems across three simulated student levels (Low, Medium, and High) to test adaptability and technical accuracy.

Results and Discussion

CodeEdu significantly outperformed a static GPT-4o baseline across multiple metrics. The system achieved a 96.5% improvement in Pass@k and a 65.7% increase in Recall@k. Notably, the multi-agent approach was most effective for high-level students, where it achieved a 190% enhancement in Pass@k scores. This suggests that the coordination of specialized agents is crucial for the nuanced debugging required in complex programming tasks.

The CodeEdu user interface and workflow, demonstrating task decomposition, personalized inquiry, and automated report generation.

Qualitative assessments using a 5-point Likert scale further validated the system's superiority, showing a 31.4% gain in interactivity and a 16.7% improvement in personalization. By separating logic execution (Programmer) from pedagogical explanation (Tutor), the system avoids "role drift" and maintains high instructional quality.

Conclusion

CodeEdu demonstrates the power of multi-agent collaboration in creating proactive, personalized educational tools. While current evaluations rely on simulated students and algorithmic problems, future work will focus on real-world classroom integration and expanding the system's capabilities to handle open-ended software engineering projects and long-term adaptive curricula.

Summary updated

BibTeX
@misc{zhao2025codeedu,
  author = {Jianing Zhao and Peng Gao and Jiannong Cao and Zhiyuan Wen and Chen Chen and Jianing Yin and Ruosong Yang and Bo Yuan},
  title = {{CodeEdu: A Multi-Agent Collaborative Platform for Personalized Coding Education}},
  year = {2025},
  eprint = {2507.13814},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.13814},
}
Figure