Live data from Hacker News

Zindex – Diagram Infrastructure for Agents

zindex.ai

11–20 of 20 posts

Re: Zindex – Diagram Infrastructure for Agents

#11

Earlier quoted context omitted.

> I’ve found that Claude can make decent mermaid diagrams pretty reliably. When doing this, do you give it a codebase and ask for a diagram, or is it more of an iterative back-and-forth where you describe the system to it.

Claude tends to default to and do best with first making ASCII diagrams in markdown files, which you can then ask it to translate into Mermaid if appropriate. Prompts like, "Please write a comprehensive report on _____ to work with _____. Include a holistic report on architecture and meaning and purpose of all involved systems. Describe the why and how of the changes in depth and include a full glossary of terms and…

Gotcha. So this is more for diagrams of new systems than existing ones. Our maybe a blend of new and old.

Re: Zindex – Diagram Infrastructure for Agents

#12

Earlier quoted context omitted.

Claude tends to default to and do best with first making ASCII diagrams in markdown files, which you can then ask it to translate into Mermaid if appropriate. Prompts like, "Please write a comprehensive report on _____ to work with _____. Include a holistic report on architecture and meaning and purpose of all involved systems. Describe the why and how of the changes in depth and include a full glossary of terms and…

Gotcha. So this is more for diagrams of new systems than existing ones. Our maybe a blend of new and old.

You could have it propose a spec or review a proposed spec to also get diagrams in a similar manner.

Re: Zindex – Diagram Infrastructure for Agents

#15
post #6

I’ve found that Claude can make decent mermaid diagrams pretty reliably. Not sure I quite understand what problem Zindex solves

> I’ve found that Claude can make decent mermaid diagrams pretty reliably. When doing this, do you give it a codebase and ask for a diagram, or is it more of an iterative back-and-forth where you describe the system to it.

I made a really big flowchart diagram of all of our services and how they interrelate by giving Claude Code the description of what I wanted starting at the entry point project and working its way through the entire system to the data ingestion point. I gave Claude my GitHub access token so it could look through or clone each repo it needed. I also had many of the projects already cloned in my workspace folder through years of working on the various projects.

Claude was able to determine the project, analyze the code, and infer the infrastructure. It worked through the projects as it went drawing a higher level diagram first. Then I iteratively asked for more detail around the sections I thought needed more detail.

This was just an experiment that I spent a few hours on. Months later I misplaced the mermaid markdown file so I asked Claude to reproduce the mermaid markdown from the png image so I could have it add more detail around another section that looked incorrect because it encapsulated the database and worker for one of the systems in a single box. The detail made the diagram in that area much more clear.

To me it is very good at writing/reading/reverse engineering mermaid diagrams.

Re: Zindex – Diagram Infrastructure for Agents

#17

> Production-grade 17 operation types. 40+ semantic validation rules. Auth, rate limiting, PostgreSQL storage. Man where in the LLM training data did the “production ready “ come from? That whole list screams AI. Humans want social proof, not a list.

The whole “Diagram Scene Protocol (DSP)” is pretty much like how every diagram library ever models graphs’ nodes and edges.

“describe what exists, not how to draw it”

really? please, someone tell graphviz about this, they should use it! /s

Re: Zindex – Diagram Infrastructure for Agents

#19

> Production-grade 17 operation types. 40+ semantic validation rules. Auth, rate limiting, PostgreSQL storage. Man where in the LLM training data did the “production ready “ come from? That whole list screams AI. Humans want social proof, not a list.

The whole “Diagram Scene Protocol (DSP)” is pretty much like how every diagram library ever models graphs’ nodes and edges. “describe what exists, not how to draw it” really? please, someone tell graphviz about this, they should use it! /s

A diagramming solution that exactly controls how to draw it would the only thing I would be interested in seeing as an advance here.

If it doesn't provide controllable layout then I might just as well generate Mermaid or DOT, which are both produced perfectly fine by LLMs.

Post reply on HN