Unity Agent

Ask questions, get answers you trust.

Unity Agent turns a plain-language question into verified SQL, charts, and insights — from the same live warehouse your data team already trusts.

What were total sales by region for Q4, and which region grew the most compared to Q3?

1
SELECT
2
region,
3
SUM(sales_amount) AS total_sales,
4
SUM(CASE WHEN quarter = 'Q4' THEN sales_amount ELSE 0 END) AS q4_sales,
5
SUM(CASE WHEN quarter = 'Q3' THEN sales_amount ELSE 0 END) AS q3_sales
6
FROM retail.fact_sales
7
WHERE fiscal_year = 2025
8
GROUP BY region
9
ORDER BY total_sales DESC;

This query aggregates sales from the fact_sales table by region for fiscal year 2025. It compares Q4 and Q3 totals so you can spot which region had the strongest quarter-over-quarter growth.

Natural-language questions

Business teams ask in English. The agent writes the SQL and stays on your schema.

Verified SQL you can inspect

Every answer shows the query and a plain-language explanation before anyone acts on it.

Charts and follow-ups

Visualize results in one click, then keep drilling with suggested next questions.

Steerable instructions

Domain rules and certified metrics keep the agent on your definitions, not a guess.

See the SQL the agent ran

Inspect the query, the result table, and the chart — then share a trusted answer instead of a screenshot.

What were total sales by region for Q4, and which region grew the most compared to Q3?

Template SQL and forecast in one answer

Adjust region and year on templated SQL, refresh the table, and extend the series with a forecast — without leaving the conversation.

Parameters
1
SELECT
2
DATE_TRUNC('month', sale_date) AS month,
3
SUM(sales_amount) AS sales_amount
4
FROM retail.fact_sales
5
WHERE region = {{region}}
6
AND fiscal_year = {{year}}
7
GROUP BY 1
8
ORDER BY 1;
#
No data to show
Total

Ready to make self serve analytics a reality for your company?

Deploy Unity Layer AI agents and empower your business and data teams with fast and accurate AI insights

Get Started