From 07ebe96038b4d2d768af31fd403d0deda645b485 Mon Sep 17 00:00:00 2001
From: wehub-resource-sync
- Get an immersive, multi-agent learning experience in just one click + 一键生成沉浸式多智能体互动课堂。
@@ -15,13 +21,13 @@
-
+
-
+
@@ -33,61 +39,61 @@
English | 简体中文
- Live Demo · Quick Start · Lemonade · Features · Use Cases · OpenClaw
+ 在线体验 · 快速开始 · Lemonade · 功能特性 · 使用场景 · OpenClaw
+
-Or pre-configure it via env var (no API key required):
+也可以通过环境变量预先配置(不需要 API Key):
```env
TTS_VOXCPM_BASE_URL=http://localhost:8000/v1
```
-**3. Manage voices.** Three voice modes, all under **Settings → Text-to-Speech → VoxCPM2 → VoxCPM Voices**.
+**3. 管理音色。** 三种音色模式,都在 **设置 → 语音合成 → VoxCPM2 → VoxCPM 音色** 里。
-
+
-- **Auto Voice** (default): OpenMAIC generates a voice prompt from each agent's persona at synthesis time. No setup required.
-- **Prompt voice**: describe the voice in natural language, e.g. *"warm female teacher voice, calm and encouraging, mid-pitch"*.
-- **Clone voice**: upload a short reference audio clip or record one in the browser. The clip is stored in IndexedDB and sent to your VoxCPM backend on each synthesis.
+- **Auto Voice**(默认):合成时根据每个智能体的人设动态生成 voice prompt,零配置。
+- **Prompt 音色**:用自然语言描述音色,例如 *"温暖的女性教师嗓音,平静而鼓励,中等音调"*。
+- **Clone 音色**:上传一段参考音频或在浏览器里录一段。音频存在 IndexedDB 中,每次合成时发给后端。
---
-## ✨ Features
+## ✨ 功能特性
-### Deep Interactive Mode (New!)
+### 深度交互模式(新功能)
-**Passive listening? ❌ Hands-on exploration! ✅**
+**被动听讲?❌ 动手探索!✅**
-As Einstein said: *"Play is the highest form of research."*
+爱因斯坦说过:*"玩耍是最高形式的研究。"*
-While **Standard Mode** focuses on quickly generating classroom content, **Deep Interactive Mode** goes further — creating interactive, explorable, hands-on learning experiences. Students don't just watch knowledge; they adjust experiments, observe simulations, and actively explore how things work.
+**标准模式**快速生成课堂内容,而**深度交互模式**更进一步——创建交互式、可探索、动手的学习体验。学生不只是观看知识,而是调整实验、观察模拟、主动探索原理。
-#### Five Types of Interactive UI
+#### 五种交互界面
-**🌐 3D Visualization**
+**🌐 3D 可视化**
-Three-dimensional visual representations that make abstract structures more intuitive.
+三维可视化呈现,让抽象结构更直观。
|
-**⚙️ Simulation**
+**⚙️ 模拟实验**
-Process simulations and experimental environments for observing dynamic changes and outcomes.
+流程模拟和实验环境,观察动态变化和结果。
@@ -316,18 +322,18 @@ Process simulations and experimental environments for observing dynamic changes
|
-**🎮 Game**
+**🎮 游戏**
-Knowledge-based mini-games that reinforce understanding and memory through interactive challenges.
+知识小游戏,通过交互挑战加深理解和记忆。
|
-**🧭 Mind Map**
+**🧭 思维导图**
-Structured knowledge organization to help learners build an overall conceptual framework.
+结构化知识组织,帮助学习者建立整体概念框架。
@@ -336,9 +342,9 @@ Structured knowledge organization to help learners build an overall conceptual f
|
-**💻 Online Programming**
+**💻 在线编程**
-In-browser coding and instant execution for learning by writing, testing, and iterating.
+浏览器内编码和即时运行,边写边学边迭代。
@@ -349,28 +355,28 @@ In-browser coding and instant execution for learning by writing, testing, and it
|
-#### Available on Any Device
+#### 多设备适配
-All generated interactive UI is fully responsive — desktop, tablet, or mobile.
+所有生成的交互界面完全响应式——桌面、平板、手机均可使用。
-**Desktop**
+**桌面**
|
-**Mobile**
+**手机**
@@ -387,41 +393,39 @@ All generated interactive UI is fully responsive — desktop, tablet, or mobile.
|
-**🎓 Slides**
+**🎓 幻灯片(Slides)**
-AI teachers deliver lectures with voice narration, spotlight effects, and laser pointer animations — just like a real classroom.
+AI 老师配合聚光灯和激光笔动作进行语音讲解——如同真实课堂。
|
-**🧪 Quiz**
+**🧪 测验(Quiz)**
-Interactive quizzes (single / multiple choice, short answer) with real-time AI grading and feedback.
+交互式测验(单选 / 多选 / 简答),支持 AI 实时判分和反馈。
@@ -430,18 +434,18 @@ Interactive quizzes (single / multiple choice, short answer) with real-time AI g
|
-**🔬 Interactive Simulation**
+**🔬 交互式模拟(Interactive)**
-HTML-based interactive experiments for visual, hands-on learning — physics simulators, flowcharts, and more.
+基于 HTML 的交互实验,用于可视化、动手学习——物理模拟器、流程图等。
|
-**🏗️ Project-Based Learning (PBL)**
+**🏗️ 项目制学习(PBL)**
-Choose a role and collaborate with AI agents on structured projects with milestones and deliverables.
+选择一个角色,与 AI 智能体协作完成结构化项目,包含里程碑和交付物。
@@ -449,16 +453,16 @@ Choose a role and collaborate with AI agents on structured projects with milesto
|
| -- **Classroom Discussion** — Agents proactively initiate discussions; you can jump in anytime or get called on -- **Roundtable Debate** — Multiple agents with different personas discuss a topic, with whiteboard illustrations -- **Q&A Mode** — Ask questions freely; the AI teacher responds with slides, diagrams, or whiteboard drawings -- **Whiteboard** — AI agents draw on a shared whiteboard in real time — solving equations step by step, sketching flowcharts, or illustrating concepts visually. +- **课堂讨论** — 智能体主动发起讨论话题,你可以随时加入或被点名互动 +- **圆桌辩论** — 多个不同人设的智能体围绕话题展开讨论,配合白板讲解 +- **自由问答** — 随时提问,AI 老师通过幻灯片、图表或白板进行解答 +- **白板** — AI 智能体在共享白板上实时绘图——逐步推导方程、绘制流程图、直观讲解概念 | @@ -469,13 +473,13 @@ Choose a role and collaborate with AI agents on structured projects with milesto |
| -OpenMAIC integrates with [OpenClaw](https://github.com/openclaw/openclaw) — a personal AI assistant that connects to messaging platforms you already use (Feishu, Slack, Discord, Telegram, WhatsApp, etc.). With this integration, you can **generate and view interactive classrooms directly from your chat app** without ever touching a terminal. +OpenMAIC 集成了 [OpenClaw](https://github.com/openclaw/openclaw)——一个连接你日常使用的消息平台(飞书、Slack、Discord、Telegram、WhatsApp 等)的个人 AI 助手。通过这个集成,你可以**直接在聊天应用中生成和查看互动课堂**,无需碰命令行。 | @@ -486,23 +490,23 @@ OpenMAIC integrates with [OpenClaw](https://github.com/openclaw/openclaw) — a |
| -**Available on ClawHub** — Install with one command: +**已上架 ClawHub** — 一行命令安装: ```bash clawhub install openmaic ``` -Or copy manually: +或手动复制: ```bash mkdir -p ~/.openclaw/skills @@ -512,16 +516,16 @@ cp -R /path/to/OpenMAIC/skills/openmaic ~/.openclaw/skills/openmaic |
-> *"Teach me Python from scratch in 30 min"*
+> *"零基础文科生,30 分钟学会 Python"*
|
-> *"How to play the board game Avalon"*
+> *"如何上手阿瓦隆桌游"*
@@ -585,14 +589,14 @@ Optional config in `~/.openclaw/openclaw.json`:
|
-> *"Analyze the stock prices of Zhipu and MiniMax"*
+> *"分析一下智谱和 MiniMax 的股价"*
|
-> *"Break down the latest DeepSeek paper"*
+> *"DeepSeek 最新论文解析"*
@@ -602,92 +606,92 @@ Optional config in `~/.openclaw/openclaw.json`:
---
-## 🤝 Contributing
+## 🤝 参与贡献
-We welcome contributions from the community! Whether it's bug reports, feature ideas, or pull requests — every bit helps.
+我们欢迎社区的贡献!无论是 Bug 报告、功能建议还是 Pull Request,都非常感谢。
-### Project Structure
+### 项目结构
```
OpenMAIC/
├── app/ # Next.js App Router
-│ ├── api/ # Server API routes (~18 endpoints)
-│ │ ├── generate/ # Scene generation pipeline (outlines, content, images, TTS …)
-│ │ ├── generate-classroom/ # Async classroom job submission + polling
-│ │ ├── chat/ # Multi-agent discussion (SSE streaming)
-│ │ ├── pbl/ # Project-Based Learning endpoints
-│ │ └── ... # quiz-grade, parse-pdf, web-search, transcription, etc.
-│ ├── classroom/[id]/ # Classroom playback page
-│ └── page.tsx # Home page (generation input)
+│ ├── api/ # 服务端 API 路由(约 18 个端点)
+│ │ ├── generate/ # 场景生成流水线(大纲、内容、图片、TTS…)
+│ │ ├── generate-classroom/ # 异步课堂生成提交与轮询
+│ │ ├── chat/ # 多智能体讨论(SSE 流式传输)
+│ │ ├── pbl/ # 项目制学习端点
+│ │ └── ... # quiz-grade, parse-pdf, web-search, transcription 等
+│ ├── classroom/[id]/ # 课堂回放页面
+│ └── page.tsx # 首页(生成输入)
│
-├── lib/ # Core business logic
-│ ├── generation/ # Two-stage lesson generation pipeline
-│ ├── orchestration/ # LangGraph multi-agent orchestration (director graph)
-│ ├── playback/ # Playback state machine (idle → playing → live)
-│ ├── action/ # Action execution engine (speech, whiteboard, effects)
-│ ├── ai/ # LLM provider abstraction
-│ ├── api/ # Stage API facade (slide/canvas/scene manipulation)
-│ ├── store/ # Zustand state stores
-│ ├── types/ # Centralized TypeScript type definitions
-│ ├── audio/ # TTS & ASR providers
-│ ├── media/ # Image & video generation providers
-│ ├── export/ # PPTX & HTML export
-│ ├── hooks/ # React custom hooks (55+)
-│ ├── i18n/ # Internationalization (zh-CN, zh-TW, en-US, ja-JP, ru-RU, ar-SA, pt-BR)
+├── lib/ # 核心业务逻辑
+│ ├── generation/ # 两阶段课堂生成流水线
+│ ├── orchestration/ # LangGraph 多智能体编排(导演图)
+│ ├── playback/ # 回放状态机(idle → playing → live)
+│ ├── action/ # 动作执行引擎(语音、白板、特效)
+│ ├── ai/ # LLM 服务商抽象层
+│ ├── api/ # Stage API 门面(幻灯片/画布/场景操作)
+│ ├── store/ # Zustand 状态管理
+│ ├── types/ # 集中式 TypeScript 类型定义
+│ ├── audio/ # TTS & ASR 服务商
+│ ├── media/ # 图片 & 视频生成服务商
+│ ├── export/ # PPTX & HTML 导出
+│ ├── hooks/ # React 自定义 Hooks(55+)
+│ ├── i18n/ # 国际化(zh-CN, zh-TW, en-US, ja-JP, ru-RU, ar-SA, pt-BR)
│ └── ... # prosemirror, storage, pdf, web-search, utils
│
-├── components/ # React UI components
-│ ├── slide-renderer/ # Canvas-based slide editor & renderer
-│ │ ├── Editor/Canvas/ # Interactive editing canvas
-│ │ └── components/element/ # Element renderers (text, image, shape, table, chart …)
-│ ├── scene-renderers/ # Quiz, Interactive, PBL scene renderers
-│ ├── generation/ # Lesson generation toolbar & progress
-│ ├── chat/ # Chat area & session management
-│ ├── settings/ # Settings panel (providers, TTS, ASR, media …)
-│ ├── whiteboard/ # SVG-based whiteboard drawing
-│ ├── agent/ # Agent avatar, config, info bar
-│ ├── ui/ # Base UI primitives (shadcn/ui + Radix)
+├── components/ # React UI 组件
+│ ├── slide-renderer/ # 基于 Canvas 的幻灯片编辑器和渲染器
+│ │ ├── Editor/Canvas/ # 交互式编辑画布
+│ │ └── components/element/ # 元素渲染器(文本、图片、形状、表格、图表…)
+│ ├── scene-renderers/ # 测验、交互、PBL 场景渲染器
+│ ├── generation/ # 课堂生成工具栏和进度
+│ ├── chat/ # 聊天区域和会话管理
+│ ├── settings/ # 设置面板(服务商、TTS、ASR、媒体…)
+│ ├── whiteboard/ # 基于 SVG 的白板绘图
+│ ├── agent/ # 智能体头像、配置、信息栏
+│ ├── ui/ # 基础 UI 组件(shadcn/ui + Radix)
│ └── ... # audio, roundtable, stage, ai-elements
│
-├── packages/ # Workspace packages
-│ ├── pptxgenjs/ # Customized PowerPoint generation
-│ └── mathml2omml/ # MathML → Office Math conversion
+├── packages/ # 工作区子包
+│ ├── pptxgenjs/ # 定制化 PowerPoint 生成
+│ └── mathml2omml/ # MathML → Office Math 转换
│
├── skills/ # OpenClaw / ClawHub skills
-│ └── openmaic/ # Guided OpenMAIC setup & generation SOP
-│ ├── SKILL.md # Thin router with confirmation rules
-│ └── references/ # On-demand SOP sections
+│ └── openmaic/ # OpenMAIC 引导式 SOP skill
+│ ├── SKILL.md # 轻量路由层 + 确认规则
+│ └── references/ # 按需加载的 SOP 分段
│
-├── configs/ # Shared constants (shapes, fonts, hotkeys, themes …)
-└── public/ # Static assets (logos, avatars)
+├── configs/ # 共享常量(形状、字体、快捷键、主题…)
+└── public/ # 静态资源(logo、头像)
```
-### Key Architecture
+### 核心架构
-- **Generation Pipeline** (`lib/generation/`) — Two-stage: outline generation → scene content generation
-- **Multi-Agent Orchestration** (`lib/orchestration/`) — LangGraph state machine managing agent turns and discussions
-- **Playback Engine** (`lib/playback/`) — State machine driving classroom playback and live interaction
-- **Action Engine** (`lib/action/`) — Executes 28+ action types (speech, whiteboard draw/text/shape/chart, spotlight, laser …)
+- **生成流水线** (`lib/generation/`) — 两阶段:大纲生成 → 场景内容生成
+- **多智能体编排** (`lib/orchestration/`) — 基于 LangGraph 的状态机,管理智能体轮次和讨论
+- **回放引擎** (`lib/playback/`) — 驱动课堂回放和实时互动的状态机
+- **动作引擎** (`lib/action/`) — 执行 28+ 种动作类型(语音、白板绘图/文字/形状/图表、聚光灯、激光笔…)
-### How to Contribute
+### 贡献流程
-1. Fork the repository
-2. Create your feature branch (`git checkout -b feature/amazing-feature`)
-3. Commit your changes (`git commit -m 'Add amazing feature'`)
-4. Push to the branch (`git push origin feature/amazing-feature`)
-5. Open a Pull Request
+1. Fork 本仓库
+2. 创建你的功能分支 (`git checkout -b feature/amazing-feature`)
+3. 提交你的更改 (`git commit -m 'Add amazing feature'`)
+4. 推送到分支 (`git push origin feature/amazing-feature`)
+5. 提交 Pull Request
---
-## 💼 Partnerships
+## 💼 商业合作
-This project is licensed under the MIT License, so commercial use is permitted free of charge. For partnership or collaboration inquiries, please contact: **thu_maic@mail.tsinghua.edu.cn**
+本项目基于 MIT 协议开源,可免费商用。商业合作或共建请联系:**thu_maic@mail.tsinghua.edu.cn**
---
-## 📝 Citation
+## 📝 引用
-If you find OpenMAIC useful in your research, please consider citing:
+如果 OpenMAIC 对您的研究有帮助,请考虑引用:
```bibtex
@Article{JCST-2509-16000,
@@ -712,15 +716,15 @@ If you find OpenMAIC useful in your research, please consider citing:
---
-## 📄 License
+## 📄 许可证
-This project is licensed under the [MIT License](LICENSE).
+本项目基于 [MIT License](LICENSE) 开源。
-### Third-Party Components
+### 第三方组件
-The repository bundles workspace packages that are **not** covered by the root MIT license and keep their own terms:
+仓库内置的以下工作区子包**不**受根目录 MIT 许可证覆盖,各自保留原有协议:
-- `packages/mathml2omml` — [LGPL-3.0-or-later](packages/mathml2omml/LICENSE)
-- `packages/pptxgenjs` — [MIT](packages/pptxgenjs/package.json) (third-party)
+- `packages/mathml2omml` —— [LGPL-3.0-or-later](packages/mathml2omml/LICENSE)
+- `packages/pptxgenjs` —— [MIT](packages/pptxgenjs/package.json)(第三方)
-When redistributing the repository as a whole, the terms of each bundled package above apply to that package's files.
+整体再分发本仓库时,上述子包内文件适用其各自的协议。
|