THU-MAIC/dsh-openmaic
OpenMAIC for DeepSeek Harness:教室、幻灯片、交互式小部件和苏格拉底式教学
Project Overview项目介绍
dsh-openmaic is a native DeepSeek Harness plugin that integrates the interactive teaching capabilities of the OpenMAIC platform directly into DSH agent sessions. It adds four custom tools and one dedicated Socratic teaching skill to your DSH agent, enabling generation of full interactive classrooms, rendering of OpenMAIC slides, custom interactive widgets, and inline HTML teaching fragments. To install the plugin, you just run the command dsh plugin --profile web add git+https://github.com/THU-MAIC/dsh-openmaic.git in your local terminal, then restart dsh web and refresh your browser to get started.
This plugin is built for educators, content creators, and anyone who wants to generate interactive teaching materials with a DSH AI agent. A typical use case starts when you tell your DSH agent to create a lesson on a specific topic, and the agent will call the openmaic_generate tool to submit your request to the OpenMAIC platform. The plugin waits for the asynchronous generation job to complete, then returns a shareable public link to the finished interactive classroom that you can open directly in your browser.
The plugin ships with pre-compiled code, so no local build step is required after installing the plugin via the Git URL. It is released under the open-source MIT license, and supports pointing to a local development instance of OpenMAIC for debugging if you are working on custom changes. The default maximum wait time for a classroom generation job is 10 minutes, and you can adjust the poll interval, access code and other configuration options via the DSH config file after installation. The access code is not currently enforced for the public OpenMAIC instance.
这是一个专为DeepSeek Harness开发的原生插件,用于将OpenMAIC交互式教学平台能力集成到DSH代理会话中。它提供了四个工具和一个苏格拉底式教学技能,支持生成完整课程链接、渲染OpenMAIC幻灯片、交互式组件和内嵌HTML教学片段,满足AI代理创建和交付交互式教学内容的需求。
面向教育创作者、教师和所有想要生成交互式教学内容的用户,典型工作流十分简洁:用户只需向代理提出制作某主题课程的需求,插件就会调用OpenMAIC API异步生成课程,最终返回可直接访问的在线课堂链接;小体量教学元素也可由代理直接编写后在对话内渲染展示。
插件已经预编译完成,通过dsh命令行添加Git地址即可一键安装,无需额外构建步骤,仅需配置API地址和访问码后重启dsh web即可使用。它采用MIT许可开源,单课程生成最长等待10分钟,还支持对接本地开发版OpenMAIC进行调试。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-openmaic(THU-MAIC/dsh-openmaic)
仓库:https://github.com/THU-MAIC/dsh-openmaic
本站详情页:https://www.yhbd.top/plugins/thu-maic-dsh-openmaic/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 87 · 最近提交 2026-08-13 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add git+https://github.com/THU-MAIC/dsh-openmaic.git
把 THU-MAIC/dsh-openmaic 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-openmaic
把 OpenMAIC 带进 DeepSeek Harness。Bring OpenMAIC into DeepSeek Harness.
dsh-openmaic is a DeepSeek Harness plugin that registers four tools and a
Socratic teaching skill:
openmaic_generate: tell your agent "make me a lesson about X", and the plugin submits the requirement to open.maic.chat, waits for the async generation job, and returns a playable classroom link.openmaic_slide: the agent writes one OpenMAIC slide (PPTist-style Slide JSON) and the plugin renders it with OpenMAIC's official renderer (text, shapes, images, tables, charts, formulas, code).openmaic_widget: the agent writes an OpenMAIC-style interactive widget (simulation, game, or code) per the bundled contract; the code streams as it writes, then renders inline as a sandboxed card.openmaic_render: the agent writes an inline HTML teaching fragment (concept card, quiz, walkthrough) and the plugin renders it as a sandboxed card right in the conversation.openmaic-teachskill: turns a session into a Socratic OpenMAIC lesson, teaching by guided questioning and pulling in slides, widgets, and cards as aids.
What it looks like
用户: 帮我做一节量子物理入门课
模型 → openmaic_generate(requirement="量子物理入门课", language="zh-CN")
← "Classroom ID: class-abc123
Classroom URL:
https://open.maic.chat/classroom/class-abc123"
模型: 课堂已经生成好了,点开就能上课:
https://open.maic.chat/classroom/class-abc123
Interactive widget:
用户: 做一个抛体运动模拟器
模型 → 按 openmaic-widget 模板写完整 HTML(流式输出)
→ openmaic_widget(html="<!doctype html>…", widgetType="simulation", title="抛体运动")
← "Rendered the simulation widget …"
对话里就地出现一个可交互的 OpenMAIC 模拟器
Install
dsh plugin --profile web add git+https://github.com/THU-MAIC/dsh-openmaic.git
Then restart dsh web and refresh. The plugin ships its compiled lib/, so a
git install needs no build step.
Config
dsh-openmaic:
baseUrl: https://open.maic.chat
accessCode: "" # invite code; not enforced online yet, leave empty
pollIntervalMs: 5000
maxWaitMs: 600000
| Key | Default | Notes |
|---|---|---|
baseUrl |
https://open.maic.chat |
API base. Point at http://localhost:3000 to develop against a local OpenMAIC. |
accessCode |
"" |
Invite code for open.maic.chat. Not enforced online yet, leave empty; fill it in once enabled. |
pollIntervalMs |
5000 |
Poll interval in ms. Generation is slow, so 60000 is friendlier than the default. |
maxWaitMs |
600000 |
Cap for one job, 10 minutes. |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
nexu-io/open-design
EthanYoQ/Invoice-Downloader
AKS1st/dock-markdown
EthanYoQ/AI-Novel-Writer
fufankeji/deepseek-harness-studio
Clarklevis1995/dsh-mobile
ZSeven-W/dsh-ios