Skip to main content

Documentation Index

Fetch the complete documentation index at: https://lightdash-mintlify-6e7b8d35.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Core capabilities

AI agents in Lightdash allow you to:
  • Ask questions in natural language - Simply type what you want to know about your data, like “What’s our total revenue by region?” or “Show me user growth over the last 6 months”
  • Get instant visualizations - Receive bar charts, time series, and tables automatically generated based on your questions
  • Explore interactively - Follow up with additional questions, drill down into specific data points, or request different chart types
  • Maintain conversation context - AI agents remember your conversation history, so you can build on previous questions and refine your analysis
  • Provide text-only responses - Get answers in natural language when visualizations aren’t needed
  • Guide you to the right data - Direct you to the most relevant explores or tables for your questions
  • Discover existing content - Find and share relevant charts and dashboards that have already been created in your project
  • Generate complete dashboards - Create multiple related visualizations at once that tell a cohesive story about your data, perfect for executive summaries or thematic analyses
As mentioned earlier, Lightdash agents use the semantic layer defined in your dbt models to understand your data structure, relationships, and business logic. This ensures that the AI generates accurate queries and visualizations based on your specific data context. So, when an Agent generates an answer, the output is a semantic query, not SQL! This means that you can easily swap between the conversational AI interface and the standard Lightdash exploration experience.

Suggestion chips

Suggestion chips are rolling out behind the ai-agent-suggestions feature flag. If you don’t see them yet, ask your organization admin to enable the flag for your workspace.
Suggestion chips are short, clickable prompts that appear above the agent chat input. They give you a starting point so you don’t have to begin every conversation from a blank box. Each chip is data-aware: it’s generated against your project’s explores, verified content, and your own recent threads, so the suggestions reflect what’s actually in your semantic layer.

When chips appear

  • Empty-state chips show on a new, empty thread to help you kick off an analysis.
  • Continue chips show after the agent replies and propose the most likely next step — a drill-down, a comparison, or a follow-up question grounded in the explore the agent just used.
  • Chips fade out while you’re scrolling back through long replies and reappear when you return to the input.

Chip types

  • Prompt chips send the chip’s label to the agent as your next message. They map to one of the agent’s tools (run a query, build a dashboard, find existing content, propose a semantic-layer change, or run SQL) and bias the agent toward that tool on the next turn.
  • Navigate chips appear only on the empty state and only when you have recent threads worth resuming. Clicking one opens that thread in a new tab. Navigate chips are marked with an arrow icon and always point to a conversation you authored.

Using a chip

Click a chip to either submit it as your next message (prompt chip) or jump to a recent thread (navigate chip). Prompt chips can be edited before sending — click the chip to drop the label into the input, then adjust the wording before pressing Send.

Configuring chips

Suggestion chips have no per-agent setting today. They’re generated automatically from: To shape the chips you see, curate verified questions and verified content for the topics your team asks about most — those are the highest-quality signals the chip generator uses.

Asking about a chart or dashboard

You can launch an AI conversation with a chart or dashboard pre-loaded as context. From the resource’s menu, click Ask AI Agent. This opens a new tab on the new-thread page for your default agent. The chart or dashboard appears as a pinned context card above the input, and the agent treats it as the subject of the conversation.
Ask AI Agent menu item on a saved chart

Pinned context

  • The pinned card stays visible above your message in the thread, so anyone reading later can tell what was being discussed.
  • Click the pinned card to open the chart or dashboard in a new tab.
  • The pinned context persists across follow-up messages — “now break it down by region” still refers to the originally pinned chart.

What you can ask

When you pin a saved chart, the agent can read its actual data (subject to your data access setting). It honors the chart’s saved filters, sorts, and custom metrics, so you can ask:
  • “Why is this trending up?”
  • “Are there outliers in this chart?”
  • “Compare this chart’s last 30 days to the previous period.”
If your agent has data access disabled, pinning still works — the agent sees the chart’s structure (name, dimensions, metrics) but no row values are sent to the underlying LLM.

Example use cases

Advanced visualizations with window functions

AI agents can handle complex analytical queries that would traditionally require writing intricate SQL or YAML configurations. In this example, we demonstrate building a 3-month rolling average visualization using nothing but natural language.
This demo shows:
  • Creating complex window function calculations with plain English
  • Building a 3-month rolling average without writing SQL or YAML
  • AI agent understanding your semantic layer context automatically
  • Generating production-ready charts from a single natural language query
  • No need to manually configure partitions, ordering, or frame clauses
  • From question to visualization in seconds, not hours

FAQs

  1. Does Lightdash store the query data?
Lightdash only stores simple one-line answers so you can look back at your conversation history. We also save the basic query info to recreate these when needed. The actual data and detailed results stays in your warehouse and gets pulled fresh when the results are revisited (unless data access is enabled).
  1. Can I assign a default agent?
You can assign your default agent in Ask AI by clicking the star by your agent’s name.
Set Default Agent
The default agent setting is per-user, per-project. There’s no project-wide default at the moment. If you haven’t set a default, there’s no predictable way to determine which agent appears first.

Known limitations

These limitations reflect the current state of AI agents as we continue developing and improving the feature. Many of these constraints will be addressed in future releases, so stay tuned! Your feedback and feature requests help us prioritize what to build next.

Data analysis and calculations

As mentioned in the FAQs, AI Agents currently work with your dbt model metadata rather than actual data values. This means they can’t perform forecasting, predictive analytics or custom statistical calculations. They also can’t create table calculations or custom fields on-the-fly.

Query and visualizations constraints

Results are limited by configurable query limits set at server level to ensure good performance. These limits can only be adjusted through environment variables at the moment. Agents can create tables, bar charts, vertical bar charts, line charts, scatter plots, pie/donut charts, and funnel charts, but don’t yet support custom visualizations or big number charts.

Data access and context

Agent access to your data is controlled thorugh tags in your dbt models. If certain fields aren’t accessible, check that they have the appropiate tags assigned to your agent. Agents don’t remember context between different conversation sessions. Each chat start fresh.