OpenMAIC: Tsinghua's Multi-Agent AI Classroom

OpenMAIC: Tsinghua's Multi-Agent AI Classroom

OpenMAIC (Open Multi-Agent Interactive Classroom) is an open-source platform from Tsinghua University that turns any topic or PDF into a fully simulated classroom β€” AI teachers lecture with voice and whiteboard, AI classmates ask questions and debate, and the learner sits in the middle as a participant. It’s the production-ready successor to the MAIC research project, validated on 700+ real Tsinghua students over two years.

*Source: GitHub: THU-MAIC/OpenMAIC Live demo: open.maic.chat JCST’26 paper aibase coverage*

Why It Matters

MOOCs broke the geographic barrier to education but kept the same passive format: watch video β†’ take quiz. OpenMAIC’s thesis is that LLM-driven agents can finally deliver the social dimension of a real classroom β€” disagreement, peer questions, teacher improvisation β€” at zero marginal cost. The underlying paper is titled β€œFrom MOOC to MAIC: Reimagine Online Teaching and Learning through LLM-driven Agents.”

For an educator, this is a different design point than tools like NotebookLM or Khanmigo:

Tool Format Social dynamics Generation cost
NotebookLM 1-on-1 chat + audio overview None Low
Khanmigo 1-on-1 tutor None Low
OpenMAIC Full classroom (teacher + peers) Multi-agent debate One click
Traditional MOOC Pre-recorded video None Very high (human)

How It Works β€” Two-Stage Pipeline

   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚  Topic /    │───▢│  Stage 1:        │───▢│  Stage 2:        β”‚
   β”‚  PDF upload β”‚    β”‚  Outline Agent   β”‚    β”‚  Scene Generator β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚  (lesson struct) β”‚    β”‚  (slides, quiz,  β”‚
                      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚   sim, PBL)      β”‚
                                              β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                       β”‚
                                                       β–Ό
                      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                      β”‚  Playback Engine (LangGraph director)  β”‚
                      β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
                      β”‚  β”‚ Teacher   β”‚  β”‚ Classmate agents β”‚   β”‚
                      β”‚  β”‚ agent     β”‚  β”‚ (Q&A, debate)    β”‚   β”‚
                      β”‚  β”‚ + voice   β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
                      β”‚  β”‚ + whiteboard                        β”‚
                      β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                         β”‚
                      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  1. Outline Generation β€” an agent analyzes the input and produces a structured lesson plan (sections, learning objectives, scene types).
  2. Scene Generation β€” each outline item is expanded into rich content: narrated slides, interactive HTML simulations, quizzes, or project-based activities.
  3. Playback β€” a LangGraph director agent orchestrates teachers and classmates in real time. 28+ action types (speech, drawing, effects) drive an SVG whiteboard and canvas-based slide editor.

Tech Stack (Worth Knowing)

  • Frontend: Next.js 16, React 19, TypeScript, Tailwind 4
  • Orchestration: LangGraph 1.1 (this is the interesting part β€” it’s a real reference implementation of multi-agent classroom orchestration)
  • LLM-agnostic: OpenAI, Claude, Gemini, DeepSeek, MiniMax, Grok, or any OpenAI-compatible endpoint
  • Export: editable .pptx and standalone interactive HTML β€” meaning you can generate a class, export it, and ship it as a real lecture
  • OpenClaw integration: push generated classrooms into Feishu, Slack, Telegram, and 20+ messaging apps

What’s Inside the Classroom

Element What it does
AI Teacher Lectures with TTS voice, draws on whiteboard, writes formulas live
AI Classmates Ask questions, debate, model β€œwhat a peer is thinking”
Slides Auto-generated, narrated, canvas-editable
Whiteboard SVG-based, agents draw in real time
Quizzes Interleaved checkpoints
HTML simulations Hands-on interactive widgets per topic
PBL activities Project-based learning scenes
Web search Pulled in live during instruction

Real-World Validation

The MAIC research line has been deployed at Tsinghua since July 2024, starting with two courses for 500+ students and now validated with 700+ students across two years of iteration. This is rare for an β€œAI classroom” β€” most are demos. The published paper in JCST 2026 makes this one of the more credible academic-to-production handoffs in AI education.

How LearnAI Team Could Use This

For LearnAI’s research lens (AI-assisted education, formal verification pedagogy), OpenMAIC is interesting on three axes:

  1. Multi-agent peer modeling β€” the β€œAI classmate” idea is a clean operationalization of social learning theory. Useful as a baseline to compare against any custom LearnAI agent design.
  2. Open architecture β€” LangGraph director + 28 action types is a reusable scaffold. The team could fork it to plug in domain-specific agents (e.g., a β€œtype-checker classmate” for a PL course).
  3. Export to PPTX/HTML β€” generated lessons aren’t trapped in the platform. This matters if LearnAI wants to use OpenMAIC as a content generator rather than a runtime.

Real-World Use Cases

  • University instructors β€” turn lecture notes or PDFs into interactive classroom simulations with teacher narration, peer questions, quizzes, and whiteboard work.
  • Online course teams β€” generate MOOC-style lessons with more social dynamics than static video.
  • AI education researchers β€” study how multi-agent peer modeling changes engagement, misconception repair, and learning outcomes.
  • Technical training teams β€” export generated classes to PPTX or standalone HTML for reuse in workshops and internal courses.

Getting Started

git clone https://github.com/THU-MAIC/OpenMAIC.git
cd OpenMAIC
# Configure .env with your LLM provider keys (OpenAI / Claude / etc.)
npm install
npm run dev

Or skip setup entirely and try the hosted demo: open.maic.chat

Things to Know

  • Repo is hot β€” 13.3k stars at the time of writing, very active
  • LLM-agnostic but quality scales with model: Claude/GPT-4-class for best lesson coherence
  • Two languages out of the box: δΈ­ζ–‡ and English
  • The org is THU-MAIC (separate from THUDM/KEG, which is the better-known Tsinghua AI org behind GLM/ChatGLM)
  • Companion repos: MAIC-Core (algorithms) and SimClass (NAACL 2025 paper β€œSimulating Classroom Education with LLM-Empowered Agents”)