Research · HCI / HAI

Class Agent: Closing the Classroom AI Loop with Configurable Guided Tutoring and Class Insights

Members
5-person team · Creative Design, CAU
My Role
Team lead: ideation, design, prototype
Project Period
Mar 2026 – Jun 2026
Deliverables
Clickable Figma prototype · UML activity diagrams · System specification
Tools
Figma · Visual Paradigm (UML)

92.4%of university students already use generative AI for study
57%of professors allow AI only within limits they set
54%of professors say teaching and assessment must change

Problem and context

Generative AI has already reshaped university coursework: 92.4% of university students use AI tools for studying, ranging from concept clarification to completing graded assignments outright. Faculty recognize that blanket bans cannot hold — in a global survey of 1,600+ faculty across 28 countries, 82% worry students are becoming over-reliant on AI, 57% allow AI only within explicit boundaries they define, and 54% say teaching and assessment must fundamentally change. Banning AI is not enough; the learning environment itself has to be redesigned around guided use and visibility into understanding.

Class Agent is a dual-role, professor-led AI tutoring service and clickable Figma prototype built as a 5-person Creative Design project at Chung-Ang University. Rather than leaving students with an unconstrained general chatbot that hands out off-syllabus answers, the service connects faculty and students inside a single closed classroom loop built on three pillars: (1) Instructor Policy & Grounding — professors upload their own lecture PDFs, slides, and recorded audio into a course-scoped Vector DB and set concrete pedagogical guardrails (hint level, Socratic answer style, exam-scope direct-answer blocks, and external-source locks); (2) Student Guided Tutoring & Private Learning Trail — when a student asks a question, policy checks intercept exam-scope prompts and convert them into multi-step Socratic cues cited directly to the lecture slides, while privately tagging each turn by question type and triggering auto-graded drills on recurring weak spots; and (3) Privacy-Preserving Class Insights — without ever exposing individual student chats, anonymized concept bottlenecks, clustered misconceptions, and inactive-student alerts flow back to the instructor to directly reshape the next lecture and tutor policy.

Before & After: from open-loop answers to a closed learning loop

Today’s classroom AI workflow fails both students and instructors because it operates as an open loop: answers flow out immediately, but neither active recall nor diagnostic feedback ever returns to the course. Redesigning the flow required contrasting every step of the status quo against a professor-led closed loop.

Before · Open loop
1. Student hesitates: Afraid that peers already understand, the student skips asking in lecture and turns to a general chatbot (e.g., ChatGPT) outside course context.
2. Instant, ungrounded answer: The model outputs a complete solution right away with unclear sources, off-syllabus notation, or hallucinations.
3. Illusion of competence: Reading a fluent explanation feels like understanding, yet skips active recall and leaves no record of what concepts remain weak.
4. Faculty blind spot: Fewer questions reach office hours, and AI-polished submissions mask who truly grasped the material — leaving no diagnostic signal for the next lecture.
After · Class Agent
1. Professor sets the rules: Before study begins, the instructor uploads course PDFs, slides, and recorded audio, and sets Socratic style, hint level, external-source rules, and exam-scope blocks.
2. Lecture-grounded guided dialogue: The tutor retrieves strictly from the professor’s materials and responds with calibrated hints and follow-up questions while keeping individual student chats private.
3. Personal Learning Trail: Every turn is classified by question type and logged to the student’s own dashboard, turning recurring confusion into auto-graded practice drills.
4. Closed-loop Class Insights: Aggregated concept hotspots, recurring misconceptions, and inactive-student alerts flow to the professor — directly informing Next Lecture Improvement Points and updated tutor rules.
Before vs. After user flow comparing unconstrained general-LLM coursework use (broken feedback loop) against Class Agent's professor-led, privacy-preserving closed learning loop.
Before vs. After user flow: replacing open-loop answer retrieval with a lecture-grounded, privacy-preserving feedback loop back into the next lecture.

How Class Agent works: architecture & step-by-step system loop

Beneath the interface, Class Agent runs as a single four-stage closed loop shared across two roles (modeled in our Visual Paradigm UML activity diagrams). After logging in and selecting a course, users enter either the professor policy flow or the student tutoring flow, connected through a shared course Vector DB and a privacy boundary that strips individual chat logs before class aggregation.

Stage 1 · Set the rules
In Agent Config, the professor uploads lecture PDFs, PPT slides, and recorded audio (e.g., Lecture 5 · Trees, Lecture 6 · Heaps) into the course Vector DB. Four rule controls — External sources toggle, Direct answers in exam scope (blocked), Hint level slider, and Answer style (Socratic / Explain / Short hint) — are compiled into a dynamic system prompt applied to every student turn.
Stage 2 · Ask & retrieve
When a student submits a question, the tutor first checks the professor’s policy guardrails (whether external knowledge is allowed and whether the query falls inside blocked exam scope), runs RAG over the course Vector DB to retrieve the instructor’s own definitions and examples, and shapes its reply according to the configured hint level and response style.
Stage 3 · Trail & practice
Every dialogue turn is automatically labeled across four cognitive categories (Concept, Surface, Inference, Misconception) and saved to the student’s private Learning Trail (know / confused / not yet). Concepts a student queries repeatedly trigger auto-graded practice problems whose outcomes update the trail.
Stage 4 · Read the class
While individual transcripts remain strictly private to each student, aggregated signals — question volume by concept (BST, Heap, Linked List, Pointer), question-type ratios, the count of students who have not asked yet, and recurring misconception clusters — populate the Professor Insight Dashboard, recommending which weak concepts to supplement and which tutor rules to adjust for the next lecture.
End-to-end Class Agent architecture: (a) Instructor policy & RAG grounding, (b) Student guided Socratic tutoring with Exam-Scope Policy Check and Private Learning Trail, and (c) Closed-loop Class Insights feeding back into the next lecture.
Class Agent service architecture: (a) Instructors ground the tutor in course files (PDF, PPT, audio) and configure pedagogical rules including hint level, Socratic style, external-source limits, and exam-scope guards. (b) Student questions inside exam scope pass through the Exam-Scope Policy Check, returning lecture-cited Socratic steps (Recall → Compare → Self-explain) and logging each interaction privately to the student’s Learning Trail with auto-graded weak-concept drills. (c) Anonymized, concept-clustered question volume, recurring misconception alerts, and inactive-student signals feed back to the professor to inform next-lecture review and updated tutor rules.

Mapping this loop against existing tools clarifies why no off-the-shelf platform solved the problem on its own:

ToolSource GroundingPedagogical ModeVisibility into Understanding
ChatGPTSource unclear; prone to hallucination outside course scopeHands out direct answers immediatelyNo structured record of concept gaps or misconceptions
Khan AcademyGeneric curriculum; no instructor-specific materialsFixed exercises not tuned to course rulesProfessor cannot see class-level comprehension gaps
LearningX (LMS)Static course files and announcementsHard to ask questions in real time while studyingNo diagnostic view of individual confusion or turn effort
Class AgentRAG over the professor’s own lecture PDFs, slides & audioGuides with Socratic hints tuned by the professorPrivate Learning Trail for students + aggregated class dashboard for faculty
Dual-role system loop and privacy boundary redrawn from the team’s Visual Paradigm UML activity diagrams.
End-to-end dual-role system flow redrawn from our Visual Paradigm UML activity diagrams: the professor lane uploads lecture materials (PDF, PPT, audio) and configures dynamic prompt guardrails into the Course Vector DB, while the private student lane runs rule checks, RAG retrieval, Socratic guidance, and Learning Trail drills; only anonymized concept signals cross the privacy boundary back to the Professor Insight Dashboard. The clickable Figma prototype demonstrates the full interaction loop; the RAG Vector DB and dynamic-prompt agent backend are specified in the system report rather than live-deployed.

For students: a tutor that makes me think

Many students hesitate to ask questions during lectures for fear that peers already understand the material. General-purpose AI tools make readings feel clearer in the moment, yet they create an illusion of competence: students feel confident after reading a fluent answer without retaining the reasoning or recognizing which underlying concepts remain shaky. Over time, that disconnect breeds disengagement and isolation.

Student-perspective 5-step user flow: Pick Course → Guard + RAG → Guided Hints → Learning Trail → Weak Drills.
Student-perspective user flow: low-stakes questions pass through course policy guards and slide-grounded RAG to return Socratic steps, logging privately to the Learning Trail and generating targeted drills on weak concepts.
01 · Professor Voice Tutor
General LLMs often contradict an instructor’s terminology, cite unclear sources, or hallucinate. To prevent off-syllabus drift, the tutor grounds every response via RAG strictly in the professor’s uploaded materials — PDFs, slides, and recorded audio (e.g., Lecture 1_What is a Data Structure?.pdf).
02 · Guides instead of answering
Ready-made answers feel clear without building retention. Instead of handing over a solution, the tutor responds with Socratic hints and follow-up questions calibrated to the professor’s rules. When a student asks about the difference between a heap tree and a binary search tree (BST), the tutor tags the turn as Concept Exploration and asks the student to recall BST insertion rules first before bridging to heaps — while keeping individual chats strictly private.
Student tutor chat demonstrating Socratic Concept Exploration on BST vs. Heap Tree.
Professor Voice Tutor guiding a student through BST vs. Heap Tree via Socratic prompts instead of handing out the answer directly.
03 · Learning Trail
After a long chat, students struggle to separate mastered concepts from lingering blind spots. Class Agent automatically classifies every question across four types — Concept, Surface, Inference, and Exposure to Misconceptions — and summarizes them in Recent Learning Records with the date, question summary, category, and turns until understanding (e.g., BST? · Concept · 3 Turns, Class in Different Programming Languages · Inference · 2 Turns).
04 · Practice on weak concepts
Seeing what was confusing is not enough to build recall. Concepts a student repeatedly queries are converted into targeted practice questions, automatically graded, and written back into the Learning Trail to track recovery over time.
Learning Trail showing distribution of four question types and recent records with turn counts until understanding.
Learning Trail: distribution across four question types (Concept, Surface, Inference, Exposure to Misconceptions) and recent turn-to-understanding logs.

For professors: shape the tutor, see the class

As AI use spreads, instructors face a widening visibility gap: fewer questions reach office hours or lecture halls, and polished AI-assisted homework obscures whether students genuinely grasped the material or respected course policies. Class Agent splits the faculty workflow into two clear controls — shaping how the tutor behaves before study, and reading class-level understanding afterward.

Professor-perspective 5-step closed-loop user flow: Upload Files → Set Guardrails → Publish Agent → Class Insights → Tune Next Class.
Professor-perspective closed-loop flow: instructors ground the tutor in course materials, configure guardrails, and review anonymized class-level hotspots and misconception alerts to reshape the next lecture and hint rules.
01 · Customize the AI tutor
Because AI cannot be banned outright, 57% of faculty prefer setting explicit pedagogical boundaries. In Agent Config, professors upload lecture files (PDF, PPT, audio), toggle two guardrails — prohibit direct answers in exam scope and allow/block external general knowledge — drag a continuous Hint level slider (Hints only → Including solutions), and pick a Response style (Socratic method, Explanation-focused, or Short hint) injected dynamically into every tutor reply.
Professor Agent Config: uploaded lecture files, exam-scope block toggle, external-source toggle, hint slider, and Socratic response style.
Tutor configuration: course materials, exam-scope and external-material toggles, continuous hint-level slider, and response-style controls.
02 · Professor Insight Dashboard
Finished assignments no longer show where a class is struggling, yet monitoring private chats would deter candid questions. Keeping individual logs private, Class Insights surfaces aggregated weekly KPIs (247 total questions, top confusing concept BST, 31% inferential questions, and 4 students with zero activity), ranked concept hotspots (BST 38, Binary Tree 31, Linked List 22, Pointer 14), and clustered Recurring Misconceptions (Difference Between BST and Heap Trees — 12 students; FIFO, LIFO, MLFQ — 8 students) linked directly to Next Lecture Improvement Points.
Professor Insight Dashboard showing weekly question volume, concept breakdown, recurring misconceptions, and inactive-student alert.
Class Insights dashboard: weekly KPIs, concept-level question volume, clustered misconceptions, and next-lecture supplement prompts.

Scope & reflection

This project was delivered as a system specification, UML activity-diagram suite, and clickable Figma prototype rather than a live backend deployment. Separating student-facing private scaffolding from professor-facing aggregated patterns emerged as the central HAI design tension: students only ask candid, low-stakes questions when they trust their chat is private, yet faculty still need timely signals on class-wide misconceptions before exams.

Next steps: implement the lecture-RAG and dynamic-prompt guardrail backend, then run a classroom pilot measuring whether Socratic hint calibration reduces illusion of competence (self-rated confidence vs. delayed quiz accuracy) and whether faculty act on clustered misconception alerts between lectures.