Artifacts
Found this helpful? Share it:
Found this helpful? Share it:
An artifact is a document an agent writes for you: a dashboard, a report, a small interactive app, a diagram. Unlike a code block in a message, an artifact is a real page you can open full screen, keep, and share.
Every artifact runs on its own address, isolated from your workspace. It cannot read your chats, your files, or your session, and it cannot make network requests. What it can do is run its own scripts and keep its own state, so an interactive artifact stays interactive between visits.
Just ask. "Build me a dashboard of last month's spend", "turn this into a one-page report", "make a small app that tracks my reading", an agent that has the artifact tool will create the document and show it as a card in the conversation.
The card is a live preview: it frames the artifact itself, so a later edit by the agent appears in the same card with no new message.
Select Open on a card to see the artifact full screen. The title is editable in place: select it and type. Every artifact you create is listed under Artifacts in the sidebar, newest first, as a grid of live previews or a compact list.
When an agent changes a document, the previous version is kept. Open the version history from the top bar to see the earlier versions and restore one; restoring is itself a change, so nothing is ever lost.
The more menu downloads the artifact's source file, and Print / Save as PDF opens the rendered document so you can print it or save it as a PDF. Both export exactly what you are looking at.
Sharing an artifact publishes it at a link anyone can open, without an account. Sharing is part of a paid plan; on a free plan the share panel explains what upgrading unlocks. Every share is its own link, and revoking one link leaves the others working.
A shared artifact is read-only for visitors and is not indexed by search engines. If you revoke the last live link, the document stops being served immediately.
Deleting an artifact moves it to the trash and shows an undo window. If you miss the window, the artifact stays in the trash rather than being destroyed, and can be restored from the API by the artifact's owner.
It cannot call our API, read your workspace, or reach any other site: the origin it runs on is deliberately sealed. It also cannot see another artifact's data, even your own; each document is its own sandbox.
Was this helpful?