How Artifacts Are Created
Any tool that returns aToolResult with an artifacts list generates downloadable files. The agent doesn’t need special instructions — artifact creation is a natural side effect of tool execution.
Common producers:
When a tool produces an artifact, it appears inline in the conversation as a downloadable attachment. All artifacts are also collected in the Artifacts gallery for cross-conversation browsing.
The Gallery
The Artifacts page (/artifacts) provides a unified view of all files you’ve generated across all conversations.
Filtering
Four type filters narrow the view:Preview
Click any artifact to open an inline preview:- Images — rendered at full resolution
- HTML — displayed in a sandboxed iframe (scripts isolated)
- Code — syntax-highlighted with language detection
- Markdown — rendered as formatted text
- Other — shown as plain text or download prompt
Metadata
Each artifact shows:- File name and size
- Creation timestamp
- Source conversation (click to navigate back to the conversation where it was generated)