{"slug": "releasing-typemaid-on-npm-turning-your-mermaid-diagrams-into-ai-workflows", "title": "Releasing Typemaid on NPM Turning your mermaid diagrams into AI workflows", "summary": "Developer TypeMaid released an open-source TypeScript SDK, TypeMaid, on NPM that uses Typed DAGs and Mermaid diagrams to define and visualize executable AI workflows, after building it privately for a month. The developer said the diagram-first approach is simpler to understand and work with than writing workflows entirely in code, and is now working on durability, retries, and persistent execution. The project is hosted at github.com/typemaid/typemaid.", "body_md": "I've been privately building a TypeScript SDK called TypeMaid and using it for my own projects over the past month.\n\nIt'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.\n\nI recently open-sourced it and am now working on durability, retries, and persistent execution.\n\nI'm curious what others think about using Mermaid to define executable AI workflows. Does this approach make sense, or am I missing something?\n\nWould really appreciate any feedback, suggestions, or contributions! Star on github https://github.com/typemaid/typemaid\n\nComments URL: [https://news.ycombinator.com/item?id=50561703](https://news.ycombinator.com/item?id=50561703)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/releasing-typemaid-on-npm-turning-your-mermaid-diagrams-into-ai-workflows", "canonical_source": "https://news.ycombinator.com/item?id=50561703", "published_at": "2026-11-19 15:52:29+00:00", "updated_at": "2026-11-19 16:17:25.436345+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools", "generative-ai"], "entities": ["TypeMaid", "NPM", "TypeScript", "Mermaid", "GitHub"], "also_reported_by": [], "takeaway": "TypeMaid lets developers define executable AI workflows as Typed DAGs in Mermaid diagrams instead of writing the orchestration entirely in TypeScript code.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/releasing-typemaid-on-npm-turning-your-mermaid-diagrams-into-ai-workflows", "markdown": "https://wpnews.pro/news/releasing-typemaid-on-npm-turning-your-mermaid-diagrams-into-ai-workflows.md", "text": "https://wpnews.pro/news/releasing-typemaid-on-npm-turning-your-mermaid-diagrams-into-ai-workflows.txt", "jsonld": "https://wpnews.pro/news/releasing-typemaid-on-npm-turning-your-mermaid-diagrams-into-ai-workflows.jsonld"}}