CLI tool
lightdash/lightdash avatar
lightdash/lightdash

Lightdash: BI that ships through pull requests

Agentic BI. Analytics at the speed of code ⚡️

6,168 stars787 forksTypeScriptNOASSERTION

At a glance

What is it?
Lightdash is an open-source agentic BI platform: a governed context layer defines metrics, joins, permissions and caching once, then powers dashboards, AI agents, data apps and embedded analytics, all shippable through Git, CI, the CLI and an MCP server. Its TypeScript monorepo runs on React, Express, Knex and PostgreSQL with adapters for BigQuery, Snowflake, Databricks and more.
Who is it for?
Choose Lightdash when your data team wants analytics to move like software, metrics defined once in a governed layer and consumed by dashboards, agents and embedded products alike, with changes reviewed in pull requests. Choose Metabase or Superset when the organization wants GUI-first BI without a code-centric workflow, since those tools start from visual building rather than a defined context layer.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 30, 2026, and from our analysis. They are not legal advice.

Editorial analysis

One context layer feeding every consumer

Lightdash's architecture begins with a single decision: trusted metrics, joins, permissions, business logic and caching are defined once in a context layer, and everything downstream consumes that definition. The layer itself is authored in dbt projects or standalone Lightdash YAML pointed at your warehouse, so teams already running dbt gain governance without a parallel modeling effort. What the layer then powers is the product surface, dashboards, AI agents, data apps, embedded analytics, SDKs and MCP, all reading the same definitions rather than each re-deriving them. The pitch names the audience precisely: analytics that move like software, with data teams building through the terminal, pull requests and CI while business users ask questions in plain English, explore dashboards or assemble data apps, none of them bypassing governance to do it.

Three CLI commands that make agent changes reviewable

The developer-facing workflow is three commands:

bash
lightdash install-skills
lightdash preview
lightdash validate

install-skills sets up the Lightdash skills for coding agents, preview shows what changed, and validate checks the project before anything lands. Through agent skills and the Lightdash MCP server, those agents can build charts, dashboards, metrics and Data Apps from an editor or terminal, and the change still travels the trusted path, preview the branch, validate the project, review the pull request, merge. This is the BI-as-code thesis made concrete: metrics, charts and dashboards live as files, so the review machinery software teams already run, diffs, comments, required checks, applies to analytics unchanged. The framing gives agents safe lanes rather than open access, the agent gets context and verification, and the team keeps the gate.

Agents that answer from context, not table guesses

The AI agent story is specified in four properties rather than adjectives. Lightdash agents answer from the context layer, not raw table guesses, so a question resolves against defined metrics instead of an improvised interpretation of a column. They respect permissions, meaning governance survives the conversation. They return inspectable queries, so a technically minded user can see the SQL behind an answer rather than trusting it. And they reuse verified answers, improving through reviews and evaluations, which treats correctness as an asset that accumulates instead of a dice roll per question. For business users the same surface reads as plain-English questions over dashboards, and for the organization the point is that conversational access does not become a governance bypass, the failure mode that has made many enterprises wary of putting agents near their data.

Data Apps and embedded analytics from the same layer

Two further product shapes grow from the context layer. Data Apps are custom reports, workbooks, slide decks, forecasting tools and customer-facing data products built from a prompt, with the context layer, permissions and authentication already wired in, the pitch being that the hard parts of shipping a data product are inherited rather than rebuilt. Embedded analytics covers the integration case, placing dashboards, AI agents and Data Apps inside your own product through the Lightdash SDK, which supports configurable row-level security, user attributes and customer-facing permissions, the trio an embedded analytics deployment actually needs before it can face customers. Together these move Lightdash from an internal dashboard tool toward a platform whose definitions end up in front of external users, governed the whole way.

Cloud, or Docker and Kubernetes on your own metal

Deployment offers the standard three speeds. Lightdash Cloud is the recommended path, a hosted workspace in minutes with managed upgrades and the advanced features ready, aimed at teams that want the platform without operating it. Self-hosting runs on Docker or Kubernetes, with a production deployment checklist in the documentation and a separate helm-charts repository for the Kubernetes route, and enterprise features arrive on self-hosted deployments through a license key. Local development is a clone and one script, ./scripts/install.sh, with the contributing guide carrying the full workflow. The docker-compose file sketches the minimum stack, a PostgreSQL database, a MinIO object store for S3-compatible storage with expiring buckets, and the Lightdash container wired to both through environment variables covering database credentials, secrets, license keys and OAuth providers.

A TypeScript monorepo with release-safety machinery

The stack listing is refreshingly specific: React, Mantine, Vite and TanStack Query on the frontend; Node.js, Express, TSOA, Knex and PostgreSQL on the backend; warehouse adapters for BigQuery, Snowflake, Redshift, Databricks, Postgres, Trino and ClickHouse among others; and a CLI, MCP server, SDKs, Git integrations and content-as-code workflows as first-class citizens. The repository itself is a pnpm and turbo monorepo on Node 24 with TypeScript 7, oxfmt and oxlint for formatting and linting, and a set of files you rarely see elsewhere, release-safety.json with declarations, overrides and an index, machinery for making frequent releases safe to ship. The agent-native posture is visible in the tree, .agents, .claude, .cursor, .zed and .amp directories, AGENTS.md, CLAUDE.md, CODING_STANDARDS.md, a CONTEXT-MAP.md and an agent-harness, and the examples directory ranges from a full Jaffle Shop demo to MetricFlow, Snowflake and upgrade-automation templates.

Three releases before dinner

Release velocity is the operating headline: versions 2.378.0, 2.379.0 and 2.379.1 were all tagged on 2026-09-29, with the repository pushed the same day, and the version counter standing at 2.379 documents years of continuous daily shipping behind the current major. A CHANGELOG rides along, and the community surface spans Slack, templated bug and feature issues, a contributing guide and company presences on LinkedIn and X. The license posture deserves precision: the README calls it an open-source core, GitHub reports no recognized license for the repository as a whole while the package manifest declares MIT, and enterprise deployments add commercial features under a license key. Against GUI-first open-source BI like Metabase and Superset, the difference is where work starts, in a defined, versioned context layer reviewed through Git rather than in a visual editor, and that choice suits teams whose analytics already live beside their code.

Editorial conclusion

Choose Lightdash when your data team wants analytics to move like software, metrics defined once in a governed layer and consumed by dashboards, agents and embedded products alike, with changes reviewed in pull requests. Choose Metabase or Superset when the organization wants GUI-first BI without a code-centric workflow, since those tools start from visual building rather than a defined context layer. Verify first whether your deployment needs the enterprise features gated behind a license key, confirm your warehouse has an adapter among the supported eight, and read the production deployment checklist before self-hosting.

Frequently asked questions

What is Lightdash?

Lightdash is an open-source agentic BI platform that builds governed metrics, dashboards, AI agents and data apps from a shared context layer defined in dbt projects or Lightdash YAML. Analytics ship through Git, CI, the lightdash CLI and an MCP server.

Is Lightdash open source?

The core BI platform is open source and self-hostable with Docker or Kubernetes. GitHub reports no recognized license for the repository overall while the package manifest declares MIT, and enterprise deployments add commercial features gated by a license key.

How do you use Lightdash?

The fastest path is Lightdash Cloud, a hosted workspace, or the live demo at demo.lightdash.com. Self-host with Docker or Kubernetes using the self-hosting guide and Helm charts, and build analytics with the lightdash CLI, whose install-skills, preview and validate commands drive the Git-based workflow.

Official sources

  1. Issues
  2. lightdash/lightdash on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/lightdash-lightdash.svg)](https://hysenlabs.com/projects/lightdash-lightdash)