Inspect

Artifacts and the Library

An artifact is a deliverable a session produced or saved: a file the agent uploaded, or a pointer to an outside resource such as a Notion page, Linear ticket, dashboard, or report. Every session lists its own artifacts. Publishing an artifact adds it to the organization's Library, where people and agents in any later session can find it.

Where artifacts appear

  • /sessions/<session-id>/artifacts lists everything that session produced, published or not, in the order it produced them.
  • https://app.inspect.com/library/artifacts lists published artifacts from your whole organization, searchable by title, description, and URL and filterable by Kind.
  • /library/artifacts/<artifact-id> shows one artifact with the sessions and other entities it's related to.
  • A project's resources include artifacts linked to the project plus artifacts from its sessions. See Projects.

Agents search published artifacts when you ask them to find or recall something saved ("find the deploy runbook we saved"). They don't search the Library on their own initiative.

Kinds

link, doc, ticket, message, channel, dashboard, pdf, design, feature_flag, file, and session_replay. Files come from uploads; the rest point to a URL.

Saving and publishing resources

Ask the agent to save or publish a resource and it records the URL with a title (up to 200 characters), a description (10 to 2,000 characters), and a kind. The URL has to appear in the conversation or a current session artifact, and the title and description have to come from the conversation or content the agent fetched. Each URL is saved once per organization; saving it again points the agent at the existing artifact to update.

Without being asked, the agent publishes only durable resources it created, updated, or delivered as a final output: docs and runbooks, Linear tickets and projects, feature flags, durable dashboards, canonical Slack or incident threads, design references, final reports. It doesn't publish screenshots, videos, logs, CI artifacts, traces, temporary query results, scratch notes, pull requests, commits, or signed URLs. Ask it to publish or unpublish anything explicitly.

Published artifacts are visible to everyone in your organization. Ask the agent to rename, re-describe, re-categorize, publish, or unpublish an existing artifact. Removing a published artifact that a session produced unpublishes it and leaves it in that session; removing one that no session produced deletes it.

Uploaded files

The agent uploads files from its sandbox with upload_file. It's the supported way for a session to hand you a file, and the agent uses it for exports, reports, logs, and recordings you ask for.

  • Up to 1 GB from a sandbox path.
  • Up to 5 MB for inline content.
  • File types: png, jpg, jpeg, gif, webp, svg, bmp, webm, mp4, mov, pdf, pptx, xlsx, csv, htm, html, json, xml, txt, md, log, zip.

Each upload returns links with different reach:

  • url opens for anyone signed in to your Inspect organization who has the link. It never expires.
  • public_url opens for anyone with the link, no sign-in. It expires after 30 days.
  • download_url, returned only when requested for scripts, opens for anyone with the link, no sign-in. It expires after 1 hour.

The agent shares url with people. It uses public_url only to embed images, video, or audio in Markdown, pull request comments, and Slack messages, which load without an Inspect sign-in. The url link isn't limited by the session's visibility: anyone in your organization with the link can open the file, even from a private session.

Uploading a new version with the same artifact overwrites the file in place, so existing links show the new content.

Browser-playable videos and self-contained HTML open inline, CSV files open as a table, and other files download. Uploaded HTML runs in isolation: inline scripts, styles, and embedded data: or blob: media work, but the page can't reach Inspect cookies, storage, or APIs, load external resources, or submit forms. In a session with a Slack Code Channel, an uploaded HTML file also opens as a tab in the channel.

Participants can also upload files directly to a project's resources, up to 20 MB each.

Troubleshooting