Artifact blocks
A structured Artifact (Canvas) is a document made of typed blocks. The block type decides what the value means and how it is drawn, so a spreadsheet stays a spreadsheet, a chart stays a chart, and a plan stays a working plan. This page is the catalogue.
Nothing here is free-form drawing. The agent chooses a block and fills its schema; the renderer draws it with the app's own styles, and you can edit text, spreadsheet cells, mockups, flows, diagrams, and plans directly in place. That is what makes an Artifact readable, searchable, exportable, and consistent across the window, a share, and an export.
Block families
| Family | Blocks | Use it for |
|---|---|---|
| Text and structure | heading, rich-text, callout, link, divider, citation, summary, key-value | The argument, the sections, editable Markdown prose, the takeaway |
| Status | metric, progress, status | One number, a completion, a state |
| Data | table, spreadsheet, chart, timeline, treemap, heatmap, bar-list, comparison-matrix, dashboard, math | Values, live formulas, comparisons, trends, distributions |
| Code | code-excerpt, pseudocode, diff | A snippet, an algorithm, a change |
| Diagrams | diagram, sequence, state, er, swimlane, mindmap, flow | Structure, interaction, state, data models, interactive screen flows |
| References | source-reference, artifact-reference, file-reference, preview-reference, browser-reference, evidence-reference, image, video | Point at the thing the claim rests on, or show generated media |
| Work products | plan, deck, mockup, design, choice | Plans, presentations, editable UI, prototypes, a question for you |
| Layout | tabs, columns | Group blocks without nesting them |
Text and structure
headinggives a section its rank. An Artifact has one title and a visible outline / table of contents that jumps to any section; headings build the outline.rich-textrenders full Markdown — paragraphs, bold, italic, strikethrough, inline code, fenced code blocks, links, ordered and unordered lists, interactive task checklists, blockquotes, and Markdown tables — and supports direct inline editing, block insertion, and reordering.calloutsets a note, a warning, or a decision apart without inventing a new page.citationpairs a claim with its source and a locator. A citation without a source is a dangling claim.summaryis the explicit takeaway, used at the top of a long document.key-valueis the small facts table: owner, status, date, environment.
Data
tableis the structured reading table. It carries typed cells, number formats, display formats, and stable row ids that comments anchor to.spreadsheetis a multi-sheet formula workbook (up to 12 sheets, 52 columns, 1,000 rows per sheet, and 10,000 cells total) with direct cell editing, a formula bar, keyboard grid navigation, row/column/sheet management, semantic conditional formatting (up to 16 rules per sheet), and CSV/TSV/XLSX import and export. Formulas run in a pure deterministic evaluator with zero script execution and support 29 functions (SUM,AVERAGE,MIN,MAX,COUNT,COUNTA,ROUND,FLOOR,CEILING,ABS,POWER,MOD,IF,IFERROR,AND,OR,NOT,SUMIF,COUNTIF,AVERAGEIF,INDEX,MATCH,VLOOKUP,XLOOKUP,CONCAT,LEN,LEFT,RIGHT,TRIM), cross-sheet references (Sheet!A1), cycle detection (#CYCLE!), and standard error codes (#REF!,#DIV/0!,#VALUE!,#NAME?,#N/A,#NUM!). Evaluated cached values are recomputed on the server and stored beside formulas so exports and shares always show exact numbers without running code.chartcovers bar, line, area, pie or donut, scatter, funnel, radar, and sankey. A chart carries its data — or binds directly to aspreadsheetblock viasourceSheet(categoryRangeandvalueRange) so the chart updates automatically when cells change — plus title, subtitle, point notes, emphasis, and a plain reading for export and readers who cannot see it.dashboardplaces metric tiles and charts in one block. It is a reading surface, not a second page.treemapshows a hierarchy by area;heatmapshows intensity across two axes;bar-listranks a short list;comparison-matrixcompares options against criteria.timelineorders events;metricis one number with its label and change;progressis a bounded completion;statusis a named state.mathrenders TeX-style notation as a reading block.
Every value is drawn from the document. A block with no data says it has no data; it never invents a plausible series.
Code
code-excerptis a real excerpt, with its language and an optional path and line range.pseudocodeis for an algorithm that is not yet in a language.diffshows an addition and a deletion in the same reading.
Diagrams
There are several diagram blocks because they answer different questions:
| Block | Question it answers |
|---|---|
diagram | How are these parts grouped and connected? |
sequence | Who calls whom, in what order? |
state | What states exist, and what moves between them? |
er | What are the entities and their relationships? |
swimlane | Which actor owns which step? |
mindmap | What belongs under this idea? |
flow | What does the person see, and where does each action lead? |
A diagram has nodes with an optional role (process, decision, terminator), edges with a style (line, arrow, dashed), groups, icons, and tones. The layout is deterministic: the same document draws the same picture everywhere. You can drag a node or nudge it from the keyboard, and that move is journaled as a new version.
A flow is a board of screens and the connections between them, with authorable navigation, overlay, form-validation, loading, failure, and recovery transitions and a built-in FlowPlayer for replaying named scenarios with sample data. It is the right block for an interactive app flow, not a generic diagram.
References
A reference names its target instead of copying it:
source-reference— a source the document read.file-reference— a file in the Project's folder, for Work and Code.artifact-reference— another Artifact.preview-reference— a preview this thread captured.browser-reference— a page this thread visited.evidence-reference— a recorded check, run, or result.image— a picture with its description. It can show an image generated in this thread or, in a Project, in one of the Project's threads. If that image is deleted or out of reach, the block says Image unavailable. A share and a public link carry the picture; a Markdown export and a Markdown or HTML export to a destination carry the description instead.video— a generated video clip referenced by id from the host's video store (never copied into the document JSON). Playback streams through an authenticated short-lived host ticket; if the clip is deleted or outside the reader's Project scope, the block shows a labelled placeholder.
A reference that cannot resolve in the reader's scope draws a labelled placeholder; it does not silently become a broken image. A Chat Artifact cannot reference Project files, because it has no folder.
Work products
planis a working plan: phases, tasks, status, owners, estimates, acceptance notes, dates, dependencies, and sources, with checklist, board, timeline, and Gantt readings. A person can set a task's status; a Work or Code plan can start a thread from a task. See Artifacts.deckis a slide sequence drawn at 1920×1080. Present runs it full-screen with presenter notes on N; notes never leave the app.mockupis an editable UI built from a catalog of interface components, with direct selection, inline copy/layout/style editing, responsive breakpoints (compact,medium,expanded), reusable component instances with slot overrides, and precision align/distribute/gap rulers. See Designs and prototypes.designis one or more HTML frames at a fixed size, static or running, with optional staticdata-octant-idanchors for comments and thread context. It is the only block whose content is markup, and it has its own containment rules. See Designs and prototypes.choiceasks you questions, with no limit on how many, each with options (and room for a written answer where the agent allows one). It is how an agent asks for a long list of decisions in one place. See Decision forms.
Decision forms
When an agent needs answers to many questions, it can put them in one choice block instead of asking in rounds of four. A long block reads as a form: questions grouped under section headings, each with its options and the agent's recommendation marked.
Open the Canvas beside its thread to answer.
- Choose as you go. Picking an option saves it at once, and a note on the question saves a moment after you stop typing, or when you leave the field. There is no Save button. Each question says Saved, or why it was not. Reload the Canvas or come back later and your answers are still there.
- Add a note. Most questions take an optional note that goes with your choice. Write another answer is for when none of the options fit; it replaces the choice instead of adding to it.
- See your progress. The header counts "N of M answered". A question the agent marked optional never holds you up.
- Accept the recommendations. Accept every recommendation not yet answered answers each open question that has a clear recommendation and leaves the rest. It never replaces an answer you already gave, and it tells you how many it skipped. Choosing differently on a question later changes it, and that question no longer reads as accepted.
- Send when you are done. Saving does not tell the agent anything. Send to the Chat/Work/Code thread sends your answers as your own ordinary message to the thread that made the Canvas, grouped under the section headings with your notes, and the agent continues from them. Send waits while any answer is still saving or could not be saved. You can keep editing afterwards and send again. For a very long form, the message may only count your answers, and the agent reads them from the Canvas.
If the agent rewords a question after you answered it, your answer does not carry over. The question shows your Earlier answer, in the words you chose, and asks again, and it does not count as answered until you do.
Your answers are yours:
- They save from a window on the host or a device you paired yourself. A hub-introduced or restricted device shows what you saved and cannot change it.
- Only the thread that made the Canvas reads them, and what you answer does not approve any action the agent has to ask about.
- A shared link and an export carry the questions and sections and never your answers or notes. Answers are erased with their Canvas.
- When artifact sync is on and the Canvas is carried by your replica, saved answers, notes, and clears travel across your computers with their author and time. Concurrent answers from two computers settle deterministically to one answer, and an answer to a question that was later reworded still travels and reads as stale (Earlier answer). Answers on a local-only Canvas, in Plan mode, or with sync off stay on this computer.
- An older version of the Canvas shows the form read-only. Answer on the current one.
A Canvas with a decision form needs the newer Canvas version. An older Octant refuses to open one with sections or notes, and one with more than four questions, instead of drawing it wrong.
For a few quick questions, the agent can ask in the thread instead. See Answering a questionnaire.
Layout
tabsholds 2–12 panes, each with a label and the blocks it shows.columnsholds 2–4 tracks that stack blocks side by side.
Both name blocks the same document already holds instead of nesting them, so each child keeps the identity a comment anchors to and a revision edits. Tabs are a real tab list: arrow keys, Home, and End move between panes. A narrow Canvas folds columns to one track.
The rules that keep it honest
- One reading order. The renderer, a share, an export, and the agent's preview read the blocks in the same order.
- No invented values. A skeleton says what block it waits for; it does not fill in a plausible number.
- 128 blocks per Canvas; groups count against the budget.
- Schema versions. New block kinds and fields arrive with a version. An older runtime refuses a newer document as a future version instead of drawing it wrong.
- Person edits commit as tagged checkpoints. Direct edits to text, spreadsheet cells, mockups, flows, diagrams, and plans buffer locally with undo and redo and commit cleanly as
manual-editversions with the host's actor, so the agent sees them on its next read. The answers you save to a decision form are journaled with the Artifact but are not versions.