Generative AI Web App
AI Pitch Deck Generator
Full-stack AI app that turns a few sentences about a startup idea into a 5 to 8 slide pitch deck, written by one AI agent, approved by another and drawn as whiteboard-style slides.
Overview
What the product does
Describe a startup idea in a few sentences and get back a structured pitch deck covering the slides investors expect: problem, solution, market, business model and the ask. A generator agent writes the deck, an independent reviewer agent checks it, and each slide is drawn as a whiteboard-style image that can be presented right in the browser.
Problem
The problem it solves
Founders spend days turning a rough idea into a pitch deck: structuring the story, writing each slide and finding visuals. Generic AI chat tools produce walls of text that still have to be reorganised, checked and designed by hand.
My role
What I contributed
Solo developer: design, frontend, backend, the multi-agent AI pipeline, background jobs and the database.
Solution
How the system was designed
One paragraph in, a complete deck out. A Next.js Server Action validates the idea and saves a pending deck, then a durable Inngest workflow runs the pipeline step by step: the OpenAI Agents SDK generates the deck as schema-checked JSON, a reviewer agent approves or blocks it, gpt-image-2 draws each slide and ImageKit hosts the images, and the finished deck is saved to PostgreSQL on Neon through Prisma.
Architecture
System architecture
Key features
What it does in practice
A generator agent on GPT-5.5 writes the deck and a separate reviewer agent on GPT-5.4-mini scores it against a rubric. The deck is only shown once the reviewer approves it.
The agent's response must match a strict Zod schema: 5 to 8 slides, each with a title, content, key message, highlight and image prompt. The UI never has to parse free text.
Each slide is drawn by gpt-image-2 as one whiteboard-style image holding the title, key message and illustration, then hosted on ImageKit.
Generation runs as an Inngest workflow with one step per stage, so a failed image is redrawn on its own. Concurrency (3 decks at a time) and throttling (30 per hour) keep AI costs bounded.
A slide canvas with a thumbnail rail, speaker notes, keyboard and swipe navigation, and a full-screen Present mode with a Spotlight effect that dims everything except the area under the pointer. Status moves live from Queued to Generating to Ready, with Try again if generation fails.
Email and password sign-in with Better Auth, a My decks dashboard listing every deck you've created, and Light, Dark and System themes.
Challenges
The interesting engineering problems
Technology
The stack behind it
- Next.jsReact Framework
- OpenAI Agents SDKMulti-Agent Workflows
- OpenAILLMs & Embeddings
- InngestDurable Background Jobs
- PostgreSQLRelational Database
- NeonServerless Postgres
- Prisma ORMType-Safe ORM
- Better AuthAuthentication
- ZodSchema Validation
- ImageKitImage Hosting & CDN
- ReactFrontend UI
- TypeScriptType Safety
- Tailwind CSSStyling System
- Shadcn UIComponent Library