Datasette Agent Learns to Draw Charts From a Text Prompt in Chat
The datasette-charts plugin, announced yesterday, now integrates with Datasette Agent, so you can order a chart with a plain phrase in chat. The agent uses the same tools for picking and building charts as the manual chart builder. In a demo, a request about sqlite-utils downloads produced a chart right in the conversation. For anyone who stores data in SQLite, this is a short path from question to picture.
AI-processed from Simon Willison; edited by Hamidun News
Building a chart from a table usually means writing an SQL query, choosing a chart type, and configuring the axes. Simon Willison, the author of Datasette, removes part of that routine. Yesterday he announced the datasette-charts plugin, and today he released version 0.2a0, which lets you order charts from an AI agent with a plain phrase in chat.
What Actually Appeared
Datasette is an open-source tool for browsing and publishing data, mostly from SQLite databases. Datasette Agent is a chat interface on top of it where you can ask questions about your data. In version 0.2a0, the chart plugin was connected to this agent. An important detail: the agent does not draw pictures on its own. It calls the same internal tools for selecting and generating charts that already exist in the plugin. So people and the agent have the same set of capabilities, and the result is predictable.
The version is labeled alpha (0.2a0), so the interface and behavior may still change. This is an early release, not a stable product.
How It Looks in the Demo
Willison recorded a demonstration on agent.datasette.io. You can sign in there with GitHub and try the plugin yourself. The video has no sound, but a detailed description is given in the caption.
The scenario goes like this. The author asks the agent: "Use #stats to show sqlite-utils downloads over time as a chart." The "#stats" entry works as a reference to a table: when you type the hash sign, a table search window opens, and the user explicitly specifies which data to work with. In practice this is convenient: you don't need to describe the database structure in words, you just pick a table.
The agent shows the chart directly in the chat. If you click "Open in the chart builder," the chart opens in a separate panel next to the table page. Next, the author switches the panel to a chart of a different package, datasette, and asks the agent: "what does the chart show?" The agent notices that the panel's contents have changed and describes the new chart about Datasette.
This episode is more interesting than the rendering itself. The agent sees not only the chat transcript but also what the user does by hand in the interface. So you can start with a request in chat, adjust the result manually, and return to the conversation without explanations like "look, I changed the chart."
What This Means for Developers
If you build internal analytics tools or your own agents on top of databases, there are several practical ideas here:
- Give the agent the same functions a human has in the interface. This makes results easier to verify, and there is no separate "agent-only" logic.
- Let the user explicitly specify the data source (as with #stats) instead of forcing the model to guess the table.
- Pass the agent the interface state, such as the open panel, so it answers about what the person is seeing right now.
The limitations are also clear. The release is alpha, the demo shows one simple scenario with package downloads, and it is not possible to judge quality on complex tables from it. The note contains no information on how the agent chooses a chart type for non-standard data. You can try it on the demo site, and the author published the video's chat transcript as a Markdown export in a Gist.
Overall, this is a small but telling step: the chat agent works alongside the regular interface rather than replacing it, which seems more sensible than swapping out the chart builder for a single text field.
- Nov 24, 2026AI Bot "Olivia" Approved a Tenant's $3,934 Late Payment, Then the Eviction Notice Arrived
- Nov 24, 2026Google gives AI Mode in Search access to Wallet so it can help you spend less
- Nov 24, 2026Five Projects in Two Days: The Agents Did Everything, but One Human Had to Check It
- Nov 24, 2026Support Agent Hides Names and Card Numbers from an External LLM: 30+ Data Types
Key Questions Answered
What Actually Appeared?
Datasette is an open-source tool for browsing and publishing data, mostly from SQLite databases. Datasette Agent is a chat interface on top of it where you can ask questions about your data. In version 0.2a0, the chart plugin was connected to this agent. An important detail: the agent does not draw pictures on its own. It calls the same internal tools for selecting and generating charts that already exist in the plugin. So people and the agent have the same set of capabilities, and the result is predictable.
How It Looks in the Demo?
Willison recorded a demonstration on agent.datasette.io. You can sign in there with GitHub and try the plugin yourself. The video has no sound, but a detailed description is given in the caption. The scenario goes like this. The author asks the agent: "Use #stats to show sqlite-utils downloads over time as a chart." The "#stats" entry works as a reference to a table: when you type the hash sign, a table search window opens, and the user explicitly specifies which data to work with.
What This Means for Developers?
If you build internal analytics tools or your own agents on top of databases, there are several practical ideas here: Give the agent the same functions a human has in the interface. This makes results easier to verify, and there is no separate "agent-only" logic. Let the user explicitly specify the data source (as with #stats) instead of forcing the model to guess the table. Pass the agent the interface state, such as the open panel, so it answers about what the person is seeing right now.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.