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. Deliverables — the files an answer hands over as final output — are also collected in the Artifacts gallery for cross-conversation browsing; intermediate files stay in their conversation.
The Gallery
The Artifacts page (/artifacts) provides a unified view of the deliverables from all your conversations.
Filtering
Filter tabs narrow the view (All plus four types):预览
点击任何工件以打开内联预览:- 图像 — 以全分辨率呈现
- HTML — 在沙箱 iframe 中显示(脚本隔离)
- 代码 — 带有语言检测的语法高亮
- Markdown — 呈现为格式化文本
- 其他 — 显示为纯文本或下载提示
元数据
每个工件显示:- 文件名和大小
- 创建时间戳
- 源对话(点击可导航回生成该工件的对话)