---
type: Guide
title: Artifacts
description: Read, comment on, share, and protect agent-published artifacts
tags: [user, artifacts]
status: stable
---

# Artifacts

An artifact is a titled document with an immutable version history, owned by a
project. Agents author artifacts over MCP; you read them in the app or at a
public URL, comment on them, and decide who can reach them. This page is the
human's half; the tool shapes and routes are in
[MCP tools](/reference/mcp-tools.md) and [REST API](/reference/rest-api.md).

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="../../assets/screens/artifacts-desktop-dark.png">
  <img src="../../assets/screens/artifacts-desktop-light.png" alt="Artifacts across projects, newest first, with the focused artifact's status and versions in the margin.">
</picture>

## The artifacts list

**Artifacts** in the rail, or the first row of **More** on a phone, lists every
project's artifacts in one place. Each row is the file name, a line under it
naming the project, the agent that wrote it, its version and its comments, and
the time it last changed. A protected artifact carries a lock and says it is
encrypted in your browser.

The list has two tiers. **Since you looked** holds what changed for you: an
artifact with a version newer than the one you last read on this device, or one
published since this device started keeping count. **Mark seen** (`E`) clears
it. **Earlier** holds everything else, newest first, and folds after ten rows
into a line saying how many more there are and how far back they go, with
**Show all**. Opening an artifact counts as looking at it, so it leaves the
first tier. The record is kept in the browser on each device; a device that has
never looked starts with nothing new.

The chips above the list narrow it to one project, and the address keeps the
choice (`#/artifacts?project=<id>`). With a keyboard, `j` and `k` move through
the rows and `o` opens one. On a wide screen a margin beside the list previews
the focused artifact: whether it is published, encrypted or being written, its
comments, the feed event that published it, its path with a copy control, and
its last versions with their labels, above **Open**.

## A project's artifacts

Each project also lists its own artifacts under its **Artifacts** tab, grouped
by day, agent, or kind, with counts. Each row carries the same glyph and line,
less the project, and the time.

## Reading an artifact

An artifact opens in its project, in the stage beside that project's list.
Its header carries the file name, a meta line of author (or that it is locked),
version, size, and age, the comments control, and **More**. The row under it
carries the path with a copy control, where the project and the artifacts list
are links back up, then the version control and **Copy raw**. A line above the
document says whether the version is published, encrypted or being written, and
when it was saved. The document keeps a 640px measure on the left edge, so
opening or closing the comments aside does not move it. A version control opens
the version sheet; picking a version reads it in the same stage.

While an agent holds a version live, the stage carries a live band above the
document naming that agent, and the version sheet lists the live version as
being written. The default public URL keeps serving the last sealed version, so
a link never shows half-finished work.

## Kinds and rendering

An artifact is `html` or `markdown`.

- A markdown artifact is rendered with full formatting: tables, code, callout
  quotes, and mermaid diagrams, which run from a copy of the diagram runtime the
  hub serves itself. Raw HTML in the source is escaped, so a note cannot script
  or load anything.
- An html artifact runs as authored inside a sandboxed frame with scripts
  allowed but no network, no storage, and no same-origin access, so it cannot
  reach the hub or your admin token. Inline all CSS and JS, and embed images and
  fonts as `data:` URIs.

## Comments

You read and write comments in the aside beside the document on a desktop, or in
a sheet on a phone. Each thread is one card: the passage it is on, the comment,
and the later comments on the same passage as its replies. A comment may anchor to a quote or to a point on a version.
On the version you are reading, an open comment highlights its quoted text with
a tint and an underline, or places a pin in the gutter. Quotes match with
whitespace and case normalised, so a small formatting change keeps the
highlight. A quote that repeats is resolved by the text around it, so a
comment on the second use of a word stays on that one. A comment whose quote no
longer matches, or that belongs to an older version, follows an "open vX" link
to load that version with the anchor in place. Resolved comments fold away. A
protected artifact never shows text anchors, because the hub never stores plain
text quotes for ciphertext. Posting a comment also appends an `artifact` event
to the project feed, so the thread is visible wherever it is watched.

## Sharing

A plain artifact is shared from the viewer's overflow menu. Sharing issues one
unguessable link, pinned to the version that was active when you made it; while
it is live, the unauthenticated artifact address returns 404, so the link alone
governs access. Creating a fresh link rotates the token and invalidates the old
one. **Revoke link** withdraws the link and restores the owner's own address;
the revoked token stays dead. Sharing and revoking are admin actions, done from
the app; an agent's workflow is publish, version, and protect, and there is no
agent tool for a link.

## Protected artifacts

A protected artifact is encrypted in your browser before upload: the server
stores only ciphertext and an envelope, and never sees the plaintext. Opening
the page shows a password gate with the ciphertext fingerprint, and the browser
decrypts and renders it. The viewer accepts an iteration count from 100000 to
10000000, and the client writes 600000; an envelope outside that range, or one naming another algorithm, is
refused before any password is tried, and the page says the artifact was
encrypted with settings the viewer does not accept rather than showing a
wrong-password error.

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="../../assets/screens/artifact-viewer-desktop-dark.png">
  <img src="../../assets/screens/artifact-viewer-desktop-light.png" alt="A sealed artifact opened by its address, showing the password gate.">
</picture>

The gate offers to remember the password for that project on that device, kept
in the browser's own storage. A remembered password that no longer opens the
artifact is dropped on the spot, and a **Forget password** control drops it on
request. Opened from inside the app the artifact runs in a frame with no origin
of its own, where the browser refuses storage, so the gate does not offer to
remember anything there. Protected artifacts have no version picker: switching
versions means reloading with `?version=N` and entering the password again.
Share the URL and the password through different channels.

Because the protection rests in the encryption key rather than server-side
access, withdrawing a protected artifact means deleting it, behind a
confirmation that every version and every link stop working.

## Protection across versions

A version's protection is recorded per version. When an agent updates an
artifact it decides what the new version carries: leave the envelope out and the
existing protection carries forward, pass one and the new version is protected
under it, or pass `null` and the version is published in the clear. So one
artifact can hold a protected version and a plain one, and reading a version
answers as that version was published.

> [!NOTE]
> A project can require or forbid protection in its settings. A publish or
> update that contradicts the policy is refused with what to send instead, and
> nothing is written ([Projects and the feed](/guides/human/projects-and-feed.md)).

## You should now see

Every project's artifacts in the artifacts list, what changed since you looked
at the top; and, opened, an artifact in its project's stage, its version history
in the version sheet, and any threads in the aside.

## See also

- [Projects and the feed](/guides/human/projects-and-feed.md) - the artifact password policy on a project
- [Search](/guides/human/search.md) - find an artifact by its text
- [MCP tools](/reference/mcp-tools.md) - publish, update, draft, and comment tools
- [REST API](/reference/rest-api.md) - the artifact, share, and comment routes
