I give a few talks a year, and I prepare a lot more decks than that: for clients, for colleagues, for meetups. In the last two years, the way I make them changed completely, three times. AI made each version faster. But one problem followed me through all three, and it got worse each time: changing a small thing, and hearing what others think of it.
This post is the story of those three steps, of what I found when I looked at whether it was only me, and of the tool I built to fix it: Peitho, now at v1.1, with a website, documentation and a narrated video.
1. Three ways I made slides#
Step 1: Google Slides, by hand#
For years my decks were Google Slides. I had full control and it was easy to share: colleagues opened the link, left a comment on a box, I fixed it. The collaboration part was actually very good.
The cost was time. Most of the work wasn’t the content, it was the layout: aligning boxes, fixing fonts after a copy-paste, rebuilding the same diagram for the fifth time.
Step 2: the AI generators#
Then the generators came. Gemini Canvas builds a deck from a prompt or a document and exports it to Google Slides (October 2025). NotebookLM turns your sources into a slide deck. Gamma, Beautiful.ai, Copilot in PowerPoint: they all do “prompt in, deck out”. And the first draft is impressive, every time.
The problem starts with the second draft. You like the deck, you only want to sharpen one sentence on slide 4. So you ask. And the AI gives you back a new slide 4, with your sentence changed, but also a different title, another image, a bullet that disappeared. With NotebookLM it’s even more visible: since February 2026 you can write a request per slide, but then you press “Generate revised deck”, and the whole deck is generated again. There’s no manual editing: to fix a typo you go back through the AI. And the PowerPoint export gives you slides that are images, so you can’t fix the text there either.
So every small change meant reading the whole deck again, checking what else had moved, and deciding whether to accept the new version or keep the old one. It was frustrating in a way that’s hard to explain until you live it: it wasn’t our presentation anymore. It was the AI’s presentation, and we were reviewing it.
Step 3: HTML decks, written with a coding agent#
With Claude Code, the Copilot app or Codex, more and more of my work happens in one place, and the wish to stay there, even for a presentation, is strong. But the most important reason is another one: the content of my slides is usually already there. The code I want to show, the data, the numbers, the connection to the services I work with: the agent can read all of it. For building a deck from that material, it does a better job there than anywhere else.
What didn’t work was the last step. When the agent pushed that content into a standard tool like Google Slides, the result was average: generic layouts, text that overflows, a deck I had to fix by hand anyway. So I asked for something else: single-page HTML decks. One file, slides in HTML and CSS, a bit of JavaScript for the keyboard, the overview and the speaker notes. Easy to make, light, and easy to share: a link or a file, nothing to install.
This is where AI really works for slides, and I think the reason matters: the output is fully under control. The agent doesn’t drive a visual editor through an API, it writes text that I can read, diff, version in git and change myself. The theme is a CSS file. The structure is visible. If I don’t like a sentence, I can open the file and change it. The deck was mine again, and it was made faster than ever.
And then the wall#
Until the deck had to change.
For a small fix, I still had to go back to the agent and describe in words which element I meant: “the second bullet on the slide about heart rate, not the title, the one under the chart”. The agent sometimes found it, sometimes changed the neighbour, sometimes rewrote more than asked. Better than step 2, but the same problem, in smaller.
And the collaboration from step 1 was gone completely. A colleague who wanted to give feedback had no place to put it: screenshots in Slack with a red circle, a message saying “slide 12, the number looks wrong”, an email with five points that I had to turn into prompts. Then I had to send a new file and they had to look for what had changed.
That’s the same shape as the one I described for code in Graft and Ichnos: once the agent makes the writing fast, the slow part is everything after it. For slides, that’s precise edits and feedback from other people.
2. Is it just me?#
Before writing any code, I wanted to know whether this was my problem or everyone’s. The short answer: everyone is making creation faster, almost nobody works on what comes after.
The “prompt to deck” market is booming. Gamma passed $100M in annual revenue while profitable and raised at a $2.1B valuation in November 2025. Beautiful.ai raised $45M in March 2026. Google Slides now generates native decks with Gemini, Anthropic launched Claude Design in April. Not everyone made it: Tome shut down its slides product in April 2025.
Slides as code caught up with agents too. Slidev, close to 50,000 stars on GitHub, now ships official agent skills and its own MCP server. reveal.js and Marp are still very active. So “an agent can write my slides” is no longer a feature. It’s the baseline.
The pain I described is documented. An academic user study from June 2026, ECHO, lists exactly the problems of step 2 and 3: edits only work at the level of a whole slide, so a small request regenerates content the user had already approved; one unexpected change breaks trust in the whole slide; and describing the target in words (“the blue box below the chart”) often hits the wrong element. A paper from September, ReDeck, proposes to split revisions into small, atomic edits checked against the rendering.
And the cost is real. Stanford’s Social Media Lab and BetterUp named it “workslop”: AI-generated work that looks good but pushes the real effort onto whoever receives it. AI slideshows are explicitly in it. 40% of the 1,150 workers surveyed had received some in the previous month, and each case cost them about two hours.
So the gap is clear. Tools compete on the first draft. The loop that follows, feedback on a precise element, a targeted fix, a new version everyone can see, is still mostly done by hand.
3. Peitho#
First, the name (yes, Greek again)#
After Horae, Angelia, Paeon and Ichnos, you know the habit.
Peitho (Πειθώ) is the Greek goddess of persuasion, of the speech that convinces. She often travels with Aphrodite, and orators called on her before speaking. Her name is the root of the verb peithein, to persuade. Aristotle didn’t make her a goddess, but his Rhetoric gave her three tools: ethos (the credibility of the speaker), pathos (the emotion of the audience) and logos (the logic of the argument).
That’s what a deck is for. And it’s why the demo deck in the repository is about her.
The need, written before the code#
I started with a message to Claude: I make more and more slides in JavaScript, commenting on them or fixing a text means going back to my prompt, and when feedback comes from someone else the collaboration is broken. Does an open-source tool already do this? Let’s do the market research and settle the need together before coding.
A few back-and-forths later, the decisions were made:
- Format: Markdown. Structured, readable, easy for an agent to edit, and it can still be built into one single HTML file.
- Many people, not just me: access through SSO (OpenID Connect, SAML, Google Workspace).
- The fix happens when someone asks for it. Colleagues review, then someone says “fix deck 123” in Claude Code or Copilot. If it’s me, I ask in the same session and keep the context; if it’s someone else, the agent works from the comments alone. Manual edits stay traced, so the agent can follow them. The flow is Google Slides’ flow, with an agent at the end.
- Language: Go, for a single binary. Licence: Apache 2.0.
- Design systems, so anyone can add their own look and pick one in one line.
One small exchange I like: the first plan proposed to spend a week testing two existing open-source frameworks. I asked why, since it didn’t fit what we were building. We dropped it. Knowing the market is useful; copying its shape is not.
How it works#
Markdown in, one HTML file out. A deck is a slides.md: slides separated by ---, layouts and notes in HTML comments, so the file stays readable. peitho build gives a single self-contained HTML file: CSS, JavaScript and images inside, it works offline, opens in any browser, and prints to PDF.
A stable id on every element. This is the core of the whole thing, and the direct answer to steps 2 and 3. Every block of every slide gets a data-sid, like results.p2 for the second paragraph of the slide results. A comment doesn’t describe an element, it points at it. The agent doesn’t have to guess which bullet you meant, and it has no reason to touch the others.
Review on the deployed deck. peitho serve runs the review server, peitho publish sends a new version. Reviewers open the link, press C, click any element, and leave a comment or fix the text directly. They see who else is on the deck and on which slide, like in Google Slides.

The agent closes the loop over MCP. Peitho is also an MCP server. In Claude Code (or Copilot, or Codex), you say “fix deck 1”. The agent calls get_feedback, which returns the open comments and pending edits grouped by slide, with each slide’s Markdown. It changes the source, publishes version 2, and answers every thread with what it did: resolve_comment when it’s done, reply_comment to ask when a comment is unclear.

You see exactly what changed. This is the part that closes the frustration of step 2. Every version is kept, and the changes view compares any two: slides side by side with the changes outlined, a word diff, a Markdown diff, and the feedback linked to each change. For changes the text can’t show, a theme or a style, an overlay lays the new rendering over the old one (difference, fade, swipe). If the agent touched something nobody asked for, it’s visible in seconds.


Design systems, in one line. The Markdown never contains styles. theme: agora (business, sober), nyx (tech talks, dark, monospace) or fresco (keynotes, serif, big images). Add your brand with brand: (colors, font, logo), or write your own theme with design tokens that extends: a built-in one. peitho themes preview shows the same deck in every theme.
Made for agents from the start. peitho new writes an AGENTS.md next to the deck, there’s a Claude Code skill, peitho lint --json reports what makes a deck hard to review (hard-coded colors, dense slides, missing images), and an existing Slidev deck builds as it is.
And for a team: SSO with OpenID Connect, SAML 2.0 or GitHub, roles per deck (viewer, commenter, editor, owner), OAuth on the MCP server with the same SSO, Slack or Google Chat webhooks, email digests, a Docker image and PostgreSQL storage.
How it was built#
Peitho was written with Claude Code, in small versions. Each one had to be usable on its own, and I tried each one myself before going further:
| Version | What it added |
|---|---|
| v0.1 | the Markdown format, the single-file HTML, three themes, the CLI and the linter |
| v0.2 | the review server, the review widget and the MCP fix loop. The first thing I did with it was run the whole loop as a user: a comment, “fix the deck”, version 2 |
| v0.3 | SSO with OpenID Connect, roles per deck, OAuth on the MCP server, Docker, PostgreSQL, webhooks |
| v1.0 | diffs between versions and the pixel overlay, Slidev input, SAML, email digests, live review, and a stability promise for the deck format, the ids, the CLI, the API and the MCP tools |
| v1.1 | GitHub sign-in, and a full review of access rights |
Today that’s about 15,000 lines of Go, 4,500 of them tests. CI runs lint, unit tests on Linux, macOS and Windows, fuzzing on the parser, govulncheck, CodeQL, and Playwright end-to-end tests in Chromium, Firefox and WebKit.
The video#
As for Ichnos, the video isn’t a video file: every frame is drawn in JavaScript on a canvas, over a synthetic voice (how it’s made). It walks through the whole loop: writing the deck, the review, “fix deck 1”, the new version for everyone, and the notification.
Press Play (sound on). Open it on its own page. English only.
4. An honest look#
Others had the same idea#
When the research came back, I was a bit surprised: the pattern “comment on an element, the agent fixes it, the agent answers” is spreading fast, and Peitho is not alone.
| Project | What it does | The difference I see |
|---|---|---|
| Decks | HTML decks with their own git history; you comment under a slide, Claude Code or Codex edits it and replies | the closest in spirit; runs locally, comments per slide |
| deckmark | click any element, the comment captures its selector; the agent reads annotations over MCP and edits the Markdown | very close in concept, very young |
| Maple | comments on deployed previews of web apps, readable and resolvable by agents over MCP | not about slides, same loop |
| Slidev | agent skills and an MCP server to write and edit decks | writing, not review |
Where Peitho tries to go further: a shared server with SSO and roles, so the reviewers don’t need anything installed; versions with text, Markdown and pixel diffs; stable ids built into the format; and a stability promise for 1.x. I’m basing this on what these projects describe, not on long tests of each one. If you use one of them, I’d like to hear how it compares.
I find it a good sign, actually. When several people build the same thing at the same time without knowing each other, it usually means the need is real.
Limits#
- A young project. Peitho has its tests and its CI, but no user outside me yet. The 1.x promise is a promise, not a track record.
- You need a server to collaborate. The HTML file works alone, but the review needs
peitho servesomewhere your colleagues can reach (Docker, Compose with HTTPS, a Coolify guide in the docs). - Only text is edited inline. Reviewers can comment on anything, but direct edits are text only: no moving an image or changing a layout in the browser. That goes through a comment and the agent.
- Live, but not co-editing. You see others and their comments in real time, not their keystrokes. It’s a review tool, not Google Slides.
- The agent still needs a reader. The diffs make it fast to check, but someone should check.
5. Try it#
go install github.com/mmornati/peitho/cmd/peitho@latest
peitho new my-talk --theme agora # a starter deck showing every layout
peitho build my-talk/slides.md # -> my-talk/dist/index.html
peitho serve # review server on http://127.0.0.1:8790
peitho publish my-talk/slides.md # version 1, prints the review URL
claude mcp add --transport http peitho http://127.0.0.1:8790/mcpOpen the link, press C, leave a comment on an element. Then, in Claude Code: “fix deck 1”. To see the whole loop on a ready deck, publish the demo in examples/demo. Everything else is on the website and in the documentation.
AI made my slides fast in step 2, and took them away from me. Step 3 gave them back. With Peitho, I’m trying to keep them mine and let other people in: the agent does the work, but only on what someone pointed at, and every change stays visible.
