Growing India News, world news, nation news, our news, people's news, grow news, entertainment, fashion, movies, tech, automobile and many more..
Tuesday, August 11, 2026
Show HN: Graph2agent; Mermaid diagrams, explained for agents https://ift.tt/IoLabAg
Show HN: Graph2agent; Mermaid diagrams, explained for agents During the implementation of a huge high performance service.
In order to keep context small (mainly for humans) I kept the specs into mermaid diagrams.
When communicating with humans; diagrams were easy to follow and to remember.
But when I asked the agent to implement what's in the diagram, most of the times it failed. So I came into conclusion that agents are good into writing mermaid diagrams but they are not good into reading them. I built graph2agent in order to deterministically (without inference :) ) convert mermaid diagrams into digestible rich text for agents. examples: https://ift.tt/RovLD79... This gave us 50% error reduction for any class of diagrams and 80% error reduction for sequence diagrams specifically.
Also Input tokens increased on avg by 8% (which is expected) but Reasoning tokens dropped by almost 50%. You can use it either with MCP so agents can call it with any mermaid diagram, and also can put it in pre-commit jobs and run it on every PR so all diagrams are agent ready! I hope you like it! Let me know your thoughts! https://graph2agent.github.io/ August 11, 2026 at 02:59AM
Subscribe to:
Post Comments (Atom)
Show HN: Graph2agent; Mermaid diagrams, explained for agents https://ift.tt/IoLabAg
Show HN: Graph2agent; Mermaid diagrams, explained for agents During the implementation of a huge high performance service. In order to keep...
-
Show HN: An AI logo generator that can also generate SVG logos Hey everyone, I've spent the past 2 weeks building an AI logo generator, ...
-
Show HN: Simple Gantt Chart Software https://ift.tt/sa3dQKF May 7, 2022 at 12:39PM
-
Show HN: Jsonnet Course Online Hi HN! I'm usually a lurker here, but I wanted to share this: I'm an enthusiastic user of Jsonnet[1] ...
No comments:
Post a Comment