Show HN: Microsoft releases Flint, a visualization language for AI agents

324 points · 118 comments on HN · read original →

Points and comments are a snapshot, not live.

Microsoft Research released Flint, a visualization intermediate language for AI agents.

Flint is a visualization intermediate language that lets AI agents create charts from simple, human-editable specs. The compiler derives optimized chart settings from data, semantic types, chart type, and encodings, avoiding verbose low-level parameters like scales and axes. It supports 46 chart types and renders in Vega-Lite, ECharts, and Chart.js. Semantic types (e.g., YearMonth, Quantity) infer parsing, scale, formatting, and color schemes. An elastic layout model dynamically optimizes sizing and spacing. Users can switch chart types or backends easily.

What commenters are saying

Commenters split into two camps. Supporters praised Flint as a simpler abstraction that helps both humans and AI agents, and noted the pattern of using a deterministic compiler for agent output. Skeptics argued that existing tools like Vega-Lite or plotting libraries already work well with LLMs, that the charts were not noticeably better, and that JSON is a poor human-readable format. One commenter asked how Flint differed from Vega itself; the author replied that Vega is now too low-level for agents to reliably produce good-looking charts.