I've been privately building a TypeScript SDK called TypeMaid and using it for my own projects over the past month.
It's based on Typed DAGs, with Mermaid diagrams to define and visualize AI workflows. I've found this approach surprisingly simple to understand and work with, especially compared to writing workflows entirely in code.
I recently open-sourced it and am now working on durability, retries, and persistent execution.
I'm curious what others think about using Mermaid to define executable AI workflows. Does this approach make sense, or am I missing something?
Would really appreciate any feedback, suggestions, or contributions! Star on github https://github.com/typemaid/typemaid
Comments URL: [https://news.ycombinator.com/item?id=50561703](https://news.ycombinator.com/item?id=50561703)
Points: 1