Definition

What is agentic analytics?

Agentic analytics is analysis done by an AI system that takes a question, writes and runs the queries, checks its work, and returns a finished answer.

By Shane Butler, Co-founder, AI Analyst Lab. Published Sep 26, 2026, updated Sep 26, 2026.

The system doing the work is an AI analyst: a language model running in a loop with tools. It queries a warehouse, runs code, reads the metric definitions your team wrote down, and saves what it makes. The model does the execution. The people around it decide what the metrics mean and whether the answer holds.

You will also see it called an AI data agent or autonomous analytics. Augmented analytics, the term some BI vendors use, is something else: a dashboard with an alert or a chat box added, where the definitions, joins and charts were still built by hand ahead of time.

How it differs from a dashboard, a chat assistant and a person

An agentic analyst starts from the question and goes to the data, the way a human analyst does. The difference is that it has no sense that a number looks off unless you build one in as a check.

StepAgentic analystHuman analystDashboard (BI)Chat assistant
Takes the questionReads the question and asks what decision it servesAsks what decision it servesA person picks a dashboard and a filterA person pastes a table and asks
Picks the definitionReads the written definition, or guesses if there is noneAsks, or uses the team conventionFixed when the dashboard was builtGuesses from the pasted columns
Writes and runs the queryProfiles the tables, writes SQL, runs itWrites SQL, runs itPre-builtCannot reach the warehouse
Checks the numberReruns, traces and reconciles, if you built those checksSanity checks against numbers they knowOnly when a tile looks oddNot checked
Writes the memoA brief with a chart, the definition used, and a recommendationWrites itA person reads the tiles and writes itA paragraph about the pasted table
PublishesSaves to the project, exports to a doc, deck or SlackSends itAlready publishedCopy and paste

How the loop runs

The public AI analyst repo runs this loop when you type /analyst and a question. Other agents name the parts differently. What varies between them is how much of steps 2 and 4 exists.

  1. Frame the question. The agent asks what decision the answer serves before it touches data. "How is retention doing" becomes "should we spend the Q4 budget on winning back lapsed customers," which changes which metric it computes and over what window. When a question is too vague to pick a definition, the agent should stop and ask.
  2. Read the context. Before it writes SQL, the agent reads a .knowledge/ folder: schema notes, data quirks, the team's metric contracts, and a log of every correction a person has made. Without this step, four fresh ChatGPT chats asked the same question about the same file came back with three different active-customer counts, because each one chose its own definition.
  3. Profile, then query. The agent checks the tables it is about to use (row counts, date ranges, null rates, duplicate keys), writes the SQL, runs it, and pairs every number with a comparison: the prior period, a benchmark, another segment.
  4. Check the work. The number gets a trace back to the query and the rows. The agent reruns the question to see if the answer holds and reconciles parts to totals. In the public repo, a hook writes a line to a local log for every action the agent takes, so a person can read the exact query later instead of asking the model to remember it.
  5. Write and publish. A brief with the chart, the definition it used, the caveats and a recommendation, saved into the project and exported where the team reads. The brief names the definition so the reader can disagree with it.

Steps 1, 3 and 5 are what people mean when they say AI can do analysis now. Steps 2 and 4 are what we teach. Without them, step 3 produces a valid query on a guessed definition and step 5 dresses it up. How often that happens, and what fixes it, is on how reliable an AI analyst is.

One run of the loop, from a recorded workshop

In the May 20, 2026 session, Hai Guan ran the public repo in Claude Code against NovaMart, our synthetic course dataset, and asked it a "why did this change" question. Quoted lines are Hai's narration.

He started by asking what the data was about. The agent read the context in the repo and described a simulated online retailer with about 50,000 customers, 47,000 orders, 500 products and a paid membership "kind of like a $99 Amazon" Prime. Then he asked for ticket volume over time as a chart, and it showed a spike in June.

The question itself: "Can you do a root cause analysis on the payment ticket spike in June?" Before explaining the spike, the agent checked that it was real and sized it: "June payment jumped 41% of all tickets, July fell back down, crucially, attempts grew smoothly." Payment attempts growing smoothly rules out the easy explanation, that more payments simply produced more tickets. It cut the tickets by device, app version and order links, hit errors in its own code and fixed them without being asked, and came back with "Defective iOS app release, version 2.3.0." The spike was confined to iOS, the defect was fixed a few days later, and ticket volume went back to its baseline.

Hai's comment at the end: "Now, assuming this is all cool, like, we still have to check the work." The iOS 2.3.0 defect was planted in the data when we generated it, so this was a question with a known answer, and the agent found it. On your own warehouse nothing is planted. A run that finds the real cause and a run that tells a tidy story about a coincidence look the same on screen. The checks that tell them apart are on how to check an AI data analyst's answer.

Trying it

The public repo is MIT licensed and comes with no company data. Clone it, run /setup, connect a source, and ask a real question. The step-by-step build is on how to build an AI data analyst, and the Claude Code setup is on Claude Code for data analysis. We teach the loop in Agentic Analytics: Build an AI Analyst.

Questions people ask about agentic analytics

Is it the same as text-to-SQL?

Text-to-SQL is one step of the loop: turn a sentence into a query. Agentic analytics adds the steps a careful analyst puts around it. A text-to-SQL tool with no checking step hands you a valid query on a guessed definition.

Does agentic analytics need a semantic layer?

It needs written definitions the agent reads before it writes SQL. A folder of markdown or YAML files with one metric contract per metric is enough to start. A semantic layer product adds the joins and access rules on top. What a metric contract is

What does a person still own?

The question, the definitions, the quality bar, and the decision. The agent proposes questions and computes metrics. A person decides which question is worth asking, what active customer means here, whether the method is defensible, and what to do with the result. The eight steps, split between the AI and you

Where can I learn to build one?

The free Wednesday workshops cover one topic each and the recordings are on this site. Agentic Analytics: Build an AI Analyst is 5 weeks and 10 live sessions of 2 hours; you leave with a working system and its eval scorecard. Rated 4.9 out of 5 from 78 reviews on Maven. The course

Next cohorts start Oct 19 and Nov 2.

AI Analytics for Everyone
$1,800 · Oct 19 · ★ 4.9/5
Enroll on Maven
Agentic Analytics: Build an AI Analyst
$2,500 · Nov 2 · ★ 4.9/5
Enroll on Maven
Or come to a free workshop this Wednesday. Register free