cd /news/ai-agents/releasing-typemaid-on-npm-turning-yo… · home › topics › ai-agents › article
[ARTICLE · art-172654] src=news.ycombinator.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Releasing Typemaid on NPM Turning your mermaid diagrams into AI workflows

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.

key takeaway

TypeMaid lets developers define executable AI workflows as Typed DAGs in Mermaid diagrams instead of writing the orchestration entirely in TypeScript code.

by read1 min views8 publishedNov 19, 2026

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

── more in #ai-agents 4 stories · sorted by recency
── more on @typemaid 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/releasing-typemaid-o…] indexed:0 read:1min 2026-11-19 · —