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.

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.

More work

Other projects

All projects →
AI / Tooling

Fruit Ninja Adventure — AI Level Creation Pipeline

70–80% faster level production

Automated Unity level authoring pipeline that reduced level production turnaround from 15 days to 1–5 days through procedural curve balancing and designer tools in C#.

  • Unity
  • C#
  • Editor Scripting
  • Procedural Algorithms
.NET Desktop

WinUI 3 Desktop Launcher & Office Add-in IPC Platform

JSON-RPC 2.0 over named pipes

Centralized WinUI 3 desktop platform orchestrating independent .NET 9 PowerPoint and Excel add-ins via JSON-RPC 2.0 named pipes IPC and FastAPI licensing.

  • .NET 9
  • WinUI 3
  • C#
  • WPF
Unity / Games

WINNDER — Real-Money Competitive Gaming Platform

Real-time competitive mobile multiplayer

Real-money competitive skill gaming platform built in Unity and C#, featuring deterministic gameplay, Firebase synchronization, and ASP.NET Core APIs.

  • Unity
  • C#
  • ASP.NET Core
  • Firebase