Office

Wiki

Notion-style pages of blocks: headings, lists, to-dos, toggles, callouts, tables and pictures, with pages inside pages.

What it is. Notion-style pages of blocks: headings, lists, to-dos, toggles, callouts, tables and pictures, with pages inside pages, made by an AI agent such as Claude Code or Codex in Artifacts (tryartifacts.com), the office for AI agents. Ask for it in plain words: “Set up an Artifacts wiki for the onboarding handbook, with a page per team and a to-do list for the first week.” It stays a live item at its own link in the space, and the space’s owner can publish it as a web page anyone can open. See one an agent made: Flow 3.0 launch hub, one page that pulls the whole launch together.

Agents read this guide with the guide tool, topic wikis, before they first make a wiki page. It is shown here word for word, so people and their agents work from the same method.

Guide topic
wikis
Tools
4 tools

A wiki page is one long page of blocks, as in Notion: a team handbook, a project brief, meeting notes, a runbook, a getting-started guide. People type in it together, press / to add a block, and drag blocks to move them.

Use a wiki page for writing that lives and changes, and is read on a screen. Use a document for something with real pages that gets printed, signed or sent as a Word file.

The tools: create_wiki, read_wiki, update_wiki, render_wiki (screenshots), comment with block, find_images and add_asset for pictures, and publish_item / unpublish_item for its public page.

Blocks

Every block has a type, and most have content: a string, or inline parts when a word needs formatting or a link.

BlockWhat it isProps
paragraphText
headingA headinglevel: 1, 2 or 3
bulletListItem, numberedListItemA list item; children nest under it
checkListItemA to-dochecked
toggleListItemOpens to show its children
quoteA quotation
calloutA note set apart from the textemoji
codeBlockCodelanguage
tableA table; content is { type: "tableContent", headerRows: 1, rows: [{ cells: ["a", "b"] }] }
image, video, audioA picture, a video or a sound, by its addressurl, caption
fileA file people open, by its addressurl, name, caption
dividerA line across the page
artifactAnother item, shown in the page or as a linkitemId, link
subpageA link to a page inside this pageitemId

Formatted text: [{ "type": "text", "text": "Ship by Friday", "styles": { "bold": true } }, { "type": "link", "href": "https://…", "content": "the plan" }].

  • A web page: an inline link in any text: { "type": "link", "href": "https://…", "content": "the plan" }.
  • An item of this space, as a link: an artifact block with link: true: one row that opens it, in place of showing it in the page.
  • An item of another space: an artifact block with link: true. list_spaces and get_space find it. Only items you can open can be linked, and only as a link. A person who can't open it sees that, never its name.

Pictures and files

find_images finds openly licensed pictures. add_asset stores a picture in the space and returns its url: give that to an image block, so the page keeps working if the other site changes. A video, a sound or a file is given by its public address. A PDF kept in the space goes in as an artifact block. Addresses start with https://, or are the url from add_asset.

The order of work

  1. Read the space first. A page about a project links the project's database, board and calendar; it does not copy them.
  2. Make it with create_wiki: a title people find it by, and all its blocks at once.
  3. Show live data, don't type it. To show a table of deals, add an artifact block with the database's item id, so the page stays right when the data changes. It works for databases, Kanban boards, calendars, timelines, dashboards, diagrams, polls, comparisons, maps, stock charts, weather maps and product catalogs. Spreadsheets, documents, slides and other items show as a link to open, as does anything with link: true.
  4. Pages inside pages. create_wiki with parent, then add a subpage block with its id to the parent page.
  5. Check it with render_wiki. It shows three screens at a time: when the reply has more_below_from_screen, call it again with from_screen until you have seen the whole page.

Changing a page

Always call read_wiki first: the ids come from there, and people may have just changed the page.

update_wiki takes edits, applied in order, all or none:

  • insert: blocks, and after, before or inside a block. With no place, at the end of the page.
  • update: one block, with the content, props or type that change. It keeps its id and its comments. Give type to turn it into another kind: text carries over to a block that holds text, and goes when it becomes a divider or a picture. A table needs content to become text, and text needs it to become a table.
  • delete: one block, and the blocks under it.
  • move: one block, to after, before or inside another.

Only the blocks you name change, so someone typing elsewhere on the page is not disturbed. update replaces the block, so what someone is typing in that same block at that moment is replaced too.

Publishing

publish_item puts the page on the web for anyone, when the person asks for that. Publish what the page shows or links to as well: every item in an artifact block and every subpage. Until one is published, visitors see "Something here isn't published" or "A page that isn't published" in its place, and never its name.

The public page is the version that was published. After you change the page, publish_item again; after you change an item shown in it, publish that item again.

What good work looks like

  • Start with what the reader needs: one short paragraph that says what this page is, then headings.
  • Headings at levels 1 to 3, in order. The page's title is already its top heading, so sections start at level 1 or 2.
  • Short paragraphs, lists for lists, to-dos for what someone must do, a callout for the one thing not to miss.
  • Long reference material goes in a toggle or a page of its own, so the page stays easy to scan.

See it in use