What happened
For his HalfStack Vienna talk (16 Nov 2026), Paul has been building a slide deck with an agent, on a small homegrown presentation layer. Partway through he noticed that this layer is what Oficina Slides wants to be. This thread records what that layer does, so an agent can bring the good parts into Slides.
The deck lives on docs-t1 at ~/github.com/carlosframework/halfstack-vienna-build, on branch build-deck. It's a local repo with no remote yet, and its design and plan are under docs/superpowers/. The live version is at https://halfstack-vienna.bdj.oncarlos.com, deployed as a static CARLOS app.
What the deck layer does today
Each of these has been built, reviewed by Astra, and covered by tests in real Chromium.
- Slides as data plus layouts. Copy lives in a strings file
{id, section, label, text, context}. Python act modules compose slides from a small set of layouts: statement, quote, items, media, a grid, diagrams and terminal panels. The build step outputs one static index.html with local media and fonts. - Builds and steps. A slide can have several steps. Forward reveals the next one, and back undoes it. On top of steps the deck has a FLIP grid where apps fly in full stage and then slot into a wall, letter-morph reveals, accumulating lists and colour-flush reveals.
- Core and full modes. Slides marked optional appear only in full mode, so the same deck runs to 25 minutes or 40.
- Presenter view. It opens in a second window and shows the current slide, the next slide or step, the notes, a timer and a clock. Either window drives both, offline (BroadcastChannel plus a localStorage fallback, ordered by a Lamport clock with a sender tie-break). It works with a clicker and has a black-screen key.
- Rehearsal mode. A small server serves the deck over the tailnet. In the presenter view, Paul clicks any slide text or note and types, and saves go straight to the source strings and trigger a rebuild. A save that fails becomes a draft: it's retried, and the deck won't reload until it's saved or discarded. Each slide has a request box (Cut, Move, Make optional, or free text) that an agent acts on, replying in the thread. A phone layout works as notes plus remote. Every edit goes into a history log.
- Check mode. The deck checks itself in headless Chromium for overflow at four projector sizes, text under 30px, external requests, step replay and video state.
- Video sequences, an offline zip, and a copy review pass on every string.
What Slides would add
- A real editor. That includes WYSIWYG notes. The deck's notes are plain text, so an italic like nice can't survive editing in place.
- The CRDT document Slides already has, so several people can edit at once without the deck's single-writer
strings.json. - Layouts as data, not code. This matters most for agents (see below).
Agents and MCP
Paul asked whether a smaller model could make the kinds of change he made during rehearsal, or whether that's just MCP. MCP is the plug. What a model can do depends on the tools it's given and on the model itself. The deck's change requests sort into three tiers:
- Rewording, reordering, cutting, marking optional. Any decent model can do these through good tools, including a local one. A lot of it needs no model at all once Slides has WYSIWYG editing.
- New slides from existing layouts, such as quotes, statement runs, lists and step sequences. A mid-size model can do these reliably, if Slides models layouts as data an agent can fill.
- Bespoke animations and diagrams, with every claim checked against a source. This took a frontier coding agent with tests and a cross-model review. Leave it to "ask a coding agent".
So the suggestion for #25's MCP surface: alongside list, get and create, expose verbs built around a layout library. Examples are add-slide-from-layout, set-string, move, make-optional and add-step, plus the request and reply loop from rehearsal mode.
Suggested next step
Start an agent on Slides that reads the deck's engine and rehearsal mode and then proposes, in a spec, which parts to bring into Slides' architecture: presenter sync, steps and builds, rehearsal editing, check mode and the layout library. It should do this without disturbing #25. The deck itself stays as it is until after the talk on 16 Nov.