9 of 48 in the Clay & Ink pack

Artifact Panel: AI & chat element for AI agents

Show the AI producing a document/artifact: chat on the left, the document panel slides in with a chart.

  • 1:1stage-fit
  • 16:9native
  • 9:16stage-fit
  • 4:5stage-fit

Watermarked preview. The Clay & Ink pack includes all 48 elements, clean and editable, in every size.

Paste this into Claude Code

Use the AgentFrames Clay & Ink pack. Add a `artifactPanel` beat to plan.json on a `w` canvas with slots `userMessage`, `message`, `artifactTitle`, `artifactType`, `chartTitle`, `bars`, `barLabels` and `highlight` from my script. Then run validate → build → qa and show me qa/contact.jpg.

Variables

The slots your agent fills from your script, through plan.json.

SlotTypeWhat it holdsExample
userMessagestringUser Message: Plain text. Wrap the ONE accent word in *stars*.Can you write up Q3 for the board?
messagestringMessage: Plain text. Wrap the ONE accent word in *stars*.Here is a one-page *board summary* with a chart of revenue by month.
artifactTitlestringArtifact Title: Plain text.Q3 Board Summary
artifactTypestringArtifact Type: Plain text.Document
chartTitlestringChart Title: Plain text.Revenue by month
barsjsonBars: JSON; keep the same shape as the default.[42,55,51,64,72,88]
barLabelsjsonBar Labels: JSON; keep the same shape as the default.["Apr","May","Jun","Jul","Aug","Sep"]
highlightnumberHighlight5

What your agent can change

Surface

Show the AI producing a document/artifact: chat on the left, the document panel slides in with a chart. Set: ai-at-work. Category: ai. Canvases: ok w, k, o. Typical 5s; settles at 4s.

Editable (fill through plan.json slots)

  • userMessage (string) EXAMPLE DATA: replace or get client sign-off. Plain text. Wrap the ONE accent word in *stars*.
  • message (string) EXAMPLE DATA: replace or get client sign-off. Plain text. Wrap the ONE accent word in *stars*.
  • artifactTitle (string) EXAMPLE DATA: replace or get client sign-off. Plain text.
  • artifactType (string). Plain text.
  • chartTitle (string). Plain text.
  • bars (json) EXAMPLE DATA: replace or get client sign-off. JSON; keep the same shape as the default.
  • barLabels (json) EXAMPLE DATA: replace or get client sign-off. JSON; keep the same shape as the default.
  • highlight (number).

Optional style/layout overrides: speed. Use them only to fix fit or pacing, never to change the brand.

Protected

Do not change the motion, easing, timing, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±30%) so it fits. This element shows trademarked logos and/or the mascot: never recolour, stretch or redraw them, and follow TRADEMARKS.md (editorial use only, no implied endorsement).

Safe editing

Set values in the beat's slots in plan.json, run tools/validate.mjs, rebuild, and check qa/contact.jpg. Never hand-edit the generated index.html or this element's code for a single video.

FAQ

What can my AI agent change in Artifact Panel?

Your agent fills the userMessage, message, artifactTitle, artifactType, chartTitle, bars, barLabels and highlight slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Clay & Ink look.

Which aspect ratios does Artifact Panel support?

Artifact Panel is designed natively for 16:9 and stage-fits into 9:16, 4:5 and 1:1. A typical beat lasts 5s.

How do I get Artifact Panel?

Artifact Panel is included in the Clay & Ink pack, which is part of the AgentFrames All-access subscription along with 47 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

This is 1 of 48

Get the full Clay & Ink pack

Artifact Panel comes as part of Clay & Ink: 48 elements, 6 starter videos and every size (16:9, 9:16, 4:5, 1:1), re-brandable to your colours in one file. Included in All-access with every other pack.

See the whole pack →

Pack showcase (16:9) · 60s · made entirely with this pack

More in Clay & Ink

See all 48 elements in Clay & Ink →