← Open Source

Open, agent- and model-agnostic artifacts, all saved locally as plain files — edit, comment on, and export slides, UI designs, design systems, whiteboards, sheets, dashboards, docs, and motion.

TypeScript
Momentum
+24stars in 24 hours+2.4%
1.01k
Stars
100
Forks
+294
This week
13
Contributors
Created 2026-11-17 · Updated 2026-12-05 · #593 today
Top developers
README

Open Artifacts

English · 简体中文 · 日本語

Formerly baoyu-design. This project started as baoyu-design (the old URL redirects here), which brought claude.ai-style Artifact types to local coding agents as one skill per type. Open Artifacts rebuilds them as an open, agent-agnostic format: one local daemon, one page frame, one /open-artifacts skill, and a plugin for each agent app.

Open Artifacts lets any coding agent make things people can open, edit and comment on, not just files. You ask your agent for a slide deck, a UI design, a design system, a whiteboard, a spreadsheet, a data dashboard, a doc or a short animated film. The agent writes a plain folder of files. A local page opens it in a real editor, where you can fix a title, move a sticky note, leave comments, and export. Then "Send to agent" sends your comments back to the agent's session.

Open.Artifact.All.9.Types.Showcase.mp4

Everything runs on your machine. No account, no upload, no specific model or vendor. A page or an editor that asks a model to write (a quiz that grades answers, Sheets suggesting a formula) uses the source you pick and allow: your own API key, or an agent app already on your computer. A page can also call your MCP connectors' tools, once you allow each one (Settings).

  you ──"/open-artifacts slides a 6-slide pitch"──▶ agent (Claude Code, Codex, Cursor, Copilot, …)
                                                     │ writes files
                                                     ▼
                                           ./my-deck/project/deck.json + slides/*.html
                                                     │ served by the local daemon
                                                     ▼
  you ◀── edit · comment · export (PDF/PPTX/PNG/HTML) ── http://127.0.0.1:<port>/a/<id>
   └──────────────── "Send to agent" ──────────────▶ comments arrive back in the agent's session

Documentation

Start in docs/ for full bilingual (English / 中文) guides for both users and AI agents:

Building an agent product?

If you ship an agent app (desktop, IDE extension, command line, or a web app with a local helper), you can make Open Artifact part of it: your agent makes artifacts through its own tools, the pages show in your UI, and the comments people send from a page arrive in the right session. Start at Integrating Open Artifacts into an agent product; the Node SDK is @openartifactsai/harness-kit, and examples/ has runnable adapters. Apps not written in JavaScript use the stdio bridge (open-artifacts harness --stdio).

Artifact types

Type What you get Folder marker Exports Guides
Slides A 1920×1080 (or 4:3) deck: slide rail, overview, speaker notes, builds, transitions, presenter mode, polygon picture frames project/deck.json PDF, PPTX, HTML, PNG Guide · SKILL
Design An infinite canvas of live .dc.html artboards: screens, components, click-through prototypes, notes, pages project/canvas.json PNG, JPEG, PDF, HTML Guide · SKILL
Design System A brand book: tokens, colors with contrast checks, type specimens, live component previews, assets. Designs, decks, dashboards, and films can install it project/design-system.json — Guide · SKILL
Whiteboard A shared infinite board: stickies, shapes, arrows, ink, images, tables, embeds, live cursors, timer db/board/meta.json PNG, GIF, MP4 Guide · SKILL
Sheets A shared spreadsheet: several sheets of cells, a full formula engine, number formats, borders, merged cells, tables with filters, dropdowns, checkboxes, conditional formats, frozen and grouped rows, charts from cells, CSV import, cell history, formulas, rules and charts from words with your own model sheet/sheet.json XLSX, CSV Guide · SKILL
Data A live dashboard or report: datasets from CSV/JSON/text uploads, live MCP connector queries or calculations, drawn by a plain HTML/CSS/d3 page; Sources shows where each number comes from; filters, hand edits, remix drafts db/dash/meta.json PDF, HTML, JSON Guide · SKILL
Docs A living document in tabs: headings, lists, tables, pictures, dates, mentions and dropdowns; suggested edits to accept or reject, comments, a version history per tab; imports Markdown, Word and PDF doc/doc.json Markdown, Word, PDF, HTML Guide · SKILL
Motion A short animated film: scenes in HTML/CSS/JS drawn from time, a generated score, rough cut then final, captions and voiceover; retype, recolor, refont, recut and restyle by hand; comments pinned to a moment or a spot in the frame db/film/meta.json MP4, GIF, HTML, ZIP Guide · SKILL
Page A free HTML page the agent writes whole: a widget, tool, mini game or explainer page, with the runtime capabilities it declares (a shared database, uploads, comments, live messages, a model you pick, your connectors' tools); publishes to a self-hosted Node or Cloudflare site index.html — Guide · SKILL

Each type folder is a self-contained skill: SKILL.md tells the agent how to write it, reference/ documents the file format, artifact-type.json describes it to hosts, and scripts/ (built) holds the CLI and editors.

Quick start

1. As a plugin in your agent app (recommended)

Install Node.js 22.18+, then download open-artifacts-plugins.zip from the Assets section of a GitHub Release. Extract it to a permanent location and use the extracted open-artifacts-plugins/ folder in the steps below. The plugins include the skill, daemon and editors. DeepSeek Harness installs its prebuilt package directly from npm.

Agent app Install
Claude Code (CLI, desktop, IDE) Add the extracted root as a marketplace, then install open-artifacts@open-artifacts.
Codex (CLI, app) and ChatGPT desktop Add the extracted root with codex plugin marketplace add, then install Open Artifacts in Plugins.
Cursor Copy the extracted cursor/ folder to ~/.cursor/plugins/local/open-artifacts, then run Developer: Reload Window.
GitHub Copilot CLI Add the extracted root as a marketplace, then install open-artifacts@open-artifacts.
GitHub Copilot in VS Code Run Chat: Install Plugin from Source and select the extracted copilot/ folder.
Antigravity Run agy plugin install https://github.com/openartifactsai/open-artifacts-agy (or copy the extracted antigravity/ folder to ~/.gemini/config/plugins/open-artifacts), then restart the app.
Grok Build Run grok plugin install openartifactsai/open-artifacts-grok --trust (or grok plugin install the extracted grok/ folder), then start a new grok session.
ZCode In Plugin Marketplace, add the extracted zcode/ folder as a plugin marketplace, then install Open Artifacts from the listing.
Devin (CLI, Devin Desktop) Run devin plugins install --local "/path/to/open-artifacts-plugins/devin", then start a new session.
Orca (1.4.276+) Alongside your agents' own plugins: run orca plugin install https://github.com/openartifactsai/open-artifacts-orca, then run it again with the --approve <fingerprint> it prints to approve the access it lists.
ChatGPT on the web Run the prebuilt connector from the extracted chatgpt/ folder and connect it over HTTPS.
DeepSeek Harness In Plugins, choose Add plugin and enter dsh-open-artifacts as the npm package. In the CLI, run dsh plugin --profile web add dsh-open-artifacts for the web profile.
Pi Run pi install npm:pi-open-artifacts, then start a new Pi session.
OMP Run omp plugin install npm:omp-open-artifacts, then start a new OMP session.
Hermes Agent Link the extracted hermes/ folder as ~/.hermes/plugins/open-artifacts, run hermes plugins enable open-artifacts, and allow it to start turns with hermes config set plugins.entries.open-artifacts.allow_gateway_injection true.

To upgrade, download the new ZIP, replace the extracted folder at the same path, and follow your app's update steps in the linked guide. If your marketplace still points to a source checkout, register the extracted folder using the migration steps in your app's guide.

Coming from Open Artifact (0.22 and earlier), whose plugins were named open-artifact: the old plugin keeps working, and its runtime keeps updating, until you switch. To switch, uninstall it and install open-artifacts as above; Switching from the open-artifact plugin has the details, and each app's guide the commands.

In DeepSeek Harness, use Update on the Open Artifacts page when a new version is offered. If you previously linked a local checkout, remove the linked plugin in Plugins and add dsh-open-artifacts from npm.

In a new session, try one of these prompts.

/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 a monthly budget with categories and totals
/open-artifacts data a dashboard of signups by month from signups.csv
/open-artifacts docs a hiring plan for 2027 with roles, budget and timeline
/open-artifacts motion a 20-second launch animation for this app
/open-artifacts page a team lunch poll that remembers every vote

The plugin adds the Artifact, ArtifactData and ArtifactComments MCP tools, the skill, and hooks that bring page comments back into the session. How each app gets comments back, and what was tested in each, is in plugins/README.md.

In an app that shows MCP Apps, the agent also gets a ShowArtifact tool: it puts the artifact's live page in the conversation, where you can edit and comment without leaving the chat, go full screen, open it in a browser or send your comments to the agent. Apps that don't show MCP Apps never see the tool. Codex shows only https pages in these cards, so there the card offers Open in browser and the page's address instead.

2. As a skill for any other agent

Install the prebuilt skill with the Skills CLI. It carries the daemon, and the agent drives it from the command line:

npx skills add openartifactsai/open-artifacts-skills -g

npx skills update upgrades it. Every release is committed to openartifactsai/open-artifacts-skills and tagged vX.Y.Z there. Without the Skills CLI, copy codex/skills/open-artifacts/ from the extracted plugin bundle to your agent's skill directory. From the extracted bundle root, you can try:

node codex/skills/open-artifacts/scripts/open-artifacts.mjs artifact '{"action":"list","scope":"types"}'

3. One type on its own

After building from source, every built type folder runs by itself, without the daemon:

node artifact-types/design/scripts/cli.mjs open ./my-design --type design   # starts a local server, prints the URL
node artifact-types/design/scripts/cli.mjs wait ./my-design                 # blocks until someone presses "Send to agent"

Other commands: check, generate, upload, context, comments, history, share, status, stop, … Run the CLI with no arguments for the full list.

Deploy to your own server

A site gives your artifacts a web address that works when your computer is off: people sign in, open what is shared with them, edit and comment together, and your agents publish to it. The guides are in docs/:

Development

We are no longer accepting external pull requests due to limited bandwidth — if you run into a problem, please describe it clearly and open an issue. For local setup and issue guidelines, see CONTRIBUTING.md.

Build from source

From a source checkout, install dependencies and build the workspace and plugin folders.

npm ci
npm run build
node scripts/build-plugins.mjs

For local plugin development, use dist/plugins/ wherever the installation guides use the extracted folder.

To run Desktop from the latest local sources with hot updates, use npm run desktop at the repository root. It installs missing dependencies, builds the runtime and app, and watches changes. React/CSS update in place; main-process, preload and runtime changes rebuild and restart. The development profile is .desktop-dev/, the daemon port is 4890; override them with npm run desktop -- --home /tmp/oa-desktop --port 4891. Your agents use another daemon, so to build artifacts with them from Desktop, run npm run desktop -- --shared-home. See the Desktop development guide.

npm run typecheck
npm test             # unit tests (node --test)
npm run e2e          # end-to-end: drives the built types with the CLI and Chrome, see e2e/README.md

The Rust crates in crates/ compile to WebAssembly. Their output is committed under packages/wasm-*/generated/, so you only need Rust when you change a crate:

node scripts/build-wasm.mjs   # needs cargo + wasm32-unknown-unknown, wasm-bindgen, wasm-opt

Releasing

node scripts/build-npm.mjs stages the npm packages in dist/npm/: the @openartifactsai/* libraries (compiled to JavaScript with type declarations), @openartifactsai/cli (the open-artifacts command with the daemon vendored), dsh-open-artifacts, pi-open-artifacts and omp-open-artifacts. To release:

  1. Raise the versions (every package and plugin manifest shares one version).
  2. Run node scripts/changelog.mjs for the commits since the last tag, and add a ## [x.y.z] - date entry at the top of CHANGELOG.md that says what changed for people using it (Added / Changed / Fixed), plus its compare link at the bottom.
  3. Commit, then push a tag (v0.9.0). The Publish to npm workflow requires a changelog entry for the tag. It publishes new package versions through npm trusted publishing, attaches open-artifacts-plugins.zip to the tag's GitHub release and uses the changelog entry as its release notes. The website is maintained outside this repository and is deployed separately after a release.

A package npm doesn't have yet is claimed once from a computer before its first release: node scripts/publish-npm.mjs --claim publishes its staged version and sets the workflow as its trusted publisher. node scripts/publish-npm.mjs publishes from a computer too (--dry-run to look first).

0.23.0, the first release as Open Artifacts, is also published once under the old names, from a computer, so that what was installed by them updates onto it: node scripts/build-npm.mjs --legacy stages @open-artifact/cli, dsh-open-artifact, pi-open-artifact and omp-open-artifact, node scripts/publish-npm.mjs --legacy publishes them, and node scripts/publish-npm.mjs --deprecate-legacy then marks the old names deprecated (see Build, test and release).

Open Artifacts Desktop uses the same version, with separate desktop-v<version> tags. Its Desktop macOS workflow signs with Developer ID, notarizes and publishes ZIP / DMG assets and update metadata to GitHub. The signed macOS Apple Silicon app checks GitHub for desktop updates by default; a button beside Settings in the sidebar offers download with progress and restart to install. Automatic download is optional. Open Artifact Desktop 0.19.x updates to it in place and keeps its settings, sign-ins, installed artifact apps and open-artifact:// links. See desktop release setup.

Repository layout

Path Contents
artifact-types/ The nine types as skills: SKILL.md, reference/, artifact-type.json (page has no editor or CLI of its own).
skills/open-artifacts/ The one /open-artifacts <type> skill; vendor/ (built) carries the daemon.
plugins/ The skill packaged per agent app, with hooks and MCP config (README).
Platform
packages/daemon The open-artifacts daemon: type registry, artifact library, agent tools, MCP, wake routing, the Harness API.
packages/shell The daemon's pages: the Shell frame around every artifact, the library page at / (packages/library-page, with its Settings view), and a site's home page.
packages/protocol Typed contracts shared by the daemon, harness adapters, type servers, the Shell and pages.
packages/harness-kit The SDK an agent app uses to connect to the daemon, show pages and receive wakes (README).
packages/runtime window.openartifacts, the capability API pages use (files, uploads, user, agent, presence, downloads).
packages/type-server, packages/server-sdk The per-type local server and cli.mjs; shared server code.
Types
packages/slides-core, slides-editor Slides model (HTML subset, deck.json) and editor.
packages/design-core, design-editor, dc Design model (canvas.json), editor, and the .dc.html artboard format.
packages/design-system-core, design-system-editor Design System model (token grammar, CSS compiler) and editor.
packages/whiteboard-core, whiteboard-editor Whiteboard model (schema, live sync, geometry) and editor.
packages/sheets-core, sheets-editor Sheets model (workbook, cells, styles, tables, charts) and editor.
packages/data-core, data-editor Data model (datasets, queries, rules, the dashboard page) and editor.
packages/docs-core, docs-editor Docs model (blocks and characters with ids, ops, suggestions, markdown) and editor.
packages/motion-core, motion-stage, motion-audio, motion-export, motion-editor Motion model (film store, scenes, by-hand records), the sandboxed stage and its kit, score synthesis, MP4/GIF/HTML/ZIP export, and the player.
Shared
packages/live-store Live document sync shared by Whiteboard, Data and Motion.
packages/ui, editor-kit, export-kit UI kit (Base UI + Tailwind), what editors share (comments, history, presence…), browser-side exports.
packages/canvas-engine, wasm-*, crates/ WebGL2 canvas engine and the Rust/WebAssembly crates behind it, exports, whiteboard geometry, data rules, the sheets formula engine and motion (GIF/MOV encoding, flash analysis).
examples/ Runnable integrations of an agent app (README).
e2e/ End-to-end tests.
scripts/ build.mjs, build-plugins.mjs, build-skill.mjs, build-wasm.mjs.

License

Apache License 2.0. See NOTICE.

Nearby in the ranking

AI Rank for iPhone

Follow AI model rankings

Download on the App Store