Data Analysis Agents

What is a Data Analysis Agent?

A Data Analysis Agent is an AI-powered agent designed to work directly with your enterprise databases. It understands your schema, analyzes structured data, and automatically generates insights, explanations, and visualizations using LLM capabilities.

In simple terms, you can ask questions about your data so you get answers, charts, and explanations without writing SQL.

How it works?

Data Analysis Agents automatically turn questions into insights by working directly with your database.

The agent understands your database schema, translates questions into SQL, runs the query safely, and presents insights with charts, tables, and explanations.

Data Analysis Agents generate and run SQL against the selected database objects. The agent can only use objects that are visible to the configured database data source user and selected during agent creation.

Use these practices for production data:

Create a Data Analysis Agent

Before creating a Data Analysis Agent, configure at least one database data source and confirm that the database user can query the tables or views you plan to expose. Prefer views when you need to restrict rows, columns, joins, or sensitive fields.

  1. Select Data Sources

    • Supports structured data sources such as Oracle Database 19c or later and database views.

    • See Database Data Source for more details.

    • Or use Sample Datasets that you can easily import to explore and experiment right away.

    Select Data Sources

  2. Select View/Table

    Select View/Table

  3. Define Agent Details

    • Assign a name and description to the data analysis agent.

    Define Agent Details

  4. Publish the Agent

    • After configuration, publish the agent to make it available.

    Publish the Agent

  5. Start Conversations

    • Interact with the agent and get answers based on the source data.

    NoteAn initial exploration is made when opening the chat for the first time.

    Initial Exploration

  6. Review Agent Results

    • Review LLM-powered explanations, self-generated visualizations, structured data tables, and SQL queries from results.

    NoteSome responses might not have Messages tab explicitly, that is because there is no other visualization to represent the answer.

    • LLM powered explanation

    LLM powered explanation

    • Self generated visualization

    Self generated visualization

    • Structured data

    Structured data

    • SQL Query

    SQL Query

  7. Filter Structured Data

    Filter Structured Data

  8. Run SQL statements

    Run SQL statements

Troubleshoot Data Analysis Agents

Symptom Check
A database source is not available Verify the source is a database data source and connection testing succeeds.
Tables or views are missing Verify grants for the database source user and select the expected objects during agent setup.
Joins fail or produce poor results Provide curated views with meaningful names and descriptions, or simplify the object list.
The generated SQL fails Inspect the SQL tab, verify object names and grants, and update the source objects or view definitions.
Initial exploration fails Check model configuration, database source permissions, and diagnostics logs.