# Slides

A slide deck, presented live.

**What it is.** A slide deck, presented live, 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: “Make a ten-slide Artifacts deck for the board meeting from the Q3 results sheet, with a chart on the revenue slide.” From its **More** menu it downloads as PowerPoint (`.pptx`) or PDF, one page per slide. See one an agent made: [FY2027 sales kickoff](/p/northwind-sales-kickoff), a ten-slide deck with charts and tables.

> Agents read this guide with the `guide` tool, topic `slides`, before they first make a slide deck. It is shown here word for word, so people and their agents work from the same method.

| | |
| --- | --- |
| Guide topic | `slides` |
| Tools | [23 tools](/docs/reference/slides) |

An Artifacts deck is a real presentation, made with DeckCraft (an open-source PowerPoint): slide masters and
layouts, themes, text boxes, shapes, pictures, tables, charts, speaker notes, transitions and animations.
People open it in Artifacts as they would in PowerPoint (slide list on the left, the slide, the ribbon),
edit it together live, present it full screen, comment on a slide or a shape, and download it as
PowerPoint (.pptx) or PDF. You see each slide as the audience will with `render_slides`.

The tools:
- `create_slides`: a title slide, a whole outline, or a .pptx file.
- `read_slides`: every slide with its shapes, their ids, boxes and text.
- `slides_*`: DeckCraft's own tools on the deck: `slides_add_slide`, `slides_set_text`, `slides_add_shape`,
  `slides_add_text_box`, `slides_insert_picture`, `slides_insert_table`, `slides_insert_chart`,
  `slides_go_to_slide`, `slides_select`, `slides_inspect_slide`, `slides_inspect_document`, and
  `slides_run_command` / `slides_batch` for any of its 330 commands (`slides_list_commands` lists them).
- `render_slides`: pictures of the slides and the problems on them.
- `slides_undo`: take back your own last change.
- `export_slides`: download links.

**Numbering.** The Artifacts tools (`read_slides`, `render_slides`, `comment`) number slides from 1. DeckCraft's
`slides_*` tools take a slide `index` from 0: slide 1 is index 0. A call that names a shape (`id`, `ids`)
works on that shape's slide; calls that make something new (`slides_add_shape`, `slides_insert_table`…)
put it on the current slide: `slides_go_to_slide` first.

## Order of work

1. Write the storyline first: one sentence per slide, in order. If a sentence needs two slides, it is two ideas.
2. `create_slides` with `outline`: one `# heading` per slide (its title), `- bullets` under it (indent two
   spaces per level). This gives you every slide on the right layout with its text in the placeholders.
3. Add what text alone can't say: tables, charts, pictures, a shape that calls out the key number;
   speaker notes (`slides_run_command` `slide.notes {text, index}`); a theme (`design.theme {name}`).
4. `render_slides`: look at every slide and fix what it lists and anything that looks crowded or unbalanced.
5. Hand it over with the link. People present it with Present (top right of the deck) or Slide Show.

```json
{ "space_id": "…", "title": "Q4 plan",
  "outline": "# Signups doubled after the redesign\n- 4,120 in October, 2,050 in September\n- Most from the new pricing page\n# Three things for Q4\n- Launch in two new regions\n- Hire two engineers\n  - One for payments\n- Cut churn to 3%\n# Next steps\n- Budget review on 4 December" }
```

## Building slides

- `slides_add_slide {layout, title, body}` adds a slide after the current one. Layouts: `title`,
  `titleAndContent`, `sectionHeader`, `twoContent`, `comparison`, `titleOnly`, `blank`,
  `contentWithCaption`, `pictureWithCaption`. `body` is one paragraph per line; leading tabs make sub-bullets.
- Fill a layout's placeholders with `slides_set_text {id, text}` (ids from `read_slides`), so text keeps the
  theme's fonts and sizes. A placeholder left empty shows nothing in the show: fill it or delete it
  (`slides_run_command` `edit.delete {ids}`).
- Boxes are in points: a 16:9 slide is 960 × 540. Keep 40–60 pt margins; align shapes to each other
  (`arrange.align`, `arrange.distribute`).
- Text: `slides_select {ids}` then `format.size {size}`, `format.bold`, `format.color {color}`, `format.align`.
  Colours are `#RRGGBB` or the theme's `accent1`…`accent6`, `tx1`, `bg1`: theme colours change with the theme.
- Tables: `slides_insert_table {rows, cols, data, x, y, w, h}` with the header as the first row.
- Charts: `slides_insert_chart {type, title, categories, series: [{name, values}]}` (column, bar, line,
  pie, doughnut, area, scatter, stackedColumn…). Real numbers only, with their source in the notes.
- Pictures: `slides_insert_picture {url, x, y, w, h}` (a public address; Artifacts downloads it) or `data`
  (base64) with `name`. Find openly licensed ones with `find_images`. Give each picture alternative text
  (`shape.altText {text, ids}`); `render_slides` lists the ones without.
- Themes: `design.themes` lists them (DeckCraft, Harbor, Ember, Meadow, Nocturne, Paper, Coral Reef, Slate);
  `design.theme {name}` applies one to the whole deck, `design.variant {index}` picks its colour variant.
- Transitions: `transition.set {kind, index}` (fade, push, wipe, morph…). Use one kind for the whole deck.
- Several changes in one call: `slides_batch {commands: [{command, params}, …]}`.

## Editing a deck people are working in

People may be editing it now. `read_slides` first: slides move, shapes change, and ids are what stay the
same (a shape keeps its id when slides move; a slide's number changes). Change only what you were asked
to; everyone with the deck open sees your change at once. `slides_undo` takes back your own last change
while nobody has changed the deck since.

## Slides that read as professional

- One idea per slide, and the title states it as a takeaway ("Signups doubled after the redesign"),
  not a topic ("Signups").
- Few words: a handful of short bullets at most, no paragraphs. What you would say goes in the notes.
- Big, readable type: body text 18 pt or more, titles 32 pt or more. `render_slides` flags text that runs
  out of its box; shorten it rather than shrinking it.
- Use the layouts for structure: `sectionHeader` between parts, `twoContent` or `comparison` for
  compare/contrast, `pictureWithCaption` for a point with its picture, `titleOnly` with one big number.
- Real numbers only; unknown ones are placeholders like `[METRIC]`. A chart or a table beats a list of numbers.
- Open with the point, end with the ask or the next steps.

## Checking it

`render_slides` draws each slide as the slide show does and lists, per slide: text running out of its box,
shapes off the slide, empty placeholders, slides with nothing on them, slides without a title, pictures
without alternative text, and text too faint against its background. Fix each, render again, and look at
the pictures yourself: crowded slides, misaligned shapes and unreadable charts are not in the list.

## Comments

People comment on a whole slide, on any element of it (a text box, shape, picture, table, chart), on words
in a text, or on table cells; each is highlighted on the slide. `list_comments` shows the slide number
(when the comment was made), the slide's id, and the shape's id with its words (`quote`) or cells;
`read_slides` gives the slide's current number by its id. Change it, then `reply_comment` and resolve.
To start a thread, `comment` with `slide` (number) and:
- nothing more, for the whole slide;
- `shape` (its id from `read_slides`), for one element;
- `quote` (exact words from `read_slides`; `shape` optional), for words, highlighted where they are;
- `shape` (a table) and `table_cell` `{row, column}` (from 1), for one cell.

## DeckCraft's own instructions

What DeckCraft itself tells an agent, word for word. Here its tools carry the `slides_` prefix and take the deck's `item_id` (`run_command` is `slides_run_command`, `add_slide` is `slides_add_slide`), and Artifacts keeps the file: for `new_presentation` and `open_presentation` use `create_slides`, for `save_presentation` and `export` use `export_slides`, for `render_slide` and `screenshot` use `render_slides`.

DeckCraft is a presentation app (a PowerPoint clone). Coordinates are points on the current slide (y down; the default 16:9 slide is 960×540). Every action is a command: find ids and parameters with list_commands and run them with run_command (or several with batch). Typical flow: new_presentation → add_slide {layout:"titleAndContent", title, body} → add_shape / add_text_box / insert_picture / insert_chart → inspect_slide to read back ids, boxes and text → render_slide to look at the result. Shape ids are looked up on the current slide. An inserted shape is selected; run_command edit.select {ids:[…]} selects others. format.* acts on the selected text or shapes; shape.fill, shape.line and the other shape commands whose parameters list `ids` act on those shapes, else on the selected ones. Save with save_presentation (.deckcraft or .pptx). Backend: headless (in-process engine; no window). Community: https://discord.gg/artcraft (Discord), https://getartcraft.com/apps/deckcraft (app page), https://github.com/storytold/deckcraft (source). The `app.links` command returns these links.

## See it in use

- **Roles:** [AI for financial analysts](/roles/financial-analyst), [AI for lawyers](/roles/lawyer), [AI for sales engineers](/roles/sales-engineer), [AI for marketing managers](/roles/marketing-manager), [AI for logisticians](/roles/logistician), [AI for chief executives](/roles/chief-executive)
- **Articles:** [7 Best AI Presentation Makers in 2026, Compared](/blog/best-ai-presentation-makers), [How to Make Claude Code Create Excel and PowerPoint Files](/blog/claude-code-excel-powerpoint), [Gamma AI Review (2026): Features, Pricing and Alternatives](/blog/gamma-ai-review), [Gamma vs Artifacts: AI Decks or Files Your Agents Make](/blog/gamma-vs-artifacts), [Quarterly Business Review (QBR): Template, Agenda and Example](/blog/quarterly-business-review)
- **Examples:** [24 pages agents made for a sample company](/examples)
