Your agent writes the slides. Your team reviews them. Your agent fixes them.
Peitho is an open source review loop for decks written by coding agents. Reviewers comment right on the deployed slides, like in Google Slides. You tell Claude Code or Copilot “fix deck 1”, and a new version is live for everyone.
Agents write a deck in seconds. Feedback still takes days.
Coding agents are great at slides as code: HTML, Markdown, a few prompts and the talk is ready. Then the review starts, and the loop breaks.
Scattered feedback
Comments arrive in chats, emails and annotated screenshots, each one about “the slide with the chart”.
Re-prompting by hand
You copy every remark back into a prompt and explain where it applies. Again, for every round.
Outsiders left out
Clients and partners can't open your repo or your agent. They can only send a PDF back.
Which version?
Files called final-v3-really-final. Nobody knows what was fixed, by whom, or why.
Peitho puts the comments on the slides, gives them to your agent, and puts the fixed deck back in front of everyone.
One loop, six steps, played for real.
Every screen below comes from a real run: the demo deck, two reviewers, and an agent working through MCP. Click a step, or let it play.
--- title: Peitho, déesse de la persuasion theme: fresco --- <!-- layout: big-number --> <!-- id: chiffre --> # 3 leviers, un seul objectif : convaincre --- <!-- id: boucle --> ## La boucle de revue 1. L'agent écrit le deck et le publie sur le serveur 2. Les relecteurs commentent ou éditent le rendu
Plain Markdown with --- between slides. Layouts and stable slide ids are HTML comments, so the file stays readable and diff-friendly.
$ peitho lint slides.md slides.md: no issues (8 slides) $ peitho publish -m "First draft" Published deck 1 version 1: https://slides.example.com/d/1 $ peitho build slides.md built dist/index.html (8 slides, theme fresco, 27 KB)
The server keeps every version. The same Markdown also builds to a single self-contained HTML file you can email, print to PDF or open on a plane.
Reviewers press C, click a title, a bullet or an image, then comment or rewrite the text. Every element has a stable data-sid, so feedback stays anchored across versions.
> fix deck 1 ⏺ peitho · get_feedback (deck: 1) ⎿ 2 open comments, 1 pending edit cover edit “…et l’outil de slides qui porte son nom” · Sophie chiffre “Name the three levers under it” · Sophie fin “Add the repository link here” · Karim ⏺ Update slides.md (+5 −2) ⏺ peitho · publish_deck (deck: 1) ⎿ version 2 published ⏺ peitho · resolve_comment ×2 ⏺ peitho · set_edit_status applied All three points are fixed in version 2 and every thread is answered.
The MCP server gives the agent the comments grouped by slide, with the Markdown and line of each slide. It works with any MCP client: Claude Code, GitHub Copilot, Codex…
Same link, version 2 for everyone. Each thread says what changed and in which version it was resolved. Text edits are marked applied.
Set PEITHO_WEBHOOKS to a Slack or Google Chat webhook (or any URL, with signed JSON). These messages are the events of the real run above.
Drag to see what one prompt changed.
v1 · reviewedv2 · fixed by the agent
The whole loop, narrated.
A short explainer with voice over and captions, built in plain JavaScript: share the link, it plays in any browser.
Open it on its own page: mmornati.github.io/peitho/video
Slides as code, reviewed like a document.
Markdown in, one HTML out
A Markdown dialect close to Slidev and Marp, with layouts, two columns, big numbers, quotes, code and notes. The output is one self-contained file that works offline.
Review on the real slides
Comment on any element, propose text edits, reply, resolve, reopen. Comments are anchored to stable ids (chiffre.h1) and survive new versions.
An MCP server for your agent
get_feedback, publish_deck, reply_comment, resolve_comment… plus a fix_deck prompt. Your agent fixes locally or straight on the server.
SSO and roles
OpenID Connect with Google Workspace, Entra ID, Okta or Keycloak. Owners, editors, commenters and viewers per deck. MCP clients sign in with OAuth 2.1, as you.
Notifications
New comments, agent replies, resolutions and versions go to Slack, Google Chat, or any endpoint as signed JSON.
Self-hosted, small
One Go binary or a distroless Docker image. Files by default, PostgreSQL for several instances. Compose example with HTTPS included.
brand:
primary: "#0B5FFF"
For every deck that has to convince someone.
Consultants and sales
Client proposals reviewed by the client, at the client's pace, without sending files back and forth.
Engineering talks
Conference talks and tech reviews written next to the code, with comments from the team before the big day.
Leadership updates
Quarterly reviews where five people comment the same night, and the agent folds it all in by the morning.
Teaching and training
Course material that colleagues and students correct directly on the slide, version after version.
What Peitho is not.
Not a hosted service
You run the server. Decks, comments and accounts stay on your machines; nothing calls home.
Not a WYSIWYG editor
The source of truth is Markdown in your repository. Reviewers suggest, the agent (or you) applies.
Not tied to one agent
Anything that speaks MCP can drive it: Claude Code, GitHub Copilot, Codex, your own scripts. The HTTP API is documented too.
Not a black box
Every manual edit, reply and version is kept, so the agent follows your lead and you can see who changed what, and why.
Running in three commands.
1 · Write
Install the CLI and start from a deck that shows every layout.
go install github.com/mmornati/peitho/cmd/peitho@latest peitho new my-talk --theme agora peitho build my-talk/slides.md
2 · Share
Start the review server (or the Docker image) and publish.
peitho serve
peitho publish my-talk/slides.md
# or: docker run -p 8790:8790 ghcr.io/mmornati/peitho3 · Fix
Connect your agent once, then just ask it.
claude mcp add --transport http \
peitho http://127.0.0.1:8790/mcp
# then, in Claude Code:
> fix deck 1Next: the deck format, themes, review and MCP, SSO and roles, deployment.