Agent4Edu is a Python-based AI agent framework designed to support teaching and learning through automated, intelligent interactions. It orchestrates multiple agents—such as question‐generation, feedback, and analytics agents—powered by large language models and domain knowledge graphs. Teachers can define curricula and knowledge sources, then deploy Agent4Edu to generate exercises, grade submissions, track learning progress, and recommend study materials. Its plugin architecture allows integration with popular LMS platforms via REST APIs or direct database connectors. Built-in tools for customizing prompts, fine-tuning models, and visualizing student performance make Agent4Edu a comprehensive solution for personalized, data-driven education.