ProjectBuild an Agentic Content Studio: the explanation · Module 12: Editing, redo and the editor · part 14 of 22
Part 14 · Module 12: Editing, redo and the editor

Module 12: Editing, redo and the editor

25 min read·
About 50 minutes · Needs: Module 7 (the deck spec and the renderer), Module 8 (the LangGraph pipeline), Module 13 (jobs and live progress, for the redo job) · Code: frontend/src/pages/Editor.tsx, frontend/src/render/editing.ts, frontend/src/render/deckReducer.ts, backend/app/api/routes/projects.py, backend/app/ai/pipeline.py, backend/app/ai/prompts.py

Where this fits

WHERE THIS FITS Slidesmith Studio this module BROWSER React FRONT DOOR AND API nginx, FastAPI BACKGROUND AGENTS LangGraph MODELS Ollama RENDERING Playwright DATA Postgres 17 OPERATIONS evals, Docker, Cloud Run Studio app React pages /render page same renderer nginx proxy, headers Auth sessions, CSRF Brand kit onboarding, uploads Projects deck spec, edits Job runner progress over SSE Research search, facts Strategist outline Designer slide JSON Check fit, else repair LangGraph pipeline state graph, JSON repair Ideas post ideas from pillars qwen3.8:27b Ollama, local GPU Web search Ollama API Chromium render, measure Exports PDF, PNG, ZIP, HTML PostgreSQL users, decks, jobs Uploads disk or GCS Evaluation suites, gate Insights usage, timings Containers Docker Compose Deploy Cloud Run, CI/CD
The editor (blue: this module) lives in the studio app, saves the deck spec through the projects API, and sends one slide back to the designer and the check for a redo.

The agents hand the user a finished deck spec. The editor is where the user takes over: fixing a word, switching from ledger to midnight, moving a slide, or asking the designer to try one slide again. This module covers everything that happens between "your slides are ready" and the export button.

The rest of this project is yours to keep

This project is bought on its own, once, and stays readable afterwards, including the parts added to it later.

Or open everything with a plan