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)
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.

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.

Mapping this loop against existing tools clarifies why no off-the-shelf platform solved the problem on its own:
| Tool | Source Grounding | Pedagogical Mode | Visibility into Understanding |
|---|---|---|---|
| ChatGPT | Source unclear; prone to hallucination outside course scope | Hands out direct answers immediately | No structured record of concept gaps or misconceptions |
| Khan Academy | Generic curriculum; no instructor-specific materials | Fixed exercises not tuned to course rules | Professor cannot see class-level comprehension gaps |
| LearningX (LMS) | Static course files and announcements | Hard to ask questions in real time while studying | No diagnostic view of individual confusion or turn effort |
| Class Agent | RAG over the professor’s own lecture PDFs, slides & audio | Guides with Socratic hints tuned by the professor | Private Learning Trail for students + aggregated class dashboard for faculty |

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.

- 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 Explorationand asks the student to recall BST insertion rules first before bridging to heaps — while keeping individual chats strictly private.

- 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.

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.

- 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.

- 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 (
247total questions, top confusing conceptBST,31%inferential questions, and4 studentswith 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.

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.