Ask Your Agent to Print and Diagram Its Own Workflow: A Reusable Prompt

brada · x · 2026-10-10

A practical tip for auditing what your agent actually built: ask it directly. The author shares a copy-paste prompt that makes the agent print the exact workflow it started with (in one code block, without launching a new run) and draw the run as a diagram saved to workflow-diagram.png (1600x900, light background, phases left to right, one box per agent, arrows for data flow), giving you a visual audit of multi-step agent runs.

Original post →

More from coding & agent

coding & agent channel →