Skip to main content

Analyze Using Dremio's AI Agent

Dremio's AI agent is built into the Dremio console and lets you work with your data end to end — from exploring and analyzing to creating and troubleshooting — entirely in natural language, without writing a single line of SQL. The AI agent only operates on data and entities that you have the privileges to access or modify.

Open the AI Agent

You can access the AI agent by typing a question into the chat on the AI agent page in the Dremio console.

note

To use the AI agent, you must be granted CALL MODEL on the default model provider. See Configure Model Providers for setup instructions.

Use the AI Agent

Manage your conversations – The AI agent keeps a history of your past chats. You can start a new chat for a different task, return to a previous conversation to pick up where you left off, and rename or delete chats to stay organized. Use the search bar in the agent chat to quickly find a past conversation.

Reference datasets with @ – Type @ in the chat box to trigger autocomplete and reference a specific table or view in your prompt. This helps the agent focus on the exact data you want to work with instead of searching across your entire catalog.

Audit the SQL – When the agent writes and executes SQL, you can expand the AI agent actions in the chat window to review exactly what query was run and how the results were generated.

Add local files – Add CSV, JSON, or Parquet files to a chat to preview and analyze them with the AI agent.

Reuse task instructions with skills – Create personal skills for repeatable workflows, select a skill in chat by typing /, or let the AI agent apply relevant skills automatically.

What the AI Agent Can Do

Dremio's AI agent can help you with core workflows such as discovering and analyzing data, modifying data models, creating visualizations, and troubleshooting query performance. Each section below includes example prompts to help you get the most out of the agent.

Discover and Explore

The AI agent helps you discover available data by breaking down table schemas, identifying relevant tables and views, and surfacing patterns in your data. The agent uses wikis and labels as well as sampling to determine relevance.

Okay PromptGreat Prompt
What tables can I use?Which tables or views have customer location data?

Analyze

The AI agent writes and executes SQL on your behalf based on your natural language input and the information available from the AI Semantic Layer. You can also add CSV, JSON, and Parquet files from your computer to a chat when the data you want to analyze is not yet in Dremio.

To add local files to a chat:

  1. In the AI agent chat box, click +, then select Add files.
  2. Drag files into the file area, or browse to select them. You can add up to 10 files to a message, and each file can be up to 500 MB.
  3. Click Add files.
  4. Enter a prompt about the files, or send the files without a prompt.

The files appear as attachments in the chat box before sending the message. You can select a file to preview or remove it from the chat.

Okay PromptGreat Prompt
I want to see an analysis of customer activityI want to see an analysis of customer purchase activity by region, by customer type for each month of the year.
Which customers are the most valuable?Which customers have spent the most with us over the lifetime of the relationship?
Analyze the attached sales fileAnalyze the attached sales file, identify monthly revenue trends and unusual changes, and summarize the three most important findings.

Visualize

The AI agent generates visualizations based on your natural language input. You can specify chart type, axis requirements, grouping, and trendlines. Each visualization is accompanied by insights that explain the patterns the agent found.

Once a visualization is created, you can:

  • Toggle between the chart and a table view of the underlying data
  • Download the underlying data as a CSV
  • Ask follow-up questions to refine or change the visualization
  • Save the visualization to your catalog to share it with others as a live, always-current metric

When you save a visualization, it is added to your catalog and always reflects the latest underlying data when opened. You can control who can view or edit it by managing privileges on the visualization. For more information, see Visualization Privileges.

The agent supports these chart types: bar, line, area, scatter, pie, and heatmap. It can also create diagrams like flowcharts and entity-relationship diagrams when prompted or when it determines a diagram would be helpful.

Okay PromptGreat Prompt
Visualize the dataVisualize the data as a bar chart with month on the x axis and sum of purchase value as the y axis
Create a visual trendline showing me the activityCreate a visualization with a trendline showing customer activity by month

Create and Manage Data

The AI agent can execute write operations on your behalf, including DML operations such as inserting, updating, or deleting records, as well as DDL operations such as creating, altering, or dropping tables and views.

Before running any write or schema-changing operation, the AI agent pauses and presents the operation for your review. You can execute it or request changes — nothing runs until you approve it.

note

Your existing Dremio access privileges apply. If you don't have the required permissions to perform an operation, the AI agent will not be able to run it on your behalf.

You don't need to specify every detail — the agent can take on complex, multi-step operations from a high-level description. It will work out the structure and present each operation for your review before anything is executed.

Okay PromptGreat Prompt
Set up a medallion architecture for my weather dataCreate a medallion architecture using @raw.nyc_weather to build daily, monthly, and yearly statistical views for temperature, precipitation, and wind. Start at the Bronze layer.
Update the sales tableUpdate the @quarterly_sales table to set status = 'closed' for all records where close_date is before 2024-01-01 and status is 'pending'.
Delete old records.Delete all records from the @customer_orders table where order_date is before January 1, 2022.

Troubleshoot and Optimize

Ask the agent to review SQL queries or past jobs to identify bottlenecks and suggest optimizations. For more information, see Explain SQL and Explain Job.

If the AI agent is unable to access a table or view, verify that you have the necessary privileges on that object. The agent can only operate on data you are authorized to access.

Review Engine Information

When you troubleshoot a slow or failed job, you can ask the AI agent for engine information to check whether the engine is available and whether its settings match the workload. You can list engines to find the engine name or ID, then ask for details about a specific engine. Engine details can include status, size, replica settings, and configuration information. For more information, see Manage Engines.

Okay PromptGreat Prompt
List my engines.List my engines and show each engine's status and size so I can choose one for a workload.
Show details for an engine.Show details for the engine named [engine-name] so I can check its status and replica settings.

Tips for Better Results

  • Be specific when updating or deleting – For operations that modify or remove existing records, include clear conditions and filters so the agent affects exactly the right data. For creation tasks, a clear description of your intent is enough. The agent will work out the structure.
  • Include business context – Use the terms your team uses. The agent reads wikis and labels to understand your business terminology.
  • Ask follow-up questions – The agent maintains context within a conversation. You can refine results with follow-ups like "break that down by product category" or "now show that as a line chart."
  • Ask for explanations – If you're unsure about the results, ask "explain how you got this" or "show me the SQL you used."
  • Use skills for repeatable workflows – Create a skill to give the agent reusable instructions for analyses you run regularly.
  • Configure project contextProject context lets you set instructions that influence how the agent responds for all users in the project.
  • Verify the output – Generative AI can make mistakes. Always review SQL queries, data interpretations, and proposed write operations carefully before approving them.

Skills

Use a skill to have the AI agent repeat a workflow. A skill describes the context the AI agent should use, the steps it should follow, and how it should format its response. Skills are personal to your account and are available across any project in your organization.

When you do not explicitly select a skill, the AI agent uses skill descriptions to determine which skills to apply. Write clear, specific descriptions that explain what each skill does and when it should be used. Applied skills appear in the Context section of the response, where you can select them to view their details.

You can create, edit, and delete skills by asking the AI agent in chat, or manually from the Skills page in the sidebar of the AI agent page.

Create a Skill

Ask the AI agent to help define a skill when you know the workflow you want to reuse but do not yet have complete instructions. Open the Skills page, click Create skill, and select Create with AI agent to start from a guided prompt, or select Create manually if you already have the Skill name, Skill description, and Instructions ready.

You can also ask the AI agent to create a skill from any conversation. This is useful when you want to reuse the workflow or result format from the current conversation.

Okay PromptGreat Prompt
Create a skill for the weekly sales review.Create a skill for this weekly sales review. It should use the same datasets and metrics, compare the results with the previous week, and return a summary table followed by three key takeaways.

Edit a Skill

Describe the changes to the AI agent in a chat, review the proposed revision, and approve it. The AI agent preserves fields that you do not ask to change. To edit a skill manually, select it on the Skills page, click This is the icon that represents more actions., and select Edit.

Okay PromptGreat Prompt
Update my weekly_sales_review skill to compare the same week last year.Update my weekly_sales_review skill to include a comparison with the same week last year and add a section for unusual changes that need investigation.

Delete a Skill

Deleting a skill permanently removes it. Ask the AI agent to delete a skill and approve the deletion, or select the skill on the Skills page, click This is the icon that represents more actions., select Delete, and confirm.

Project Context

A user with the ADMIN role or OWNERSHIP privilege on the project may configure project context, which is a set of instructions that influences how the AI agent reasons and responds for all users in the project. This can affect the agent's focus, terminology, and how it interprets your questions.

To view the project context for your project, go to Admin > Project > AI. For configuration instructions, see Configure AI Agent Project Context.

Custom Instructions

You can add custom instructions that tell the AI agent about you or your working style. Your custom instructions are personal to your account and apply to AI agent conversations in every project in your organization. For example, you can specify preferred terminology, response style, or time zone.

Use custom instructions for personal preferences that should apply to every conversation. If project context conflicts with your custom instructions, project context takes precedence.

To add or update your custom instructions:

  1. In the Dremio console, click the User icon (user initials) in the side navigation bar and select Account settings.
  2. Select AI personalization in the account settings sidebar.
  3. In Custom instructions, enter the instructions that you want the AI agent to follow.
  4. Click Save.

To clear your custom instructions, delete all text from Custom instructions and click Save.

Limitations

  • Large tasks: The AI agent may not complete very large or highly complex tasks in a single session. For multi-step analyses, consider breaking your question into smaller parts and iterating across multiple prompts.
  • For AI agent usage limits, see Limits.