From Prompt to Diagram to Pull Request: Building AI-Powered Collaboration on a Visual Canvas
Last Updated on August 25, 2026 by Editorial Team
Author(s): Dave R – Microsoft Azure & AI MVP☁️
Originally published on Towards AI.
How Lucid’s AI diagramming, AI whiteboarding, and the Lucid MCP server let AI agents create, share, and update living documents, with a map to the Microsoft AI stack.
This article is a technical walkthrough of how AI changes visual collaboration in Lucid, from generating diagrams out of plain text to letting AI agents create and update Lucid documents through the Model Context Protocol (MCP). I break it into four layers: turning prompts into structured diagrams in Lucidchart, generating and organizing ideas on a Lucid Spark board, wiring AI agents to the Lucid MCP server so they can read and write documents programmatically, and building processes through a conversational agent. For each layer, I explain what it does, how it works underneath, and how it maps to the Microsoft AI stack.

After the introduction, the article walks through a four-layer workflow that turns raw prompts and brainstorming into a closed loop of collaboration and change: Lucidchart transforms detailed prompts into structured, editable diagrams; Lucid Spark turns divergent ideas into boards that can be generated, expanded, sorted, and summarized; Lucid’s cloud-hosted MCP server exposes tools for agents to create, fetch, share, search, and update Lucid documents via structured specifications; and Layer 4 introduces process agents that use conversational refinement to build diagrams from imperfect operational text. The piece then ties this “diagram as living specification” approach to Microsoft’s MCP ecosystem (Copilot Studio, Foundry, App Service, and Windows), culminating in an end-to-end example where agents generate diagrams from a codebase, humans edit and comment on them, and the agent reads the edits back to produce accurate code changes—positioning diagrams as programmable interfaces rather than static documentation.
Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.
Published via Towards AI
Towards AI Academy
We Build Enterprise-Grade AI. We'll Teach You to Master It Too.
15 engineers. 100,000+ students. Towards AI Academy teaches what actually survives production.
Start free — no commitment:
→ 6-Day Agentic AI Engineering Email Guide — one practical lesson per day
→ Agents Architecture Cheatsheet — 3 years of architecture decisions in 6 pages
Our courses:
→ AI Engineering Certification — 90+ lessons from project selection to deployed product. The most comprehensive practical LLM course out there.
→ Agent Engineering Course — Hands on with production agent architectures, memory, routing, and eval frameworks — built from real enterprise engagements.
→ AI for Work — Understand, evaluate, and apply AI for complex work tasks.
Note: Article content contains the views of the contributing authors and not Towards AI.