One skill, open-artifact, and a plugin for each agent app that carries it. Every plugin runs the same local
Open Artifact daemon: one artifact server and one page frame (the Shell at http://127.0.0.1:<port>/a/<id>) for
every type, with each type's own editor and comments inside. /open-artifact slides … makes a deck,
/open-artifact design … a design canvas, /open-artifact whiteboard … a board, /open-artifact sheets … a spreadsheet, /open-artifact data … a dashboard, /open-artifact docs … a doc, /open-artifact motion … an animated film, /open-artifact page … a free HTML page (a tool, mini game or explainer).
| Folder | For | Gives the agent | Comments sent from the page reach the agent |
|---|---|---|---|
claude-code/ |
Claude Code (CLI, desktop, IDE) | MCP tools, skill, hooks, monitor | at session start, with the person's next message, at the end of a turn (the turn goes on), and while the session idles (monitor) |
codex/ |
Codex (CLI, app) and ChatGPT desktop | MCP tools, skill, hooks | at session start, with the next message, at the end of a turn; an idle thread gets a message queued with codex queue |
cursor/ |
Cursor (editor) | MCP tools, skill, hooks | at session start, after each tool call, and at the end of a turn as a follow-up message |
copilot/ |
GitHub Copilot CLI, VS Code agent mode (Copilot harness) | MCP tools, skill, hooks | at session start, with the next message (CLI), at the end of a turn |
antigravity/ |
Google Antigravity (agy CLI, app) |
MCP tools, skill, hooks | at session start, before each model call, at the end of a turn (the turn goes on); an idle conversation is started with agentapi send-message |
zcode/ |
ZCode | MCP tools, skill, hooks, extension | at session start, with the person's next message, at the end of a turn (the turn goes on), and while the session idles (the extension starts a turn the moment they are sent) |
dsh/ |
DeepSeek Harness | native tools, the Open Artifact sidebar page, comment cards, /open-artifact |
right away: a new turn when the session idles, added to the running turn otherwise (a full adapter, L3) |
pi/ |
Pi (pi CLI) |
native tools, skill, system prompt section, /open-artifact |
right away: the owner's words as a user message (a new turn when Pi is idle, steered into the running turn otherwise), anyone else's as a custom message the model reads (a full adapter, L3) |
omp/ |
OMP (omp CLI) |
native tools, skill, system prompt, /open-artifact |
right away: the owner's words as a user message (a new turn when OMP is idle, steered into the running turn otherwise), anyone else's as a custom message the model reads (a full adapter, L3) |
hermes/ |
Hermes Agent (CLI and gateway) | native tools, skill | in the gateway, right away: the owner's words as a new turn of the session that owns the artifact; anyone else's wait for its next turn, where the model reads them as data (a full adapter over open-artifact harness --stdio, L3) |
chatgpt/ |
ChatGPT on the web | MCP tools over HTTPS, a card | in the next tool result, or when the person presses "Send comments to ChatGPT" on the card |
../skills/open-artifact/ |
any other agent that reads skills | the command line | in the result of any call, or by wait |
Whatever the app, comments also come back in the messages of any Open Artifact tool result, and an agent can
wait for them (ArtifactComments {action: "wait"}).
Comments go to the session that owns the artifact. One the person made on the home page or opened from a folder has
no owner session: what is sent from it waits, and goes once to the session that becomes its owner, by adopt, by
writing it through the tools, or because the person picked that session in the page's Ask pane (which lists the
sessions online now; with none, it offers a prompt to paste into one). A comment that names the agent with @ is sent
the same way as Send to agent.
/open-artifact new-type asks the agent to make a type of its own rather than an artifact, with the skill's
reference/new-type.md and the open-artifact types new | check | from | list | pack commands
(Making your own artifact types); types from takes a page artifact or a page saved from
claude.ai (a folder or .html). types enable, types disable, types trust,
types untrust, types install, types update, types uninstall, types publish, types unpublish and
publish --with-type are the person's: like cloud and remote, they refuse to run inside an agent's session
(types publish puts a type of this computer in a site's catalog, so artifacts of it publish there; types install https://<site>/t/<id> installs one from its page on a site, through that site's remote when there is one). An agent
on a site's MCP lists and makes artifacts of the types published there, never publishes or changes one. open-artifact import <zip> brings an artifact's archive in from
another computer.
A page that asks a model (use("sample")) can be answered by an agent app with its own model and plan, once the
person picks that app in the consent dialog. The daemon reaches each app by the best way it has
(Answering pages' model calls):
| App | Answers by | Notes |
|---|---|---|
| Pi | its adapter (sample.create) |
the session's model, with images when that model reads them; streaming, page tools, cancel |
| OMP | its adapter (sample.create) |
the tiers from your smol / default / slow roles, images when the session's model reads them; streaming, page tools, cancel |
| DeepSeek Harness | its adapter (sample.create) |
its default model (the session's for "the model you use"), text only; streaming, page tools, cancel |
| Hermes Agent | its adapter (sample.create, through open-artifact harness --stdio) |
your active Hermes model (ctx.llm), text only; the answer arrives in one piece, page tools are described in text, a request cannot be stopped; a model the page names only with llm.model_override granted |
| Claude Code, GitHub Copilot CLI | its command line (generate in the shipped profile, run with no tools) |
listed only when claude / copilot is found on this computer |
| Codex, Cursor | its command line (generate, run read-only) |
listed only when codex / cursor-agent is found; the dialog says the command line can still read files while it writes |
any MCP client that declares sampling |
MCP sampling (sampling/createMessage) |
the answer arrives in one piece; through open-artifact mcp or HTTP MCP |
| Antigravity, ZCode, ChatGPT | MCP sampling only, if their MCP client declares it | no adapter that declares caps.sample and no generate in their profiles |
How far each row was checked: the adapters' rows (Pi, OMP, DeepSeek Harness, Hermes Agent) are what their code and tests show, against the kit's fake daemon with the app's model call faked: the apps themselves were not run for them. Each command-line entry was checked against one captured run of that app's command line. MCP sampling was tested with a fake MCP client only.
An app whose adapter later declares caps.sample answers by it instead of its command line.
open-artifact doctor --harness <name> says which way an app answers by, or why it cannot.
A page can also call tools of MCP servers (use("mcp")): the connectors set up on this computer, or, as
host:<name>, a server an agent app lends through its adapter (Harness API feature mcp.proxy,
Lending your app's connectors to pages). None of the plugins here lends its
servers.
Pages open where the person already is: in the app itself when its adapter can show them (DeepSeek Harness), else
in the agent app's built-in browser (Codex, Cursor, Claude, Antigravity, VS Code), which the agent opens with the page's
view_url. The daemon opens the computer's browser only when the agent asks it to (Artifact {action: "open"}), which
it does when it has no browser of its own. When the person has turned on "Open agents' artifacts in this app" in Open
Artifact Desktop (off by default), that browser step goes to the app instead (opened_in: "desktop").
On a Gemini model (Antigravity), design work pairs well with Google's gemini-frontend-design skill. No plugin
here ships it: the Antigravity guide
has the link and how to install it.
Building your own agent app rather than using one of these? Read
Integrating Open Artifact into an agent product: the same tools, pages in your UI, and
comments into your sessions, on @open-artifact/harness-kit or over open-artifact harness --stdio.
Follow your app's guide above. GitHub Releases includes open-artifact-plugins.zip with the prebuilt plugin
folders, the ChatGPT web connector and the local marketplace catalogs. The
quick start covers installation from npm for DeepSeek Harness,
Pi and OMP.
npm ci && npm run build # the Shell, frame-host and the types' editors (dist/, artifact-types/*/scripts/)
node scripts/build-plugins.mjs # builds the skill, then dist/plugins/<name>/ and the marketplace filesdist/plugins/ is then a marketplace folder for Claude Code (.claude-plugin/marketplace.json), Codex
(.agents/plugins/marketplace.json), Cursor (.cursor-plugin/marketplace.json) and the Copilot CLI
(.github/plugin/marketplace.json), with one installable folder per
plugin. Each plugin carries the skill with the daemon vendored in skills/open-artifact/vendor/.
node scripts/build-plugins.mjs --only codex builds one; --no-skill reuses the built skill.
dsh/ is different: it is an npm workspace package (dsh-open-artifact) with its own build, node plugins/dsh/scripts/build.mjs
(run by npm run build), which writes lib/ and vendors the daemon into vendor/. DeepSeek Harness installs it from
that folder; build-plugins.mjs leaves it alone.
pi/ and omp/ are npm packages too (pi-open-artifact, omp-open-artifact), staged by scripts/build-npm.mjs;
both are loaded as TypeScript as they are. OMP scans the skills/ folder of an installed extension package, so
omp-open-artifact carries the skill there (rendered for OMP; an installed copy rewrites it with the installed types once its
daemon answers). OMP 19.2.1's marketplace installer refuses npm sources, so there is no OMP catalog in dist/plugins:
install omp-open-artifact from npm directly (omp plugin install npm:omp-open-artifact).
hermes/ is a Hermes Agent plugin in Python (standard library only) that runs open-artifact harness --stdio.
Hermes loads it from ~/.hermes/plugins/open-artifact as it is: there is nothing to build, and it is copied into
dist/plugins/hermes/ with the skill like the other folders. It runs the runtime that skill carries
(skills/open-artifact/scripts/open-artifact.mjs, with the node on the PATH), and the open-artifact on the PATH
when the folder has none (a source checkout).
Each plugin can link the daemon to an Open Artifact server, so artifacts are published there. The daemon reads
OPEN_ARTIFACT_REMOTE, OPEN_ARTIFACT_REMOTE_NAME, OPEN_ARTIFACT_REMOTE_TOKEN, OPEN_ARTIFACT_PUBLISH and
OPEN_ARTIFACT_REMOTE_INSECURE_HTTP once, when it starts (README).
It takes them from the process that started it, usually a plugin's MCP bridge, and the bridge gets only what its app
gives it: Claude Code and the Copilot CLI pass their own environment on, Codex and Cursor do not (see the table). One
daemon serves every app on the computer, so whichever app starts it first decides its environment; a daemon that is
already running keeps what it started with (open-artifact daemon stop, and the next tool call starts it again; or
open-artifact daemon restart in your own terminal, which agents' sessions are refused).
preset.json in the Open Artifact folder takes the same keys and works for every app, however it was started:
{ "OPEN_ARTIFACT_REMOTE": "https://artifacts.example.com", "OPEN_ARTIFACT_PUBLISH": "auto" }| Plugin | Point it at a site | Turn on publishing by itself | Verified how |
|---|---|---|---|
| Claude Code | The plugin's Open Artifact server setting (userConfig.remote, asked when the plugin is enabled; reaches the daemon as OPEN_ARTIFACT_PLUGIN_REMOTE, used only when OPEN_ARTIFACT_REMOTE is unset); or OPEN_ARTIFACT_REMOTE in the environment claude starts in; or preset.json. |
OPEN_ARTIFACT_PUBLISH=auto in that environment or preset.json; or open-artifact remote auto on, or the Share panel. |
Claude Code 2.1.318, claude -p --plugin-dir with a probe MCP server: a userConfig value reaches .mcp.json's env (empty when unset) and the shell's variables reach the server. claude plugin validate passes. |
| Codex | preset.json. Codex starts MCP servers with only HOME, LOGNAME, PATH, SHELL, USER, LANG, LC_ALL, TERM, TMPDIR, TZ and the server entry's own env, so variables in your shell never reach the plugin's bridge; the plugin format (Agent Plugins 1.0 mcp.json) has no install-time setting. |
OPEN_ARTIFACT_PUBLISH: "auto" in preset.json; or open-artifact remote auto on, or the Share panel. |
Read from Codex's source (codex-rs/rmcp-client/src/utils.rs, DEFAULT_ENV_VARS) and the Agent Plugins mcp.json schema. Not run (no Codex here). |
| Cursor | A team admin sets the plugin variable Open Artifact server (OPEN_ARTIFACT_SERVER) in the Cursor dashboard (Plugins, Configure); or OPEN_ARTIFACT_REMOTE in the environment Cursor starts in (the plugin's mcp.json forwards the five variables with ${env:…}, since Cursor passes no other environment to MCP servers); or preset.json. |
OPEN_ARTIFACT_PUBLISH=auto in that environment or preset.json; or open-artifact remote auto on, or the Share panel. |
cursor-agent 2026.11.13, --plugin-dir with the plugin's own plugin.json and mcp.json around a probe server: a variable from the shell arrives; the shell's environment is not inherited otherwise; an unset variable or plugin variable arrives as the literal ${…}, which the daemon treats as unset. Setting the variable in the team dashboard and the Cursor app itself were not tried. |
| Copilot (CLI, VS Code agent mode) | OPEN_ARTIFACT_REMOTE in the environment copilot starts in, or preset.json. No install-time setting in the plugin format. |
OPEN_ARTIFACT_PUBLISH=auto there or in preset.json; or open-artifact remote auto on, or the Share panel. |
Copilot CLI 1.0.114, copilot -p --plugin-dir with a probe server: the shell's variables reach a plugin's MCP server (GitHub's docs say only PATH and a few others are inherited: if a later version follows the docs, use preset.json). VS Code agent mode not tried. |
| Antigravity | preset.json. No install-time setting in the plugin format, and whether the app passes its environment to a plugin's MCP server is not documented. |
OPEN_ARTIFACT_PUBLISH: "auto" in preset.json; or open-artifact remote auto on, or the Share panel. |
Antigravity's plugin and MCP docs read; not run. |
DeepSeek Harness (dsh/) |
OPEN_ARTIFACT_REMOTE in the environment DeepSeek Harness runs in (the plugin starts the daemon with its whole environment), or preset.json. |
OPEN_ARTIFACT_PUBLISH=auto there or in preset.json; or open-artifact remote auto on, or the Share panel. |
Read from the plugin's code (daemonOptions copies process.env). Not run. Its cordis.patch.yml config has no server setting: whether DeepSeek Harness shows a plugin's config to the person could not be confirmed. |
| ChatGPT on the web | The environment of open-artifact chatgpt, or preset.json. |
OPEN_ARTIFACT_PUBLISH=auto there or in preset.json; or open-artifact remote auto on. |
Read from the code (the command starts the daemon with its own environment). Not run. |
| Any agent using the skill | The environment the agent runs open-artifact in, or preset.json. |
OPEN_ARTIFACT_PUBLISH=auto there or in preset.json; or open-artifact remote auto on. |
Read from the code, as above. Not run. |
An app opened from the Dock or the Start menu does not see variables from your shell profile: use preset.json there.
Turning publishing by itself off again, and choosing the default server, are left to the person (open-artifact remote auto off, open-artifact remote default <name>, or the Share panel). No agent tool changes them.
- Where:
preset.jsonin the Open Artifact folder,~/.agents/open-artifact/preset.jsonon macOS and Linux and%USERPROFILE%\.agents\open-artifact\preset.jsonon Windows (or$OPEN_ARTIFACT_HOME/preset.jsonwhen that is set; Codex and Cursor do not passOPEN_ARTIFACT_HOMEto the plugin either, so keep the default folder there). It is read when the daemon starts. A management tool can drop it before the person first uses an agent app. - Precedence: what the person set wins (
settings.json,remotes.json,open-artifact remote …, the Share panel), then the environment, thenpreset.json, then the defaults. A preset adds its site once: a site the person removed is not added again, and a token that was used is never sent again. An address, its name and its token travel together: a token inpreset.jsonis not paired with an address from the environment, nor isOPEN_ARTIFACT_REMOTE_INSECURE_HTTP. - Signing in: without a token, the daemon starts a device sign-in that the person approves in the browser (the
link is in
open-artifact remote status, the Share panel and the agent's next tool result). This is the safest route. A token (open-artifact-host link-token --user <email>) signs the computer in with no approval; put it inpreset.jsonwith mode 0600 (owner only:chmod 600), not in an environment variable, which other processes of the same user can read. The daemon still uses apreset.jsonholding a token that others can read, but says so in its log (daemon.log). - Plain http: only for this computer and a private network (private addresses,
.local,.lan,.home.arpa,.internal, one-word names,nip.io/sslip.ionames that spell only private addresses); decided by the name, never by what it resolves to.OPEN_ARTIFACT_REMOTE_INSECURE_HTTP=1allows any host and makes the daemon warn that the token and the artifacts cross the network unencrypted: do not roll it out for a site on the internet.
A call that names no folder leaves the choice to the daemon. With nothing set, it goes by the app's harness profile
(policy.artifacts):
| App | New artifacts go to | To use your Open Artifact folder (~/OpenArtifact/<project>/<slug>) |
|---|---|---|
| Claude Code | <workspace>/artifacts/<slug> |
claude --add-dir ~/OpenArtifact, or permissions.additionalDirectories in its settings |
| Codex | <workspace>/artifacts/<slug> |
codex --add-dir ~/OpenArtifact, or sandbox_workspace_write.writable_roots in config.toml |
| GitHub Copilot CLI | <workspace>/artifacts/<slug> |
copilot --add-dir ~/OpenArtifact |
| Cursor | <workspace>/artifacts/<slug> |
none found for cursor-agent short of --force |
| Antigravity, ZCode, DeepSeek Harness | <workspace>/artifacts/<slug> |
not measured |
| ChatGPT on the web | <workspace>/artifacts/<slug> |
keep the workspace: the connector knows its artifacts by that path |
| Pi, the skill's command line, an app without a profile | ~/OpenArtifact/<project>/<slug> |
nothing to set |
The person chooses otherwise with open-artifact config set artifactsLocation home | workspace (--local for one
project, --project for the repository's own settings file), and the agent, for one artifact, with location. In a
Git checkout the daemon writes artifacts/.gitignore when it makes the folder because of an app's default, so the
checkout stays clean. A workspace-confined daemon always uses the workspace. open-artifact doctor --harness <name>,
run in the project, says where that app's sessions keep new artifacts and who chose it, and warns when the app was not
told it may write the Open Artifact folder. The whole of it, with what was measured in each app:
docs/settings.md.
- MCP server:
node <plugin>/skills/open-artifact/scripts/open-artifact.mjs mcp --harness <name>, a stdio bridge to the daemon's/mcp, which it starts when none runs. The--harnessit names wins over the session variables of other agent apps (CLAUDECODE,CODEX_THREAD_ID), which an app started from inside another agent's session inherits. - Hooks:
… open-artifact.mjs hook <event> --harness <name>registers the session (and its processes, so the MCP bridge's calls are tied to it) and prints the messages that wait, in the app's own hook format: Claude Code and CodexhookSpecificOutput.additionalContextand Stopdecision: "block"; Cursoradditional_contextand stopfollowup_message; CopilotadditionalContext,userPromptTransformed→modifiedTransformedPrompt, andagentStopdecision: "block"; AntigravityinjectStepssystem messages and Stopdecision: "continue". - Version:
… open-artifact.mjs --version(or-v) prints the version of the runtime a plugin carries. - Harness profiles (
packages/daemon/harnesses/<name>.json) give the page the agent's name ("Ask Claude", "Ask Codex", …) and the session variable.
A daemon started with OPEN_ARTIFACT_WORKSPACE_FOLDERS_ONLY=1 (for an app that sandboxes its agents) keeps every
call to the caller's workspace: folders, file paths in arguments and listings; see
docs/integrating/security.md.
| Claude Code 2.1.318 | claude plugin validate passes for the plugin and the marketplace. A headless run with --plugin-dir lists the types through the plugin's MCP tools; with a page request queued for the session, the SessionStart hook handed it to Claude, which edited the board. |
| GitHub Copilot CLI 1.0.105, 1.0.112 | A run with --plugin-dir: the plugin's MCP server and hooks load (${PLUGIN_ROOT} expands in the hook command); a queued page request reached Copilot, which edited the board. With 1.0.112, copilot plugin marketplace add ./dist/plugins and copilot plugin install open-artifact@open-artifact enable the plugin from dist/plugins/copilot; copilot -p used the skill and made a whiteboard in the run's folder, owned by the session (the page says "Ask Copilot"). A comment sent from the page reached a resumed session, which moved the card and replied, resolving the thread; one sent mid-turn came back from agentStop and the turn went on. sessionStart added context is not kept across a resume (the next resume no longer knew the request), so a session started with a prompt now gets the messages in that prompt (userPromptTransformed), which is kept: Copilot made the change and, resumed again, quoted the request. |
| Antigravity 2.32.1 (app) | Installed by copying dist/plugins/antigravity to ~/.gemini/config/plugins/open-artifact/ (no agy CLI here, so no agy plugin validate), conversations started with the app's agentapi. The skill is listed; after an app restart the MCP server loads as open-artifact_open-artifact and Artifact {action: "list", scope: "types"} returns the types (Antigravity asks the person to allow the call). With page messages queued for the conversation, SessionStart started the daemon and registered the conversationId, PreInvocation added them as a system message, and Stop kept the turn going once with them as its reason. |
| Codex 0.169.0-alpha.11.1 (in ChatGPT.app) | codex plugin marketplace add dist/plugins and codex plugin add open-artifact@open-artifact; runs with codex exec --approve-for-me. The MCP server loads, the skill is read from the plugin, and a whiteboard was made in the run's folder (artifacts/<slug>), owned by the thread. Codex starts the MCP server in the plugin's folder and names only the thread (_meta.threadId) on each call, so the daemon takes the thread's folder from its hook, or, before the hooks are trusted, from the thread's rollout file (~/.codex/sessions/…/rollout-…-<thread>.jsonl). A page comment sent to the agent waited for the thread; codex exec resume <thread> read it, renamed the note and replied, resolving the thread. In the ChatGPT desktop app, a comment sent from a deck while its thread was idle was queued with codex queue and ran at once: Codex changed the title and replied. The hooks were not run here (they need trust in /hooks). |
Cursor CLI 2026.11.13 (cursor-agent) |
Installed by copying dist/plugins/cursor to ~/.cursor/plugins/local/open-artifact; runs with cursor-agent -p --force (without it every tool call is refused). The MCP server loads as plugin-open-artifact-open-artifact, and a whiteboard was made in the run's folder (artifacts/<slug>), owned by the chat: sessionStart registered it. cursor-agent -p runs sessionStart (not on --resume), beforeMCPExecution, postToolUse and sessionEnd, never stop, and gives the MCP server no session variable (its folder is the workspace). With a page request waiting, a resumed chat asked only to run ls got it from postToolUse as added context and renamed the note. In the Cursor app (3.30.8), a deck was made and opened in its built-in browser; a comment sent to the agent while the chat was idle waited (Cursor has no way to start a turn in an idle chat from outside) and was handed over by the hooks on the person's next message: Cursor added the subtitle, but its auto-review (Smart Mode) blocked the reply as an outside write, and the model did not ask for approval, so the thread stayed waiting. The tools now carry openWorldHint: false, and their words say the threads are the person's own, kept in the artifact's folder. |
| ChatGPT | The connector was driven over MCP (initialize, tools, the card resource, publish with files, read, ShowArtifact, comments in the next result, a wrong path, a foreign Origin); the card was rendered with a stand-in window.openai. Not tried in ChatGPT itself. |
| ZCode 3.19.1 | Installed and updated through a local-folder marketplace (a built dist/plugins/zcode; the release ZIP's zcode/ folder is the same layout). The first-use sessions.write grant dialog appears once. Sessions show present with their running/idle status, and a message sent to an idle session is delivered the moment it is sent. The queued paths (session start, the person's next message, the end of a turn) were verified before the wake delivery was reworked, and not re-run after. Not individually checked: several comments sent at once, delivery of what waited through a reconnect, and session removal (the app has no close-session control). On Windows the daemon ends with the app, so pages cannot send while ZCode is closed. |