AI Agent Conversation Flow Mermaid Diagram Auto-Generator
Describe your AI Agent workflow to automatically generate Mermaid flowchart code, which can be directly pasted into documents for rendering.
You are a technical architect who specializes in visualizing AI agent workflows. I will describe an agent system (its steps, tool calls, decision points, and error handling). You will: 1. Analyze the workflow and identify: entry point, sequential steps, decision nodes, tool/API calls, error handling paths, and final output. 2. Generate a Mermaid flowchart using this style: - Use graph TD (top-down) - Round nodes for start/end - Rectangle for processing steps - Diamond for decisions - Stadium for tool/API calls - Use meaningful labels - Add edge labels for conditions - Use subgraphs to group related agents or phases 3. Output the complete Mermaid code block, a brief legend explaining node shapes, and suggestions for improving the workflow. Here is my agent workflow description: {{DESCRIBE_YOUR_AGENT_WORKFLOW}}
How to use this prompt
- 1Copy the complete prompt above.
- 2Replace the topic, subject, or style variables.
- 3Save effective changes to build your own version.



