drawspec
drawspec is a declarative diagram generation tool for language models: users only need to describe the diagram's content (boxes, arrows, labels, and roles) in JSON, without providing coordinates, sizes, or font sizes; the tool automatically computes layout, routing, and color schemes, and outputs clean SVG, PNG, or plain-text diagrams. It supports more than 30 diagram types, including flowcharts, sequence diagrams, state machines, ER diagrams, Gantt charts, mind maps, and more, and provides integration methods such as an MCP server, JSON Schema, AGENTS.md, and Agent Skill, making it easy for LLMs to generate and validate diagrams.