Skip to content
PranorAI

Artifacts — run small apps and diagrams in chat

Updated

An artifact in PranorAI chat (also called a live preview, mini app, web page or diagram in chat) is something you can use, not only read: a calculator, a form, a small game, a web page, or a flowchart. PranorAI writes the code and runs it in a workspace beside the chat, where you can try it, edit it, download it and save it to your Library. Use it for small, self-contained things. For a Word, Excel or PowerPoint file, ask for that file instead.

Where to find itThe artifact card in a chat reply; press Open in workspace
NeedsA chat with a connected AI model. Sign-in only to save to your Library
Works onWeb browser and desktop app (the app checks its sandbox once at each start)
Saved artifactsSmart Library, category Artifact
CostThe reply uses your model's allowance; running, editing and downloading are free

How do I create an artifact?

Say what you want to make:

  • "Create a tip calculator"
  • "Make a snake game in HTML"
  • "Build a contact form with name, email and message, and show what I typed"
  • "Draw a flowchart of our hiring process"
  • "Make a mind map of marketing channels"

The reply shows a card with the artifact's name, its type and size, and a small picture. Press Open in workspace. The picture on the card is a still image: nothing runs until you open the workspace.

In the desktop app PranorAI first checks, once each time it starts, that this computer keeps the artifact sealed in. If that check does not pass, the app shows the artifact as a still page (its layout and any diagram, but buttons and other code do not run) and says why. You can still edit, download and save it.

What runs, and what does not?

You getWhat happens
A web page (HTML, with CSS and JavaScript)Runs in the preview
A diagram written in Mermaid (flowchart, sequence, mind map and others)Drawn as a diagram
An SVG drawingShown as a picture
JavaScript on its ownRuns, and its printed output is shown
Other languages, such as Python or SQLShown as code only. PranorAI does not run them

How do I use the artifact workspace?

ControlWhat it does
Files (top left)Lists the files, for example index.html, style.css and script.js
Code, Split, PreviewChoose what you see. Split shows the code and the running page side by side
Desktop, Tablet, MobileChange the width of the preview to see the page on a smaller screen
Run / RerunRun runs your edited code; Rerun starts the page again from the beginning
OutputAppears under the preview when the page prints something or has an error
CopyCopies the file you are looking at
DownloadGives you one file you can open in any browser (or the diagram as a picture)
SavePuts the artifact in your Library

The artifact runs by itself when the reply is complete. You can change the code in the editor and press Run to see the result. Your edits stay in the workspace while it is open. To keep them, press Save or Download before you close it.

How do I find a saved artifact?

Open Smart Library. Saved artifacts show Artifact in the Category column; search by name or choose the Other filter to find them. Open one to run it again, edit it, and save over it. Saving is never automatic: an artifact is in your Library only if you pressed Save. Pressing Save again for the same reply replaces the earlier copy.

A downloaded or saved page keeps the same rule it ran under in the workspace: it cannot load anything from the internet, even when you open it in your browser later.

Saving sends the artifact's code to PranorAI's storage so it is available on your other devices, including when the chat used a model on your own device.

[UNVERIFIED CLAIM — needs audit sign-off before publishing] An artifact you do not save stays in the chat on your device and is not uploaded.

Why does my artifact look broken or empty?

You seeCauseFix
"This page loads something from the internet."Artifacts run offline. A page that needs an online library, font or picture is missing that partAsk: "Rewrite it with no external libraries."
"This diagram has a mistake in its text."The diagram's code has an error; the message shows whereFix it in the editor and press Run, or ask the AI to correct the diagram
"This page is shown without running its code: this device did not pass the sandbox check."The desktop app tests at every start that an artifact cannot reach anything outside its box, and this computer did not passOpen PranorAI in your browser, or press Download and open the file. If you contact support, quote the code in square brackets, such as ARTIFACT_SANDBOX_FAILED
"This file was not downloaded" or "not saved"PranorAI checks every file it makes before offering or saving it, and this one contained something a saved file must not, such as a script in a drawingAsk the AI to remake it. The code in square brackets starts with FILE_SAFETY
A pop-up message never appearsArtifacts cannot show browser pop-up messages (alert)Ask the AI to show the message on the page instead
Nothing happens when I clickThe code has an errorOpen Output under the preview, then ask the AI to fix it and paste the error text
The card has no picture, or a blank oneThe picture shows only the still part of a page. A game that draws itself with code looks empty on the card. Code that cannot run has no pictureOpen the workspace

[UNVERIFIED CLAIM — needs audit sign-off before publishing] Artifacts run in an isolated area: they cannot read your chats, files or account, and they cannot connect to the internet.

Frequently asked questions

What is an artifact in PranorAI chat? An artifact is a small, runnable thing PranorAI writes for you in chat, such as a calculator, form, game, web page or flowchart, shown in a workspace beside the chat.

Can an artifact run Python or SQL? No. Python, SQL and other languages are shown as code only. PranorAI runs web pages (HTML, CSS, JavaScript), JavaScript on its own, Mermaid diagrams and SVG drawings.

Can an artifact call a website or load online data? No. Artifacts run offline, so a page that needs an online library, font or picture is missing that part.

Are artifacts saved automatically? No. An artifact is in your Library only if you pressed Save. Saving the same reply again replaces the earlier copy.

How do I get my artifact out of PranorAI? Press Download. You get one file you can open in any browser, or the diagram as a picture.

Why does my artifact show as a still page in the desktop app? The app checks its sandbox at every start. If this computer did not pass the check, the page is shown but its code does not run. Open PranorAI in your browser or download the file.

Next steps

Do / don't

  • Do ask for one self-contained thing at a time.
  • Do read the code before you rely on a result, for example a calculation. The AI can make mistakes.
  • Don't expect artifacts to call websites, load online data or remember what you typed after you close them.
  • Don't paste passwords or other secrets into an artifact.

Last reviewed: 2026-11-10 against code (b3eb4f237)

More in Chat

Was this not what you needed? Contact support or send feedback.