AgentsAutonomy & tool use
datasette-charts 0.2a0 adds Datasette Agent tools for creating and suggesting charts in chat
A day after launch, Simon Willison's datasette-charts plugin lets Datasette Agent build charts from chat requests using the same suggestion and generation logic as the manual builder, with charts editable in a panel the agent can then read.
From the Simon Willison article of November 24, 2026 and cited sources: The release adds two agent tools: one creates a chart inside a conversation, the other suggests charts for a table or query. [1] [7] [9]
SOURCES[1] Simon Willison: datasette-charts 0.2a0 simonwillison.net[7] GitHub release: datasette-charts 0.2a0 github.com[9] Demo chat export (Gist) gist.github.com
AI-assisted, not human-edited. Methodology Corrections Who owns this site
- What happened
- The release adds two agent tools: one creates a chart inside a conversation, the other suggests charts for a table or query. [1] [7] [9]
- Original source
- Simon Willison article, independent perspective
- Brief by
- AT Pulse research desk AI-assisted; publisher and contact on the desk page
- When
- November 24, 2026 article published
- Covered
- Nov 24 edition
- Evidence
- 11 sources across 6 sites
- 1Simon Willison: datasette-charts 0.2a0simonwillison.net
- 2Simon Willison: datasette-vega (2018)simonwillison.net
- 3Datasette blog: Datasette Agent announcementdatasette.io
- 4Simon Willison: datasette-agent-chartssimonwillison.net
- 5Simon Willison: datasette-agent 0.6a0simonwillison.net
- 6Simon Willison: datasette-charts launch post (0.1a0)simonwillison.net
Reach: not measured yet
The release adds two agent tools: one creates a chart inside a conversation, the other suggests charts for a table or query. Both use the logic that powers the point-and-click builder. The demo chat export shows the agent calling suggest_charts, then chart, then sql_query. [1] [7] [9]
Charts appear inside the chat and can be opened in a builder panel. When the user edits a chart there, the agent notices the change and can describe the new version. So far this has been shown only in the developer's own demo. [1] [9]
Each chart is turned into a SQL query that uses GROUP BY, time bucketing and window functions, so it covers the whole table rather than one page of results. Output is capped at 5,000 aggregated rows, and chart settings are stored in the URL. Version 0.2a0 also adds a decade time bucket and line charts that stay connected across gaps in the data. [2] [6] [7]
The manual builder and the agent share one chart engine, so charts the agent makes can be inspected and edited by hand. One implication, not yet tested, is analytics tools where people and AI edit the same view.
Executive brief
Datasette's new charting plugin got its own AI agent integration the day after it launched. In datasette-charts 0.2a0, released 24 November 2026, Datasette Agent can create charts from a chat request. It uses the same suggestion and generation logic as the point-and-click chart builder. Charts appear inside the chat and can be opened in a builder panel. The agent also notices when the user edits a chart in that panel, and can describe the new version. All of this comes from the developer, Simon Willison. The reviewed sources include no independent reviews or tests. The software is labelled alpha.
What changed and event timeline
Datasette-vega ships
Willison's first Datasette charting plugin used Vega to draw bar, line and scatter charts from any table or SQL query ().
Datasette Agent announced
An open-source chat assistant for SQLite data that other plugins can extend. It launched alongside datasette-agent-charts, which draws charts with Observable Plot (;).
Datasette-agent 0.6a0
Adds an agent prompt box to the Datasette homepage. Typing "#" lets users mention tables and saved queries, with autocomplete ().
Datasette-charts 0.1a0
A new plugin that charts entire tables rather than one page of results. It suggests chart types automatically and is labelled alpha ().
Datasette-charts 0.2a0
Adds Datasette Agent tools for creating and suggesting charts, a "decade" time bucket, and line charts that stay connected across gaps in the data ().
Capabilities and access
- Version: datasette-charts 0.2a0, a pre-release (GitHub).
- Agent tools: one creates a chart inside a conversation; one suggests charts for a table or query (GitHub).
- Live demo: agent.datasette.io, which requires a GitHub sign-in to limit abuse (Datasette blog).
Read the full section
- Version: datasette-charts 0.2a0, a pre-release (GitHub).
- Agent tools: one creates a chart inside a conversation; one suggests charts for a table or query (GitHub).
- Live demo: agent.datasette.io, which requires a GitHub sign-in to limit abuse (Datasette blog).
- Model: the Datasette Agent demo runs on Gemini 3.1 Flash-Lite (Datasette blog). The exported chat from the demo does not say which model was used (chat export).
Technical analysis for researchers and developers
- How charts are built: the chart is turned into a SQL query using GROUP BY, time bucketing and window functions, so it covers the whole table.
- State: chart settings are stored in the URL fragment, so charts can be bookmarked and shared (launch post).
- Agent path: the exported chat shows the agent calling three tools in turn:
suggest_charts, thenchart, thensql_query(chat export).
Read the full section
- How charts are built: the chart is turned into a SQL query using GROUP BY, time bucketing and window functions, so it covers the whole table. Output is capped at 5,000 rows. Suggestions use sampling on large tables. Rendering uses bundled copies of D3, Observable Plot and topojson-client (launch post).
- State: chart settings are stored in the URL fragment, so charts can be bookmarked and shared (launch post).
- Agent path: the exported chat shows the agent calling three tools in turn:
suggest_charts, thenchart, thensql_query(chat export). Plugins add tools through theregister_agent_toolshook (PyPI). - Evaluation: no benchmark or accuracy testing is published.
Claims and evidence
- Stated by the author (post). The tool names in the chat export are consistent with this.
- The agent notices edits made in the panel. No third-party reproduction appears in the reviewed sources.
- Download figures in the chat, such as a weekly peak of about 67,700 Datasette downloads (chat export), are the agent's own descriptions of the chart.
Read the full section
- Agent charts reuse the builder's tools. Stated by the author (post). The tool names in the chat export are consistent with this.
- The agent notices edits made in the panel. This is shown in the author's own demo and chat export only. No third-party reproduction appears in the reviewed sources.
- Download figures in the chat, such as a weekly peak of about 67,700 Datasette downloads (chat export), are the agent's own descriptions of the chart. Nobody has checked them against the underlying data.
- No independent coverage or evaluation was found. Corroboration is unavailable.
Context and prior work
- datasette-vega (2018) only charted the current page of results, typically 100 rows. Removing that limit is the main fix datasette-charts makes (launch post).
- Alex Garcia's datasette-plot (December 2023) was a newer chart plugin built on Observable Plot.
- datasette-agent-charts (May 2026) already gave the agent Observable Plot charts. The reviewed sources do not say how it relates to datasette-charts.
Read the full section
- datasette-vega (2018) only charted the current page of results, typically 100 rows. Removing that limit is the main fix datasette-charts makes (launch post).
- Alex Garcia's datasette-plot (December 2023) was a newer chart plugin built on Observable Plot.
- datasette-agent-charts (May 2026) already gave the agent Observable Plot charts. The reviewed sources do not say how it relates to datasette-charts.
- Willison says he built the first prototype with an AI coding model (launch post).
Limitations, safety and contested findings
- datasette-charts and Datasette Agent are both labelled alpha (launch post; Datasette blog).
- The 5,000-row cap applies to the aggregated results the chart draws, not to the source table (launch post).
- In the demo chat, the agent itself warned that the latest week's data was incomplete.
Read the full section
- datasette-charts and Datasette Agent are both labelled alpha (launch post; Datasette blog).
- The 5,000-row cap applies to the aggregated results the chart draws, not to the source table (launch post).
- In the demo chat, the agent itself warned that the latest week's data was incomplete. This shows that how much to trust a chart summary depends on the model reading the data correctly (chat export).
- The earlier datasette-agent-charts plugin checks permissions before running SQL (post). The reviewed sources do not describe permission handling for datasette-charts.
Business and practitioner implications
- One engine, two interfaces: the manual builder and the agent share the same chart logic.
- Shared context: the agent can see what the user changed in the panel.
- Low barrier: open source, self-hostable, and able to use cheap models.
Read the full section
- One engine, two interfaces: the manual builder and the agent share the same chart logic. This is a pattern worth copying, because charts made either way behave consistently and can be inspected and edited by hand.
- Shared context: the agent can see what the user changed in the panel. This points toward analytics tools where the human and the AI both edit the same view, rather than trading chat messages.
- Low barrier: open source, self-hostable, and able to use cheap models. Teams that already run SQLite or Datasette can try it at low cost, but should treat it as an experiment until it leaves alpha.