Microsoft's Flint Argues Agents Should Emit a Chart DSL, Not Chart Code, and Hits 3,012 Stars
microsoft/flint-chart (MIT, TypeScript) reached 3,012 stars and 151 forks and drew 264 points on Hacker News on 2026-08-01, with the repo pushed again on August 2. The thesis is that asking an agent to configure scales, axes, spacing and layout directly is where agent-generated charts break, so Flint has agents emit a compact semantic spec and its compiler derives the rest from the data, semantic types, chart type and encodings. It covers 70+ semantic types across five backends: Vega-Lite, ECharts, Chart.js, Plotly with 38 types, and native Excel with 18 templates. The flint-chart-mcp package exposes create, validate and render over MCP and can return PNG/SVG or backend-native specs. Version 0.4.0 landed 2026-07-24 adding Plotly and Excel. No published eval compares Flint specs against direct code generation, which is the number that would settle the argument.
Source
↳ Follow the thread