Artifacts: a chat that builds with you
When Chat writes code, a document, or a spreadsheet, it opens a live panel you can edit, run, and version — right beside the conversation.
Overview
Some answers don't belong in a chat bubble. A function, a long draft, a table of numbers — those are things you want to read, edit, and keep, not scroll past. In OceanAI Chat, they open as artifacts: a live panel next to the conversation that you can work in directly.
Three kinds, all editable
| Type | What you get |
|---|---|
| Text | A rich-text document with inline AI suggestions and a diff view of every change. |
| Code | A Python editor you can run in the browser — plots and all — with a console right there. |
| Sheet | A spreadsheet you can sort, edit, and export to CSV. |
Ask for a chart and Chat can write the code and run it:
import matplotlib.pyplot as plt
plt.plot([1, 2, 3], [3, 1, 4])
plt.title("Rendered right in the artifact")
plt.show()
Not throwaway output
Every edit — yours or the AI's — is saved as a new version, so an artifact carries its full history. Step back and forth, compare a diff, or restore an earlier draft. When you want to keep it, copy it out or export it; when you want to change it, ask in the chat and watch the panel update.
The conversation proposes; the artifact is where the work actually lands.
Artifacts are part of Chat on every plan — start a conversation for free, and see the pricing when you want more room.