Documentation / Artifact types
Whiteboard
Whiteboard is a shared, infinite canvas stored as small live-synced JSON documents where you and your agent think visually together. Use it for brainstorms, sprint retros, flowcharts, system architecture diagrams, mind maps, user journey maps, and collaborative workshops.
When NOT to use Whiteboard: Don't use it for pixel-exact UI screens or print pieces (use Design), slide decks (use Slides), or long-form specs (use Docs).
Key features
- Rich visual primitives: Sticky notes, shapes, labeled sections, free text, smart routing arrows/connectors (powered by Rust/WASM geometry), hand-drawn pen ink, uploaded images/SVGs, tables, stickers (great for dot-voting), timers, link cards, and live working HTML embeds (mini prototypes, calculators, interactive charts).
- Real-time multiplayer collaboration: Live cursors, presence avatars, shared editing, and built-in workshop timers when shared on a LAN or hosted site.
- Spatial AI teammate: The agent understands what you have selected or anchored a comment to, rearranges/tidies layouts cleanly, extends existing sections without duplicating them, and shifts neighboring items to prevent overlap.
- Comments & "Send to agent": Pin comment threads to specific elements or areas and send them straight to your agent.
- Exports & archives: Export the board as PNG from Share → Export (or as an animated GIF or MP4 video when it has flowing arrows), or archive the entire board (documents, uploads, comments, history) as a portable
.zip.
How to use (for users)
Create a whiteboard
/open-artifacts whiteboard a sprint retro board with What Went Well, Friction, and Action Items
/open-artifacts whiteboard an architecture diagram of our event-driven payment pipeline
/open-artifacts whiteboard a mind map of Q4 growth experimentsOr start with no agent: on the home page, click New artifact, pick Whiteboard, and name it. A blank board opens in its editor and you add notes yourself (right-click the board, Add a note here). A board made empty some other way opens on its empty state; its Start blank opens the same editor. What you Send to agent waits until a session takes the board.
Collaborate & export
- Draw & rearrange: Drag stickies, group ideas into sections, draw arrows or ink sketches, drop stickers to vote, and start a countdown timer.
- Move around the board: Scroll or swipe with two fingers to pan, and ⌘ + scroll (Ctrl + scroll) or pinch to zoom at the pointer. Drag with the right or middle mouse button, hold Space and drag, or use the Hand tool to pan; a right-button drag leaves the selection alone and opens no menu, while a right-click without moving still opens the menu. To zoom with the plain wheel instead, which suits a mouse, turn on Scroll to zoom in the zoom menu: the wheel then zooms at the pointer without ⌘, and you pan by dragging. Content that scrolls by itself still scrolls. On a trackpad, two-finger scrolling zooms too while it is on. The choice is kept in this browser and shared by the design canvas, the whiteboard and the slides Canvas view.
- Jump to a section: Open the zoom menu at the top right and pick a section under Go to section; the view glides to it, title included, at up to 100%. Sections without a title are not listed.
- Link to things on the board: Right-click an element and pick Copy link to item, then paste it onto the board as a link card, onto a picture, or into a text link; in a text link field you can also pick a section from the list. Clicking such a link takes the view to the element and rings it briefly; Back at the bottom returns to where you were. A card whose element was removed turns grey. A copied link opened in a browser opens the board at that element.
- Flowing arrows: Select an arrow, open Line and pick Flowing: its dashes keep travelling towards the head, to show where something moves (requests, data, money). Dashed stills it again. To keep lines still on your own screen, turn off Animate lines in the zoom menu; they also stay still when your system asks for reduced motion.
- Ask your agent in context: Select a cluster of stickies or pin a comment (e.g. "cluster these by theme and summarize top 3 risks"), then click Send to agent. A request sent while the agent's session cannot take it yet says Queued; it says Sent once the session takes it and Done when the session's turn ends, whether or not the agent marked the ground it works on.
- Export: Open Share → Export to download a PNG image, or, on a board with flowing arrows, an Animated GIF of them that loops (half a second, ten frames, framed like the PNG) or an MP4 video (six silent seconds, longest edge 1920 pixels). A browser that cannot make videos shows the MP4 row greyed out, with the reason.
How to use (for agents)
- Type ID:
whiteboard(type_url: "open-artifacts://type/whiteboard") - Storage model: Live JSON document store under
<root>/db/:db/board/meta.json— board title and element stacking order.db/elements/<id>.json— one JSON document per board element (sticky, shape, section, text, arrow, ink, image, table, sticker, timer, link card, embed).
Workflow & commands
| Task | Under daemon (MCP tools) | Standalone CLI (artifact-types/whiteboard/scripts/cli.mjs) |
|---|---|---|
| Create | Artifact {action: "publish", type_url: "open-artifacts://type/whiteboard", title, open: "after_first_write"} |
open-artifacts open <root> --type whiteboard --title "<title>" --json |
| Read board | ArtifactData {action: "list", url, collection: "elements"} / get board/meta |
open-artifacts read-db <root> [elements | board/meta] |
| Write / batch | ArtifactData {action: "batch", url, writes: [...]} (set/update/delete; a set over an existing document, and a delete, take if_match) |
open-artifacts write-db <root> '<writes>' (supports {"$file":"..."}) |
| Upload images | Artifact {action: "call", url, name: "upload", args: {file: "<abs path>"}} (returns the /_blob/<id> url for an image's src) |
open-artifacts upload <root> <file>... |
| Validate | Artifact {action: "call", url, name: "check"} |
open-artifacts check <root> |
| Inspect view/selection | Artifact {action: "call", url, name: "context"} |
open-artifacts context <root> |
Key rules for agents
- Match the spatial form to the idea (loop for cycles, lanes for handoffs, tree for breakdowns, matrix for comparisons)—avoid generic grids of identical boxes.
- Target roughly
1500×750for a new board so text opens at a readable zoom level, keeping clear spacing (24 px between neighbors, 64 px for arrows, 144 px for labeled arrows). - Respect human edits on existing boards: read fresh before writing, extend in place rather than building duplicate copies beside existing clusters, and shift neighbors/stickers together when resizing.
- Use
ArtifactDatabatch(up to 500 writes per batch) so updates apply atomically; use{"__delete__": true}insideupdateto remove fields. - Make an arrow flow with
"dash": true, "flow": trueonly when something moving along it is the point; it counts as one of the board's marks, so say what it means in a key or label (checkwarns about aflowwithoutdash). - Link to elements of the same board with
#element=<id>(a link card, a picture'shref, or[label](#element=<id>)in text) for an index or a path through a large board; fix or remove the links when deleting their target (checkwarns).
For full element schemas, drawing craft, and ideation guidance, read artifact-types/whiteboard/SKILL.md and artifact-types/whiteboard/reference/.