---
id: 16600
lang: en
title: "SlideCraft AI agent builds editable slide decks from 73 ready-made templates"
published_at: "2026-10-29 08:00:14"
source_name: "Habr AI"
source_url: "https://habr.com/ru/articles/1101004/?utm_campaign=1101004&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/16600"
categories: ["llm", "autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# SlideCraft AI agent builds editable slide decks from 73 ready-made templates

> **Краткая суть (BLUF):** Neural networks make image-based slide decks where you can't fix a single number, or slides with nine theses in tiny print. Denis Ermilov built SlideCraft, an agent that agrees on headline-conclusions and assembles a standard PowerPoint (.pptx) file from 73 templates: slide layouts with preset text limits. To make line breaks match PowerPoint, the author measured the editor himself. The takeaway: for office files, font metrics alone aren't enough; you need to check against a render.  • The check caught an error: the total is $69K, but the line items add up to $67K • PolyForm Shield license: free for yourself and your clients, not for competitors • Strong models build the argument, fast ones lay out slides and trim text

Anyone who has asked a neural network to make a presentation knows the result: a slide titled "German Market," nine theses, and text shrunk to unreadable size. Or a pretty picture in which you can't change a number on a chart. Denis Ermilov, who spent twenty years in B2B fintech, approached this problem as an engineer and released SlideCraft. It is an agent that turns a task description into a standard PowerPoint (.pptx) file with live text, tables, and charts. It assembles slides from 73 templates: ready-made layouts, each with predefined data inputs and a set text capacity. The number 73 refers to version 0.8.0.

## The argument first, the design second

SlideCraft starts not with design but with a question: who will see the presentation, and what decision must they make? The agent then proposes a sequence of headline-conclusions. If you read only the headlines, they should form a coherent argument. The author's example shows the difference: "German Market" allows vague generalities, while "Entering Germany now yields €40 million by 2028" forces you to show the calculation.

The process has four checkpoints: agreeing on the task, choosing the design (the agent shows two or three cover options), reviewing the structure, and accepting the result. Every number needs a source, and illustrative data is labeled as illustrative. If text doesn't fit a template, the system reports how much to cut. Shrinking the font is not allowed.

Inside, the presentation consists of ordinary files: a brief, a deck.yaml with headlines and data, and a separate folder of sources. There are 14 argument-structure schemes and 7 visual themes. From a general description of the scene, the engines produce PPTX, vector PDF, and HTML. The file itself is created by the PptxGenJS library.

Model roles are split by cost and task. A strong model builds the argument and performs the final review. Faster models prepare individual slides in parallel and trim text. In Claude Code, these are Opus, Sonnet, and Haiku.

## Why font metrics turned out not to be enough

The hardest part was unexpected. The same headline fit on one line in HTML but wrapped onto another line in PowerPoint. One such shift breaks a slide: a caption runs into a chart, a table grows, and the last row spills out of its box.

The author calibrated the engines against PowerPoint for Mac version 16.113.4 and derived several rules:

- Each character's width is rounded to steps of 1/576 inch, and kerning (adjustment for letter pairs) is calculated separately. Without this, words in HTML drifted by up to 1.4 pt; after calibration, the average discrepancy was 0.09 pt across 8,300 words;
- Glyph sizes are rounded to whole points. Before the fix, glyphs in HTML were 1–4% larger; after it, a check across 2,196 lines found no size discrepancies;
- Baselines are snapped to whole points, and the line break after a hyphen between letters surfaced only during visual inspection.

The author notes these are separate measurements, not a guarantee that the entire layout matches. Differences remain at glyph edges and in chart labels. That's why the final result is checked visually, rendered by the office application itself.

## What gets checked after assembly, and what broke

Automated checks verify whether text fits, whether numbers have sources, whether contrast is sufficient, and whether figures agree across slides. The author deliberately planted an error in the demo budget, and the check catches it: "total is $69K, but the line items add up to $67K." Then a reviewer model examines the rendered slide images and finds what isn't visible in valid YAML: an overlapping caption, a poor line break, a source lost against a dark background.

Test runs produced their own lessons. ChatGPT in agent mode built a five-slide presentation, but the source check counted the labels "Step 2" and "Week 4" as facts, and Chrome failed to start in a Linux container. These fixes shipped in version 0.7.5. Another defect turned up in pptxgenjs 4.0.1: the library declared a master slide for every slide in [Content_Types].xml but wrote only the first one. In a 12-slide presentation, there were 11 declarations for nonexistent parts. PowerPoint opened such a file, but other programs could choke on it. SlideCraft now removes the extra declarations and verifies that the remaining parts of the document are in place (version 0.7.7).

## Launch, video, and limitations

The Product Hunt launch on October 18 was prepared by the author without a team or budget, delegating the work to agents. The one-minute video was assembled in code: a script in YAML, figures from a separate facts file, voiceover by the local Kokoro-82M model (Apache-2.0), and frames rendered by headless Chrome. Whisper transcribes the finished audio track, and the text is checked against the script. This is how they caught "edible" in place of "editable": in the voiceover, the editable PowerPoint had become edible.

You can try it via npx @eiler2005/slidecraft, as a Claude Code plugin, as skills for Codex, or as an MCP server in Claude Desktop, Cursor, and VS Code. You need an assistant that can execute code: a regular chat can draft the text, but it won't build the file. The PolyForm Shield license (source-available) allows free use for making presentations for yourself, your company, and your clients, but prohibits using the code in a competing product.

The reference environment is PowerPoint; in Keynote and Google Slides, elements may look different. A link next to a number doesn't make it correct, and a sum that adds up doesn't prove the budget is realistic. A person is responsible for the argument.

For agent developers, the takeaway is practical: if the output must open in someone else's program, checking markup isn't enough. You need to measure how that program actually behaves and compare the final render against it.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/articles/1101004/?utm_campaign=1101004&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/16600
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
