# Open Artifact for Antigravity For Google Antigravity (the `agy` CLI and the Antigravity app). Slide decks, design canvases, whiteboards, spreadsheets, data dashboards, docs, animated films and design systems as folders of files that open in one local page where you view, edit and comment: `/open-artifact slides …`, `design …`, `whiteboard …`, `sheets …`, `data …`, `docs …` or `motion …`. Needs Node.js 22.18+. ## Install Download `open-artifact-plugins.zip` from [GitHub Releases](https://github.com/JimLiu/open-artifact/releases), extract it and install the `antigravity/` folder. ```bash agy plugin install "/path/to/open-artifact-plugins/antigravity" ``` For a manual install, copy that folder to `~/.gemini/config/plugins/open-artifact/`. Restart Antigravity to load the MCP server. Antigravity asks you to allow each Open Artifact tool call until you choose to always allow it. ## Upgrade Install the `antigravity/` folder from the new ZIP with the same command. For a manual install, replace the entire `~/.gemini/config/plugins/open-artifact/` folder, retaining the installed folder name `open-artifact`. Restart Antigravity and start a new conversation. ## What it adds - `mcp_config.json`: the `Artifact`, `ArtifactData` and `ArtifactComments` tools (stdio, through the local daemon), namespaced by Antigravity as `open-artifact_open-artifact`; - `skills/open-artifact/`: the skill, carrying the daemon; - `hooks.json`: `SessionStart`, `PreInvocation` and `Stop`. ## Publish to a server The plugin has no setting for it. Put the site in `~/.agents/open-artifact/preset.json` (`{ "OPEN_ARTIFACT_REMOTE": "https://artifacts.example.com" }`), or link one yourself with `open-artifact remote add `. See [the plugins README](../README.md#use-a-server-instead-of-this-computer). ## Send to agent Comments sent from the page reach the agent at session start, before its next model call (`PreInvocation`, so also in the middle of a turn), or, when they arrive as it finishes, by keeping it going (`Stop` with `decision: "continue"`). The hooks add them as system messages. While the conversation is idle, the daemon starts a turn in it with the app's own command line (`agentapi send-message `, found at `~/.gemini/antigravity/bin/agentapi`, or set `OPEN_ARTIFACT_ANTIGRAVITY_AGENTAPI`), pointed at the running app by its hub file in `~/.gemini/antigravity/daemon/`; that turn's hooks then hand over the comments. When the app is not running, the comments wait for the conversation's next turn.