dac  by bruin-data

AI-powered dashboard-as-code tool for interactive data visualization

Created 2 months ago
682 stars

Top 49.3% on SourcePulse

GitHubView on GitHub
Project Summary

DAC is a Dashboard-as-Code tool enabling users to define, validate, and serve interactive dashboards using YAML and TSX configurations. It targets engineers and data teams seeking standardized, reviewable dashboard creation, particularly when leveraging AI agents, and offers a built-in semantic layer to streamline metric definition and SQL generation.

How It Works

DAC allows dashboard definition via declarative YAML or dynamic TSX, supporting complex UI logic like loops and conditionals. It integrates an AI agent (Codex/Claude) for conversational dashboard building and updates. A core feature is the built-in semantic layer, where metrics and dimensions are defined once in semantic/ and reused across widgets, with DAC automatically generating the necessary SQL queries for supported databases like PostgreSQL, MySQL, Snowflake, BigQuery, and Redshift.

Quick Start & Requirements

Install the latest stable DAC release using curl -fsSL https://raw.githubusercontent.com/bruin-data/dac/main/install.sh | bash. The installation script ensures the Bruin CLI is available, which DAC uses for query execution. To start a new project, run dac init my-dashboards, navigate into the directory, and then execute dac validate --dir . followed by dac serve --dir . --open. Runnable examples are available under the examples/ directory.

Highlighted Details

  • Dashboard definition via YAML or TSX, enabling dynamic UI elements.
  • Integrated AI agent for conversational dashboard creation and modification.
  • Built-in semantic layer for centralized metric and dimension management, automating SQL generation.
  • Broad database support through the Bruin ecosystem.

Maintenance & Community

The project includes documentation source (docs/), a contribution guide (CONTRIBUTING.md), and a security policy (SECURITY.md). Specific details regarding active maintainers, community channels (like Discord or Slack), or sponsorship are not explicitly detailed in the README.

Licensing & Compatibility

DAC is licensed under the AGPL-3.0-only license. This strong copyleft license may impose restrictions on integration with closed-source applications or commercial use without adherence to its terms.

Limitations & Caveats

The tool relies heavily on the Bruin ecosystem for database connectivity and query execution. The AGPL-3.0-only license requires any derivative works or modifications distributed to be made available under the same license. Telemetry is enabled by default but can be disabled via environment variables (TELEMETRY_OPTOUT or DO_NOT_TRACK). Specific limitations regarding alpha status or known bugs are not detailed in the provided README.

Health Check
Last Commit

23 hours ago

Responsiveness

Inactive

Pull Requests (30d)
20
Issues (30d)
6
Star History
683 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.