written by Roni Kobrosly on 2026-01-09 | tags: engineering open source agentic ai
Okay, I decided to take that free-floating ASCII diagram code and make it into a proper open-source python package. I present to you “RetroFlow”. On the surface it seems silly, but there are a lot of advantages to using ASCII flowcharts, particularly in this age of agentic AI.
The package on GitHub and PyPi.
Beyond looking like something out of a technical document from the early days of computing:
The package takes a simple string like this...
REQUEST -> VALIDATE VALIDATE -> PROCESS PROCESS -> RESPONSE VALIDATE -> ERROR HANDLER PROCESS -> ERROR HANDLER ERROR HANDLER -> LOG ERROR HANDLER -> RETRY RETRY -> VALIDATE
and converts it into a text file or a high-resolution image like this...

It abstracts away the complex decisions around layout, while giving you some choices around vertical versus horizontal layout, title banners, and a bit more. It can also handle cycles and bidirectional elements in your flowchart! Let me know what you think!
Here are some more examples of what you can do with RetroFlow:





