Interactive classroom simulation with multi-AI agents
Developed by Tsinghua University researchers, OpenMAIC brings together multiple artificial intelligence agents in the roles of teacher, student and observer in an interactive classroom environment.
Updates
- October 19, 2026: Stars 40,871 → 41,041, latest release v1.2.1 (October 18, 2026).
- October 16, 2026: Stars 40,363 → 40,871, latest release v1.2.0 (October 16, 2026).
- October 11, 2026: Stars 39,969 → 40,363, latest release v1.1.4 (October 11, 2026).
- October 5, 2026: Stars 39,351 → 39,969, latest release v1.1.3 (October 5, 2026).
What you get
- Role-based multi-agent architecture: Dynamic interaction of LLM agents in the roles of teacher, questioning student, debater, and summarizer.
- Visual and audio classroom interface: Immersive pedagogical experience with virtual whiteboard, real-time Q&A stream, and text-to-speech (TTS).
- Customizable course curriculum: Instantly create interactive lessons by uploading your own PDF documents or text-based lecture notes.
- One-click simulation launch: Manage complex agent orchestration via a modern web interface without needing technical coding knowledge.
- Open-weight model compatibility: The freedom to connect any AI model you want via Ollama, vLLM, or cloud LLM providers.
Installation
git clone https://github.com/THU-MAIC/OpenMAIC.git
cd OpenMAIC
pnpm installRunning it
pnpm run dev
# Tarayıcıda http://localhost:3000 adresini açınTechnical architecture and working principle
- Chat Orchestration Engine: The central controller that manages which agent speaks when, the order of turns, and the context of the discussion.
- Memory and Context Management: Storing shared whiteboard content and student questions in short/long-term memory throughout the lesson.
- Real-Time Streaming via WebSocket: Delivering speech text, emotional expressions, and animations to the frontend interface without latency.
Multi-agent classroom dynamics and role simulations
- Socratic Debate Environments: Agents with diverse perspectives debate a topic to trigger the user's critical thinking.
- Personalized Tutor Support: Custom AI tutors that automatically adjust the difficulty level based on the user's learning pace.
- Research on Social Interaction Between Agents: Analyzing how large language models collaborate and share information in crowded group environments.
If you don't write code
I want to simulate a Socratic discussion environment by uploading my own lecture notes on the OpenMAIC platform. Could you explain step-by-step how to define the roles of the agents (teacher, curious student, critical questioner) and how to set up this class with a local Ollama model?
Repository: https://github.com/THU-MAIC/OpenMAIC. Follow the official instructions in the README of this repository for setup and execution.
Before starting, check which OS we are on and if the necessary tools (e.g., Python, Node.js, Git, Docker) are installed. Install any missing ones step-by-step according to this system.
Create a new, empty folder to work in. Do not touch any files outside this folder and do not delete anything. Tell me what you are going to do in one sentence before running each command.
Tell me what I should see on the screen at the end of each step. If an error occurs, I will paste the error message to you exactly as it is, and we will fix it together.
Frequently asked questions
- Do I need a GPU to use OpenMAIC? If you are going to run your own local model (Ollama/vLLM), a GPU is recommended; however, it can be used directly with a standard computer via cloud APIs (OpenAI, Gemini, Groq).
- Can the user participate in the simulation via voice? Yes. Thanks to the WebRTC and voice recognition module, the user can join classroom discussions by speaking into their microphone.
- How many agents can be in a classroom at the same time? In the default configuration, an ideal interaction is achieved with between 3 and 8 agents; larger classes can be set up depending on system resources.
- In which formats can course content be uploaded? Plain text, Markdown, and PDF documents can be imported directly into the system's knowledge base.
Related dictionary terms
Links
TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-08-31: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. The introductory text was prepared with AI from the repository's own documentation, and this page was machine-translated from the Turkish original · the Turkish version prevails.