---
title: "Artifacts: documents, pages, and diagrams beside your chat"
description: "Ask an agent in chat for a document, a web page, a React app, an SVG image, or a diagram. It opens beside the chat as a versioned file you can preview, edit, and share."
---

> Documentation Index
> Fetch the changelog index at: https://docs.aiagent.app/changelog/llms.txt

# Artifacts: documents, pages, and diagrams beside your chat

Ask an agent in chat for something you want to keep, and it writes an artifact that opens in a panel beside the conversation. Artifacts are on by default as a Labs alpha feature.

![A chat panel with three message bubbles beside an artifact panel. The artifact panel has Preview and Code tabs, a v3 version label, a Changes toggle, and a document.](/changelog/art-artifacts-documents-and-pages-beside-your-chat.webp)

- **Six kinds.** Document, Code, Web page, React app, SVG image, and Diagram. Switch between **Preview** and **Code**
- **Versions.** Every change is a new version. Pick a version, turn on **Changes** to see what differs from the one before, and choose **Restore** to bring an old version back as a new one
- **Edit it yourself.** Edit and save in the panel. While the agent is writing, the panel is read-only
- **Keep and share.** The **Artifacts** tab beside **Chat** lists what you made, with **Mine** and **Shared**. Set an artifact to Private, or to Shared so workspace members can view and copy it. Download it, duplicate it, or open it on a full page

Artifacts work in web chat. Turn them off in Settings → Labs.

Source: https://docs.aiagent.app/changelog/artifacts-documents-and-pages-beside-your-chat/index.mdx
