跳转到主要内容
Artifacts are the files that AI agents produce during conversations — images, HTML pages, code files, documents, and other outputs. The Artifacts page is a cross-conversation gallery that lets you find, preview, and download the deliverables your agents have produced.

How Artifacts Are Created

Any tool that returns a ToolResult 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 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 — 呈现为格式化文本
  • 其他 — 显示为纯文本或下载提示
使用箭头键在工件之间导航;按 Escape 关闭预览。

元数据

每个工件显示:
  • 文件名和大小
  • 创建时间戳
  • 源对话(点击可导航回生成该工件的对话)

Storage

Artifacts are stored on the server filesystem, one directory per conversation. Each artifact is stored under a random 12-character id plus its original name; download URLs carry the conversation UUID. Files are served directly — no database records for individual artifacts, keeping the storage layer simple and fast.