Build live dashboards over your database as React and SQL — named read-only queries, panels, filters, themes and checks — in an open-dashboard workspace.
The dashboard framework built for agents. Describe the dashboard you want in natural language — your coding agent writes the SQL and the panels. open-dashboard runs every query read-only against your own database, renders the charts, keeps filters in the URL, and hot-reloads as the agent types.
Grafana and Superset ask you to click a dashboard together. open-dashboard is the other way round: you tell Claude Code (or any coding agent) "revenue by month, top 10 products, orders by region, filterable by region", and it writes the files. It is the same idea as open-slide, open-doc and open-sheet: the artifact is plain files an agent is good at writing, the framework does the rendering, and the skills that ship with every workspace teach the agent the workflow.
npx @open-dashboard/cli init my-dashboards
The dashboard viewer — data sources and dashboards on the left, filters top right, Preview / Edit in the header. Demo data is generated and fictional.
Why
Dashboards are the output nobody wants to click together. Agents write excellent SQL and have nowhere good to put it: a hand-rolled web page reinvents charts, filters and layout every time and puts SQL in the browser; a BI tool has no file an agent can write. open-dashboard gives the agent two files it is already fluent in — SQL and TSX — and gives you a live, read-only dashboard over the database you already have.
Highlights
🗂️ A dashboard is two files
queries/
shared.sql optional workspace-wide shared SQL inherited by every dashboard
dashboards/sales-overview/
queries.sql named SQL — runnable in any SQL tool (overrides shared queries of the same name)
index.tsx which panels, in what order, showing which columns
"How the number is computed" and "how it is laid out" live apart. You can paste queries.sql into DBeaver to check a figure, and a pull request shows exactly which metric definition changed. Reusable queries placed in queries/*.sql at the workspace root are automatically inherited by every dashboard. Panels name a query; they never contain SQL. See The file contract.
🤖 Agent-native authoring
Skills ship with every workspace (in .agents/skills/ and .claude/skills/):
/connect-database — adds a datasource, writes .env, installs the driver, verifies with sources + schema, and hands you the GRANT for a read-only role.
/document-database — writes databases/<source>/database.md: what the tables and columns mean, values to filter on, units, traps.
/create-dashboard — explores the schema and real rows first, then asks how each metric is defined (refunds in or out? which date range? which slices?) before writing a line. It will not invent a number: a target that is not in your database is a question, not a placeholder.
/dashboard-authoring — the reference: query files, parameters, every component, formats, SQL per dialect.
/current-dashboard — resolves "this chart". The viewer publishes what you are looking at — dashboard, last inspected panel, filter values — to node_modules/.open-dashboard/current.json.
/create-chart — writes a chart no built-in panel draws under charts/<id>/, with defineChart, following the same visual rules as the built-ins.
/create-theme — writes themes/<id>.json (brand colours, fonts, red-up markets) within the colour rules, and applies it to dashboards or the workspace.
/set-up-assistant — turns on the optional chat assistant (key in .env only, never on the page) and writes its instructions in assistant.md.
/apply-comments — applies the notes you left on panels in the inspector.
After an upgrade, open-dashboard sync-skills refreshes them; dev tells you when they are out of date.