Diagrams, Drawn by Agents: Using DrawingML to Make AI-Generated Charts Editable in PowerPoint
kristoph · x · 2026-11-20
Kristoph shares an engineering deep-dive on getting agents to draw diagrams, building on his earlier video where an agent generated a PowerPoint deck from a conversation.
Why current approaches fail
- Generated images look fine but can't be edited, and labels often aren't quite words
- Diagram languages lay things out their own way and arrive in PowerPoint as flat images
- Long programs with guessed coordinates produce boxes that almost line up and arrows that almost touch
Choosing the pen
Instead of inventing a new drawing tool, the team settled on DrawingML — the drawing language Microsoft spent years building inside Word, PowerPoint, and Excel — so agent-drawn diagrams can be opened, edited, and presented like any other deck element.
More from coding & agent
- TestSprite 4.0 launches as an independent test layer for AI-written code — Tegadesigns · 2026-11-20
- VP of engineering: coding models report like bad direct reports — raw dumps, no TLDR — robleclerc · 2026-11-20
- Lawyer runs full DeepSeek-V4.1-Flash on 12x V100 at 157-184 tok/s, beating DGX Spark stacks — TumbleweedNew6515 · 2026-11-20
- GitHub open-sources Agent Host Protocol for cross-device agent sessions — rseroter · 2026-11-20
- 100% code-driven Blender squirrel film, made for $34.76 — no video gen models — dreamwieber · 2026-11-20
- How Cisco upskilled 1,200 engineers in agentic AI via AWS AI League tournaments — AWS ML Blog · 2026-11-20