Docs
Use case

Create a visualization artifact

Let an AI client generate a bounded Prism artifact, validate the payload, and save it into a library folder or article draft.

Artifacts are for durable research outputs that should live with the rest of the user's Prism library or writing workflow.

Workflow

Primary steps

  1. 1Ask the AI client to check Prism's artifact capabilities before generating.
  2. 2Validate the artifact payload before saving it.
  3. 3Save the artifact to a library folder or draft, then open it in Prism.

Runtime choices

Use native chart, table, metric card, or markdown specs when the output fits those shapes.

Use sandboxed React or self-contained HTML only when the artifact needs a richer custom view.

Use Python only as a bounded generator that returns a validated Prism artifact. Prism stores the generated artifact, not Python as a live browser runtime.

Preflight habit

Ask the AI client to call Prism's artifact capabilities and validation tools before saving complex visualizations.