AI
Microsoft unveils Flint-interactive, a high-level language for building AI-powered interactive charts
A new compiler-driven system lets AI agents and developers create sophisticated, linked data visualizations without low-level coding.
1/6
Microsoft Research Blog
Microsoft Research has introduced Flint-interactive, a declarative language designed to make it simpler for both AI agents and developers to build interactive data visualizations. Rather than requiring detailed renderer-specific code, the system lets users define rich interactions—clicking, filtering, zooming, and cross-chart brushing—through high-level semantic specifications that a compiler then translates into working visualizations.
The problem: costly and error-prone interactive charts#
Creating dynamic, exploratory charts that let users drill into data remains surprisingly difficult, even with capable language models. When AI agents generate interactive visualizations today, they often fail to produce satisfying results on the first attempt. Multiple rounds of reasoning, coding, and debugging become necessary, consuming tokens and extending development cycles. Interactions frequently contain layout errors or broken dependencies that emerge only at runtime. Meanwhile, general-purpose visualization libraries offer only fixed, pre-built interactions that often fall short of what a specific use case demands.
How Flint-interactive works#
At its core, Flint-interactive separates interaction logic from visual logic—a split that makes both easier to reason about. When a user clicks, drags, or types, the system's compiler automatically converts raw input events into semantic events that describe what data elements or chart regions are being acted upon. These semantic events then trigger update operators (instructions like "highlight this data set," "annotate this point," or "zoom to this region") that cascade through the system.
Because the compiler handles the low-level details—hit testing, rendering updates, and visual dependency resolution—users and agents can focus on the high-level "if this semantic event occurs, apply these updates" logic. This compositional approach also extends beyond charts: actions in one view can trigger updates to tables, text blocks, widgets, or application state elsewhere.
Three ways to use it#
In chat: Developers can integrate Flint-interactive into AI agents via Flint-MCP (Model Context Protocol). Users simply describe the chart they want and which interactions matter; the agent generates both a Flint visualization spec and an interaction_spec, rendering an interactive chart directly in the conversation.

