安装 Open Artifacts
Open Artifacts 以插件形式装进你的 Agent 应用,插件里已经包含 skill、后台服务和编辑器。
-
环境要求
Node.js 22.18 或更新版本。其余都在插件包里。
-
下载插件包
到 GitHub Release 的 Assets 下载 open-artifacts-plugins.zip,解压到一个长期保留的位置,用解压出的 open-artifacts-plugins/ 目录按下面的步骤安装。DeepSeek Harness、Pi 和 OMP 直接从 npm 安装,Antigravity 和 Orca 插件直接从各自的 GitHub 仓库安装。
-
装进你的 Agent 应用
Claude Code CLI、桌面版、IDE
- 把解压目录添加为插件市场,再安装 open-artifacts@open-artifacts。
claude plugin marketplace add "/path/to/open-artifacts-plugins" claude plugin install open-artifacts@open-artifactsCodex CLI、应用,以及 ChatGPT 桌面版
- 把解压目录添加为插件市场。
- 到 Plugins 里安装 Open Artifacts。
codex plugin marketplace add "/path/to/open-artifacts-plugins"Cursor 本地插件
- 把解压出的 cursor/ 复制到 Cursor 的本地插件目录。
- 运行 Developer: Reload Window。
mkdir -p ~/.cursor/plugins/local cp -R "/path/to/open-artifacts-plugins/cursor" ~/.cursor/plugins/local/open-artifactsGitHub Copilot CLI 命令行
- 把解压目录添加为插件市场,再安装 open-artifacts@open-artifacts。
copilot plugin marketplace add "/path/to/open-artifacts-plugins" copilot plugin install open-artifacts@open-artifactsCopilot in VS Code VS Code 聊天
- 运行 Chat: Install Plugin from Source。
- 选择解压出的 copilot/ 目录。
Antigravity 插件
- 用 agy 直接安装预构建插件仓库,或把发行版 ZIP 里的 antigravity/ 复制到 ~/.gemini/config/plugins/open-artifacts。
- 重启应用。
agy plugin install https://github.com/openartifactsai/open-artifacts-agyGrok Build grok 命令行
- 用 grok 直接安装预构建插件仓库,或对发行版 ZIP 里的 grok/ 运行 grok plugin install。
- 开一个新的 grok 会话。
grok plugin install openartifactsai/open-artifacts-grok --trustZCode 插件市场
- 在插件市场里把解压出的 zcode/ 添加为插件市场。
- 从列表里安装 Open Artifacts。
Devin CLI、Devin Desktop
- 登录 Devin 后,把解压出的 devin/ 安装到本机。
- 开一个新会话。
devin plugins install --local "/path/to/open-artifacts-plugins/devin"Orca 它终端里的 Agent
- 需要 Orca 1.4.276 及以上,与各 Agent 自己的插件一起用。
- 从插件仓库安装,核对它列出的权限后,带上它打印的 --approve <fingerprint> 再运行一次。
orca plugin install https://github.com/openartifactsai/open-artifacts-orca网页版 ChatGPT 通过 HTTPS 接入的连接器
- 从解压出的 chatgpt/ 运行连接器,它会打印一个带密钥路径的本地地址。
- 通过 HTTPS 暴露 4891 端口(例如用隧道),再在 ChatGPT 里把它添加为自定义 MCP 服务器。
node "/path/to/open-artifacts-plugins/chatgpt/skills/open-artifacts/scripts/open-artifacts.mjs" chatgpt --workspace ~/DocumentsDeepSeek Harness 从 npm 安装
- 在插件页面选择「添加插件」,输入 npm 包名 dsh-open-artifacts。
- 或者在 CLI 里为 web profile 安装:
dsh plugin --profile web add dsh-open-artifactsPi 从 npm 安装
- 安装这个包,然后开一个新的 Pi 会话。
pi install npm:pi-open-artifactsOMP 从 npm 安装
- 安装这个包,然后开一个新的 OMP 会话。
omp plugin install npm:omp-open-artifactsHermes Agent CLI 与网关
- 把解压出的 hermes/ 链接为 ~/.hermes/plugins/open-artifacts 并启用;允许它发起新回合,页面评论才能回到会话;最后安装 skill。
ln -s "/path/to/open-artifacts-plugins/hermes" ~/.hermes/plugins/open-artifacts hermes plugins enable open-artifacts hermes config set plugins.entries.open-artifacts.allow_gateway_injection true node ~/.hermes/plugins/open-artifacts/skills/open-artifacts/scripts/open-artifacts.mjs skill install --command open-artifacts --dir ~/.hermes/skills --harness hermes其他任何 Agent Skill + 命令行
- 用 Skills CLI 安装预构建的 skill(升级用 npx skills update)。它自带后台服务,Agent 通过命令行使用。
npx skills add openartifactsai/open-artifacts-skills -g -
试一个提示
在新会话里试试下面这些:
/open-artifacts slides a 6-slide pitch for this repo /open-artifacts design three landing page options for a coffee shop /open-artifacts whiteboard a retro board for last sprint /open-artifacts sheets 按类别统计并汇总的月度预算表 /open-artifacts data 基于 signups.csv 制作按月注册看板 /open-artifacts docs 一份 2027 年的招聘计划,包括岗位、预算和时间线 /open-artifacts motion a 20-second launch animation for this app /open-artifacts page a team lunch poll that remembers every vote在能显示 MCP Apps 的应用里,Agent 还会多一个 ShowArtifact 工具,把作品的实时页面直接放进对话。
全部 Agent 应用
| Agent 应用 | 安装方法 |
|---|---|
| Claude CodeCLI、桌面版、IDE | 把解压目录添加为插件市场,再安装 open-artifacts@open-artifacts。claude plugin marketplace add "/path/to/open-artifacts-plugins"
claude plugin install open-artifacts@open-artifacts |
| CodexCLI、应用,以及 ChatGPT 桌面版 | 把解压目录添加为插件市场。 到 Plugins 里安装 Open Artifacts。codex plugin marketplace add "/path/to/open-artifacts-plugins" |
| Cursor本地插件 | 把解压出的 cursor/ 复制到 Cursor 的本地插件目录。 运行 Developer: Reload Window。mkdir -p ~/.cursor/plugins/local
cp -R "/path/to/open-artifacts-plugins/cursor" ~/.cursor/plugins/local/open-artifacts |
| GitHub Copilot CLI命令行 | 把解压目录添加为插件市场,再安装 open-artifacts@open-artifacts。copilot plugin marketplace add "/path/to/open-artifacts-plugins"
copilot plugin install open-artifacts@open-artifacts |
| Copilot in VS CodeVS Code 聊天 | 运行 Chat: Install Plugin from Source。 选择解压出的 copilot/ 目录。 |
| Antigravity插件 | 用 agy 直接安装预构建插件仓库,或把发行版 ZIP 里的 antigravity/ 复制到 ~/.gemini/config/plugins/open-artifacts。 重启应用。agy plugin install https://github.com/openartifactsai/open-artifacts-agy |
| Grok Buildgrok 命令行 | 用 grok 直接安装预构建插件仓库,或对发行版 ZIP 里的 grok/ 运行 grok plugin install。 开一个新的 grok 会话。grok plugin install openartifactsai/open-artifacts-grok --trust |
| ZCode插件市场 | 在插件市场里把解压出的 zcode/ 添加为插件市场。 从列表里安装 Open Artifacts。 |
| DevinCLI、Devin Desktop | 登录 Devin 后,把解压出的 devin/ 安装到本机。 开一个新会话。devin plugins install --local "/path/to/open-artifacts-plugins/devin" |
| Orca它终端里的 Agent | 需要 Orca 1.4.276 及以上,与各 Agent 自己的插件一起用。 从插件仓库安装,核对它列出的权限后,带上它打印的 --approve <fingerprint> 再运行一次。orca plugin install https://github.com/openartifactsai/open-artifacts-orca |
| 网页版 ChatGPT通过 HTTPS 接入的连接器 | 从解压出的 chatgpt/ 运行连接器,它会打印一个带密钥路径的本地地址。 通过 HTTPS 暴露 4891 端口(例如用隧道),再在 ChatGPT 里把它添加为自定义 MCP 服务器。node "/path/to/open-artifacts-plugins/chatgpt/skills/open-artifacts/scripts/open-artifacts.mjs" chatgpt --workspace ~/Documents |
| DeepSeek Harness从 npm 安装 | 在插件页面选择「添加插件」,输入 npm 包名 dsh-open-artifacts。 或者在 CLI 里为 web profile 安装:dsh plugin --profile web add dsh-open-artifacts |
| Pi从 npm 安装 | 安装这个包,然后开一个新的 Pi 会话。pi install npm:pi-open-artifacts |
| OMP从 npm 安装 | 安装这个包,然后开一个新的 OMP 会话。omp plugin install npm:omp-open-artifacts |
| Hermes AgentCLI 与网关 | 把解压出的 hermes/ 链接为 ~/.hermes/plugins/open-artifacts 并启用;允许它发起新回合,页面评论才能回到会话;最后安装 skill。ln -s "/path/to/open-artifacts-plugins/hermes" ~/.hermes/plugins/open-artifacts
hermes plugins enable open-artifacts
hermes config set plugins.entries.open-artifacts.allow_gateway_injection true
node ~/.hermes/plugins/open-artifacts/skills/open-artifacts/scripts/open-artifacts.mjs skill install --command open-artifacts --dir ~/.hermes/skills --harness hermes |
| 其他任何 AgentSkill + 命令行 | 用 Skills CLI 安装预构建的 skill(升级用 npx skills update)。它自带后台服务,Agent 通过命令行使用。npx skills add openartifactsai/open-artifacts-skills -g |
升级
下载新版 ZIP,把解压目录替换到原来的路径,再按对应应用指南里的步骤刷新插件。DeepSeek Harness 有新版时,在 Open Artifacts 页面点「更新」即可。Antigravity 重新运行一次它的 agy plugin install 命令;Orca 运行 orca plugin update openartifactsai.open-artifacts。
从源码构建
想参与 Open Artifacts 本身的开发,就克隆仓库自己构建。构建好的每个类型文件夹也能不依赖 daemon 单独运行。
git clone https://github.com/openartifactsai/open-artifacts.git
cd open-artifacts
npm ci
npm run build
node scripts/build-plugins.mjs # dist/plugins/ stands in for the extracted ZIP