sideshow meets an agent wherever it is. Pick whichever tier the agent supports — each one covers the full loop: publish a surface, render it live, read the user's comments, reply or revise.
The fastest path for any agent with a shell is to paste the setup block into its instructions:
curl -s http://localhost:8228/setup >> AGENTS.mdThat block is intentionally small: it tells any agent (Pi, opencode, amp,
codex, Claude Code) to fetch the current instructions from the running server at
/agent-howto (or sideshow agent-howto). The sections below are
the underlying tiers those live instructions build on.
The sideshow CLI has no dependencies and groups a conversation's surfaces into
one session for you:
sideshow publish sketch.html --title "Cache layout"
sideshow diff change.patch --title "Refactor" # or markdown / image / terminal
sideshow wait # block until the user comments
sideshow agent-howto # print current agent how-to
sideshow guide # print the design contractPi users can install the package directly. It adds native sideshow_* tools for
publishing/updating surfaces, uploading assets, waiting for feedback, and
replying in browser threads:
pi install npm:sideshow
# or try it for one run:
pi -e npm:sideshowTools: publish_surface, update_surface, publish_snippet, update_snippet,
wait_for_feedback, reply_to_user, list_surfaces, upload_asset,
get_design_guide. Connect over stdio or straight to the server at /mcp:
claude mcp add --scope user sideshow -- npx -y sideshow mcp
# or, no local process:
claude mcp add --scope user --transport http sideshow http://localhost:8228/mcpMCP agents get the usage instructions automatically.
POST /api/surfaces, PUT /api/surfaces/:id, POST /api/assets for blob
uploads, and GET /api/comments?wait=60 for long-polling. The legacy
/api/snippets endpoints still work as html-only aliases. Documented at
/guide.
Claude Code users have two extra options.
Skill. Install the bundled skill:
cp -r skills/sideshow ~/.claude/skills/Plugin. A plugin bundles all three integrations at once — the MCP server, the skill, and a background monitor that streams your browser comments to the agent as notifications, so feedback arrives without pasting or re-arming a watcher:
/plugin marketplace add modem-dev/sideshow
/plugin install sideshow@sideshow
On install it asks for your Sideshow URL (default http://localhost:8228, or
your deployed instance) and an optional token. The monitor runs sideshow watch
against your board; comments are delivered to the agent exactly once. Requires
Claude Code ≥ 2.1.105. The viewer's "connect Claude Code" link (sidebar footer)
shows the same steps. The plugin lives in ../plugin/.
/agent-howto is the current operational playbook for agents: publishing,
feedback, CLI/MCP/curl choices, and gotchas. The contract at /guide is the
lower-level design reference: fragment-only HTML, theme CSS variables, dark mode
rules, and when to reach for each part kind. Agents should fetch the instructions
first, then fetch the guide once before their first publish (sideshow guide,
get_design_guide, or curl -s …/guide).