Skip to main content

Live Artifacts

A live artifact is an HTML artifact backed by one or more connector data sources. On refresh, the agent re-fetches data, re-renders the artifact, and records a new version — without re-running discovery or re-picking a direction.

AspectStatic artifactLive artifact
Data sourceHardcoded contentConnector-backed (Notion, databases, APIs)
UpdatesManual regenerationOn-demand or scheduled refresh
HistoryConversation-basedRefresh log with delta tracking
Failure recovery—Staleness detection + retry

Lifecycle​

Creation​

  1. The agent builds the artifact and wires it to connector data sources.
  2. It registers the artifact through the live-artifacts tool surface, naming its dependencies.
  3. A manifest records the artifact, its data sources, and the run that created it.

Refresh​

  1. Trigger — manual, scheduled, or via the tool surface.
  2. Fetch — each connected data source is called; only refresh-eligible tools participate.
  3. Re-render — the artifact is updated with fresh values.
  4. Persist — a new version is written with a refresh-log entry.
  5. Display — the preview updates.

Failure handling​

MechanismBehaviour
Staleness detectionA failed refresh marks the artifact stale rather than showing wrong data as current
Refresh locksPrevents concurrent refreshes of the same artifact
AbortAn in-progress refresh can be cancelled
RetryStale artifacts can be retried manually

Refresh eligibility​

Not every connector tool may run during a refresh. A tool is refresh-eligible only when its safety classification proves it read-only with an automatic approval policy:

sideEffect === 'read' && approval === 'auto'

Anything classified write, destructive, or unknown is excluded. This is the rule that keeps a scheduled refresh from mutating your CRM.

Surfaces​

In the app​

Create a project with the Live artifact intent, or open an existing artifact from the Designs tab. The preview shows the artifact with badges for its freshness state, and the refresh history lists each run.

Over MCP​

tfdesign mcp live-artifacts exposes six tools:

ToolPurpose
live_artifacts_createRegister an artifact with its dependencies
live_artifacts_listList registered artifacts
live_artifacts_updateUpdate an artifact
live_artifacts_refreshTrigger a refresh
connectors_listDiscover connectors and their tools
connectors_executeExecute a connector tool

Over the CLI​

"$OD_NODE_BIN" "$OD_BIN" tools live-artifacts list --format compact
"$OD_NODE_BIN" "$OD_BIN" tools live-artifacts create --input artifact.json
"$OD_NODE_BIN" "$OD_BIN" tools live-artifacts update --artifact-id <id> --input artifact.json
"$OD_NODE_BIN" "$OD_BIN" tools live-artifacts refresh --artifact-id <id>

These require OD_TOOL_TOKEN. The project id comes from the token, not from the request: supplying a different projectId is rejected with 403 FORBIDDEN. The same applies to the originating run id — a caller cannot forge provenance.

Routes​

EndpointMethodDescription
/api/live-artifactsGET / POSTList / create
/api/live-artifacts/:artifactIdGET / PATCH / DELETEManage one artifact
/api/live-artifacts/:artifactId/previewGETRendered preview
/api/live-artifacts/:artifactId/refreshesGETRefresh history
/api/live-artifacts/:artifactId/refreshPOSTTrigger a refresh
/api/tools/live-artifacts/createPOSTAgent-facing create (token-authed)
/api/tools/live-artifacts/listGETAgent-facing list (token-authed)
/api/tools/live-artifacts/updatePOSTAgent-facing update (token-authed)
/api/tools/live-artifacts/refreshPOSTAgent-facing refresh (token-authed)

Use cases​

  • Sales pipeline — refresh from CRM connector data.
  • Team status — pull from project management tools.
  • Financial summary — latest accounting exports.
  • Service health — monitoring APIs.
  • Inventory — current stock from commerce connectors.

Requirements​

Live artifacts need at least one configured connector. Without one there is nothing to refresh and the artifact is just a static page — see Connectors.

The agent picks data sources from the brief and the available connectors. Being explicit in the brief about which system holds the data produces far better results than "make it live": the agent cannot invent a connector you have not authenticated.