
Draw Diagrams from Models with Custom Agents in Kiro
Imagine that you want to document an AWS account, a network topology, an application, etc, with a diagram. That would be a good idea, because it's certainly the best way to do it. However this can take time, especially if you have many resources to explore. Recently wondered how I could minimize this effort using my Agentic IDE. I ended drawing a simple model of what I wanted and then, with one command, asked my IDE to draw a new one with real data. In brief, I'm now able to do this kind of thing: /draw-from-model vpc-and-subnets.model.drawio Which I can represent this way: I wanted to share this, and explain the phases that helped me to get there: Phase 1 - Extract data, create Model Diagram, mix both Phase 2 - Create Diagram Model, deduct data to extract, mix both Phase 3 - Do it with a custom agent: /draw-from-model Phase 4 - Draw new diagrams from any model N.B.: I chose the AWS Kiro IDE, but you can apply this with another Agentic IDE as long as you can extend it with custom agent
Continue reading on Dev.to
Opens in a new tab



