Who it is forAn analyst or data lead who has SQL for key metrics and wants a shareable dashboard without hand-building charts in a BI tool.
The problemVibe-coded dashboards pile up artifacts, frameworks, and transformations, which makes them hard to audit.
The outcomeA board YAML file under charts/ that validates, renders in a live preview, and shows the metrics from your SQL.
What you need first
- Python 3.11 to 3.13
- uv (or pip) to install the dbt-charts package
- A warehouse adapter extra such as dbt-charts[snowflake] or dbt-charts[bigquery] if you want to run queries against your own warehouse
- Warehouse credentials for your own data, or the Playground demo data at play.dbtcharts.com
Steps
- Run
uv tool install dbt-chartsto install the CLI. - Run
dct skills introand follow the printed guidance so the agent knows the board format. - Run
dct initto bootstrap a project with charts/guide.yml. - Run
dct validate charts/guide.ymlto check the board YAML before you preview it. - Run
dct serveand open the live preview to review the dashboard.
Prompt for your agent
Using the dbt-charts repo, install the CLI, run `dct skills intro`, and write a KPI board for the metrics described in <placeholder> as YAML under charts/. Run `dct validate` on the file and report any errors. Verify that the board renders in `dct serve`.
Caveat. dbt Charts is pre-1.0 and beta, and the README requires Python 3.11 to 3.13, so check your Python version before you start.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for dbt-labs/dbt-charts and "Build a KPI dashboard from warehouse SQL with an agent"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer