Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Diagrams

Create architecture diagrams and cloud infrastructure visualizations as Python code.

Charts and data visualisation PyPI MIT

Used in agent projects
27
0.2% of 12,697 public repos built with AI coding agents
Rank in charts and data visualisation
#13 of 16
by use in those projects
Downloads
208K
PyPI, last 7 days, diagrams
GitHub stars
42.7K
last push Oct 8, 2026

How Diagrams is used

Diagrams is a dependency in 27 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #13 of 16 in charts and data visualisation. The most used alternative there is Recharts. Projects that use it most often also use Checkov (92.6%), Matplotlib (92.6%), Pillow (92.6%).

Often used with Diagrams

Checkov92.6% of Diagrams projects · 452.2× more than average
Matplotlib92.6% of Diagrams projects · 60.6× more than average
Pillow92.6% of Diagrams projects · 40.3× more than average
fast-xml-parser81.5% of Diagrams projects · 178.4× more than average
jsdom81.5% of Diagrams projects · 15.2× more than average
Lefthook81.5% of Diagrams projects · 80.8× more than average
markdown-link-check81.5% of Diagrams projects · 413.8× more than average
markdownlint-cli281.5% of Diagrams projects · 141.7× more than average

By coding agent

GitHub Copilot0.9% of projects set up for it

Share of public repos configured for each agent that list Diagrams as a dependency.

Install

Packagepip install diagrams
Main stacksPython (27)
Example projectsjonathan-vella/azure-smb-rf

Alternatives to Diagrams

All charts and data visualisation

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Recharts npm
Composable React component library for building responsive charts.
1,037 (8.2%) 56.3M 27.6K MIT
Matplotlib pypi
Python library for creating static, animated and interactive plots and visualizations.
194 (1.5%) 39.3M 23.3K —
Chart.js npm
Simple HTML5 canvas-based charting library for creating interactive data visualizations.
165 (1.3%) 12.7M 67.7K MIT
React Chart.js 2 npm
React components wrapper for Chart.js enabling data visualization with charts.
111 (0.9%) 4.4M 6,937 MIT
Plotly pypi
Interactive data visualization library for Python with rich chart and dashboard support.
74 (0.6%) 12.5M 18.8K —
Seaborn pypi
Statistical data visualization library built on matplotlib with rich plot types.
66 (0.5%) 6.8M 14.1K —
Mermaid npm
Markdown-like syntax for creating flowcharts, diagrams, and visualizations programmatically.
65 (0.5%) 17.7M 90.6K MIT
D3.js npm
JavaScript library for creating data-driven documents with powerful data visualization capabilities.
63 (0.5%) 22.2M 114K ISC
Is Diagrams right for your project? Ask AgentGid →