Skip to content
FossShelf
Home / Categories / For AI Engineers

OpenMAIC

Open source multi-agent AI classroom with one-click lesson generation.

Replaces Khanmigo, Mursion, Second Nature

43.75K starsMITreviewed 30 Aug 2026last commit 14 Nov 2026
Screenshot of OpenMAIC

Who it's for

Corporate trainers building AI role-play simulations

OpenMAIC generates interactive training scenarios from uploaded scripts, call recordings, or written briefs. AI agents play customer, manager, or peer roles in the simulated conversation and trainees can respond and get real-time feedback. This covers the core use case of paid platforms like Second Nature, without the per-seat SaaS cost.

If your training requires certified human coaches, structured assessment reporting, or LMS integration out of the box, OpenMAIC does not ship those features and would need custom development to meet compliance requirements.

Educators creating interactive lessons from course materials

Upload lecture notes, syllabi, PDFs, or audio recordings and OpenMAIC generates a full lesson with slides, quizzes, and PBL activities. The agent workbench lets you iterate on the curriculum interactively before finalizing, and the .pptx and .html exports make content portable.

If you need a learning management system with grade tracking, student accounts, and assignment workflows, OpenMAIC is a lesson generator rather than a full LMS and the missing features would require building on top of it.

Developers building AI-powered learning products

The @openmaic/* SDK (DSL, renderer, importer) is published to npm, so teams can embed or customize the classroom engine in their own products. Per-stage model routing lets you assign different LLMs to different generation tasks, and the pluggable provider architecture means you control cost and capability tradeoffs.

If you need a managed API with SLA guarantees, a support contract, or SCORM compliance out of the box, OpenMAIC is an open source engine rather than a managed service and those requirements would need additional work.

Teams self-hosting AI training with data privacy requirements

Running OpenMAIC on your own infrastructure means training content, conversation history, and model calls stay on your servers or within your cloud account. Bedrock, Ollama, and Lemonade are all viable LLM backends that keep inference in-network. The Postgres persistence stack and incremental save system support multi-session operation.

If you process personal data subject to strict regulatory regimes (HIPAA, EU AI Act high-risk classification), verify the model providers you configure meet those compliance requirements. OpenMAIC itself is infrastructure-agnostic.

The problem

Immersive AI training simulations have been locked behind enterprise SaaS pricing and proprietary infrastructure. Platforms built for role-play practice and interactive learning charge per-seat fees, own your training content, and give you no access to the underlying AI models or curriculum generation pipeline. A team running hundreds of training sessions or a course creator building immersive lessons pays continuously for something they cannot modify, export, or host themselves. The deeper problem is inflexibility. Paid training platforms ship fixed AI personas and fixed content templates. Swapping to a newer or cheaper LLM is not possible, connecting your own document library is not supported, and adding a custom scene type requires vendor permission. When pricing changes or a feature disappears, there is no fallback. Teams that need immersive AI learning at scale, with their own data and their own models, have had no credible open source path.

How it works

One-click lesson generation from any topic or document

Describe a subject or attach a file and OpenMAIC generates a complete lesson: slides, quizzes, project-based learning activities, and interactive simulations. The generation pipeline runs against your chosen LLM, so output quality and cost scale with the model you configure.

Multi-agent classroom with AI teachers and peers

A network of AI agents plays teacher, classmate, and facilitator roles simultaneously. Each agent speaks via text-to-speech, draws on a shared whiteboard, and responds to your input in real time. The whiteboard supports diagrams and formulas, not just text.

Rich scene types: slides, quizzes, simulations, and PBL

Lessons are composed of typed scenes: presentation slides (exportable to .pptx), quizzes with persistent state, interactive HTML simulations with 3D visualization and online programming, and project-based learning (PBL) activities with a structured classroom UI.

Provider-neutral LLM and media stack

Connects to OpenAI, Anthropic, Google Gemini, Amazon Bedrock, Azure OpenAI, DeepSeek, Qwen, Kimi, MiniMax, Grok, Ollama, Lemonade, and 10+ others. Each capability (language model, TTS, ASR, image generation) is independently configurable, so you can mix providers per role.

Agent workbench with durable, steerable sessions

The v1.0.0 Pro workbench is a chat-first interface where you plan the curriculum with an agent, upload session materials (documents, audio, video, or web search), and steer generation interactively. Sessions are server-backed and survive restarts; you can cancel, resume, or redirect at any point.

Local and offline AI with Lemonade and FunASR

Run the full classroom stack without external API keys. Lemonade provides a local OpenAI-compatible endpoint for LLMs, image generation, TTS, and ASR. FunASR adds local speech recognition (SenseVoiceSmall, Paraformer, Fun-ASR-Nano) for transcribing uploaded audio and video materials.

Features

  • One-click lesson generation from any topic or document
  • Multi-agent classroom with AI teachers and peers
  • Rich scene types: slides, quizzes, simulations, and PBL
  • Provider-neutral LLM and media stack
  • Agent workbench with durable, steerable sessions
  • Local and offline AI with Lemonade and FunASR

How to install

Self-hosting uses Docker Compose after cloning the repo and configuring at least one LLM provider API key in .env.local.

git clone https://github.com/THU-MAIC/OpenMAIC.git
cd OpenMAIC
cp .env.example .env.local
docker compose up --build

Recommended for this setup

Strengths

  • MIT licensed with no usage limits on the self-hosted path: The entire codebase is MIT licensed, so you can run it commercially, fork it, and modify it without restriction. Unlike hosted training platforms that charge per session or per seat, a self-hosted deployment has no per-use cost beyond your LLM API spend.
  • Actively maintained with research backing: Published in the Journal of Computer Science and Technology (JCST, 2026) by Tsinghua University researchers, with over 22,000 GitHub stars and a release cadence that added local ASR, video export, a Pro editor, and an agent workbench across five major versions between March and August 2026.
  • Provider-neutral: bring any LLM, TTS, or image backend: No single LLM is required. The configuration accepts 15+ providers for language models alone, plus separate providers for TTS, ASR, image generation, and video. Switching from OpenAI to Gemini or adding a local Ollama instance requires only a change to the environment file.
  • Full local deployment for air-gapped and privacy-first teams: Lemonade and FunASR together cover all media modalities locally: LLM inference, TTS, ASR, and image generation with no external API calls. Teams with data privacy requirements or air-gapped environments can run the entire pipeline on their own hardware.

Trade-offs

  • Requires Node.js 20+, pnpm, and at least one LLM provider configured: The development path needs Node.js 20 or newer and pnpm 10+. The Docker Compose path simplifies this, but you still need to configure at least one LLM provider API key (or a running Lemonade or Ollama server) before the classroom generator works. This is not a zero-config install.
  • 207 open issues reflects a fast-moving, young project: OpenMAIC reached v1.0.0 in August 2026 after launching in March 2026. The issue count (207 open as of late August 2026) reflects rapid feature development rather than neglect, but teams evaluating it for production use should expect rough edges and breaking changes between versions.
  • Local audio/video extraction requires ffmpeg and a separate ASR server: Transcribing uploaded audio or video files locally requires system ffmpeg on PATH plus a configured ASR provider (FunASR, Lemonade, or OpenAI). The app skips local extraction gracefully when ffmpeg is missing, but teams wanting fully offline media processing face a non-trivial setup.

Tech stack

Languages
TypeScript, MDX, JavaScript, CSS, HTML, Dockerfile, Shell
Frameworks
Next.js, React
Databases
PostgreSQL
Tooling
AWS, esbuild, Rollup

FAQ

Is OpenMAIC free to use?

Yes. OpenMAIC is MIT licensed and free to self-host on your own infrastructure, with no per-session fees or user limits. You pay only for any external LLM, TTS, or ASR API calls your configuration makes. A fully local setup using Lemonade and FunASR eliminates external API costs entirely.

What LLM providers does OpenMAIC support?

OpenMAIC supports OpenAI, Anthropic, Google Gemini, Amazon Bedrock, Azure OpenAI, DeepSeek, Qwen, Kimi, MiniMax, Grok (xAI), GLM (Zhipu), Xiaomi MiMo, Tencent Hunyuan, Doubao, OpenRouter, Ollama, and Lemonade, plus any OpenAI-compatible API. Provider configuration is per capability: you can use different backends for language generation, TTS, ASR, image generation, and video.

How is OpenMAIC different from Mursion or Second Nature?

Mursion and Second Nature are paid commercial platforms for AI-driven training simulations, hosted on proprietary infrastructure with no self-hosting option. OpenMAIC is open source and MIT licensed: you host it on your own servers, bring your own LLM, and own your training data. The tradeoff is that OpenMAIC requires technical setup, while Mursion and Second Nature are managed services with onboarding support.

Can I use OpenMAIC without any external API keys?

Yes. Running Lemonade locally gives you a fully offline LLM, TTS, ASR, and image generation stack compatible with OpenMAIC's provider system. FunASR adds a local speech recognition server for audio and video materials. Expect higher hardware requirements compared to cloud API-based setups.

How do I deploy OpenMAIC in production?

The recommended paths are Docker Compose (clone the repo, configure .env.local with your API keys, then run docker compose up --build) and Vercel one-click deploy for teams that want a managed frontend. For shared deployments, set ACCESS_CODE in .env.local to gate access with a site-level password. The Postgres persistence stack is required for durable multi-session agent workbench use.

Similar tools

More in AI Engineers