AI Diagram Generation for PowerPoint (.NET 9 & Claude API)
Enterprise PowerPoint AI add-in generating editable process diagrams and flowcharts from plain English using Claude structured outputs and .NET 9 WPF.
- Result
- Claude-powered diagrams inside PowerPoint
- Role
- Backend Engineer, then Team Lead, at Lucen Software
- When
- Jun 2026 – Present
- Area
- AI / LLM
Highlights
- Engineered Claude API structured outputs with JSON schema for deterministic flowchart generation
- Built interactive clarifying-question dialogs for conversational refinement
- Designed React + TypeScript WebView2 bridge to C# WPF and Office COM APIs
- Created automated AI evaluation harnesses that benchmark generation quality and gate releases
- Prototyped MCP (Model Context Protocol) integration exposing add-in actions to AI agents
Overview
AI-powered flowchart and process diagram generation for the next-generation Office Timeline suite. Users describe complex workflows in plain language and receive native, fully editable PowerPoint shapes and connectors, refined conversationally through clarifying questions and interactive previews.
See it in action
1 video · 1 screenshot
Select a screenshot to view it full size; the arrow keys move between them.
The challenge
LLM hallucinations frequently distort topological graph connections, connector routing, and shape hierarchies when generating diagrams from unstructured text.
Enterprise latency requirements and strict Microsoft Office OpenXML/COM shape constraints required diagrams to be 100% syntactically and geometrically valid on every run.
Evaluating non-deterministic generative models required automated testing before shipping updates to enterprise users.
What I built
Engineered an end-to-end diagram generation pipeline using Claude API structured outputs enforced by rigid JSON schemas defining nodes, directed edges, and branch layouts.
Built multi-turn clarifying question dialogs that detect ambiguous process descriptions and confirm logic with the user before rendering.
Designed a high-performance React and TypeScript UI inside WebView2 bridged to a C# .NET 9 WPF backend and COM interop layer.
Developed automated CI evaluation harnesses that benchmark model output quality against canonical diagram test suites before release.
Prototyped MCP (Model Context Protocol) endpoints exposing PowerPoint shape manipulation and timeline actions to AI assistant clients.
Outcome
Allowed enterprise users to generate polished, executive-ready diagrams in seconds instead of hours of manual layout.
Achieved deterministic shape generation with zero geometry syntax failures through JSON Schema validation.
Shipped as a flagship AI feature for the next-generation Office Timeline add-in suite.