top of page

AI Agents for Data Analysis: What Works, What Fails, and Why (2026)

  • doramadhusudan
  • Aug 7
  • 9 min read

Updated: 4 days ago

An AI agent for data analysis is a system that answers business questions from your data by planning the work, writing and running the queries, and validating the result, without a human writing SQL. Unlike a dashboard, which answers questions you anticipated, an agent answers questions you did not.


That is the promise. The reality is more specific, and more useful to know before you buy anything.


The number most vendors will not show you

The best-published text-to-SQL system scores **91.2% on Spider 1.0**, an academic benchmark with small, clean database schemas. The same o1-preview-based code-agent framework scores **21.3% on Spider 2.0**, a benchmark built from 632 real enterprise workflows where schemas average around 800 columns. On BIRD, which sits between the two in difficulty, it scores 73.0%.


Benchmark

What it tests

Best published accuracy

Spider 1.0

Small, clean academic schemas

91.2%

BIRD

Larger, dirtier databases

73.0%

Spider 2.0

632 real enterprise workflows, ~800+ columns

21.3%

Source: Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflows*, ICLR 2025 (https://arxiv.org/abs/2411.07763).


Read that gap carefully, because it is the single most important fact in this market. The model is not the variable. The schema is. A demo on a tidy sample database tells you almost nothing about how the same agent behaves on your warehouse.


And a wrong answer here is worse than no answer. A chatbot that writes a slightly awkward sentence is still useful. A data agent that generates syntactically valid but logically wrong SQL returns a plausible number, and nobody notices until a decision has been made on it.


Why AI agents for data analysis fail (it is almost never the AI)

Gartner predicts organizations that priorities semantics in AI-ready data will increase agentic AI accuracy by up to 80% and cut costs by up to 60% by 2027.


MCP and similar protocols solve connectivity. They do not solve meaning. An agent connected to your warehouse can find a table called `orders`, sum the `amount` column, and hand back a revenue figure that is 12% below what finance reported last week. Both numbers are defensible. One counts completed orders, the other counts invoice dates. Neither the agent nor the executive reading the answer knows which definition was applied.


This matches what we see in deployments. In our Fabric Data Agent optimization work, the AI performed exactly as designed. The problem was that it had too many decisions to make before it could answer anything. Asked to "show patient volume by department," the agent first had to work out which table held admissions, whether "department" meant clinical or billing, which measure represented volume, and which relationships to traverse. Every one of those unresolved decisions is extra reasoning, which means slower answers, higher compute cost, and more chances to be confidently wrong.


We did not fix that by changing the model. We fixed it by reducing the number of decisions the model had to make.


The four failure modes, in the order they bite

1. No semantic layer. The agent guesses at business definitions. Answers drift between users and between weeks.

2. Too much surface area. Exposing an entire warehouse means the agent spends its reasoning budget on disambiguation rather than analysis.

3. Missing descriptions. A measure with no description is close to invisible to an agent, because the description is what it reads to decide what a field means.

4. No row-level security. The agent inherits whatever access you gave it, which becomes a governance incident rather than an analytics one.


Notice that none of these are AI problems. They are all data-modelling problems, which is why buying a better agent rarely fixes them.


What AI agents for data analysis actually do well

The failure modes above are real, but so is the upside when the foundation exists. Four patterns hold up in production:


Ad-hoc questions that fall between dashboards: This is the strongest use case by a wide margin. Business questions rarely match a pre-built report. In a healthcare deployment we documented, managers previously spent 1–2 hours manually stitching PDF and Excel reports to answer questions like "how many patients took an examination but did not buy a product in June at Location A?" After deployment, that came back in seconds. At ten such questions a day, that is 10–20 hours of skilled staff time returned daily.


Anomaly monitoring: An agent can watch a metric continuously and alert with a breakdown attached, rather than someone discovering a problem in a monthly review.


Reducing the analyst request queue: Analytics teams commonly spend 40–60% of their time on one-off reporting requests. Absorbing the routine tail of that queue is where the measurable ROI sits.


Onboarding: A new analyst asking "how is LTV calculated here?" gets the definition, its location, and a worked example, without occupying a senior colleague.


What they do not do well: anything requiring judgement about whether a number should be trusted, causal questions where the answer is not in the data, or work on top of a data layer nobody has modelled.


The platform landscape in 2026

Every major vendor now ships a data agent. The meaningful differences are not in the language model, they are in what the agent is grounded on.

Platform

Grounding approach

Best fit

Microsoft Fabric Data Agent

Queries through a Power BI semantic model; generates DAX, T-SQL, KQL, or PySpark; inherits Fabric permissions

Organisations already on Fabric or Power BI with a modelled semantic layer

Databricks data science agent

Unity Catalog metadata and notebooks

Lakehouse-first teams with strong engineering capacity

Google Vertex AI / data analytics agents

BigQuery plus Looker semantic models

GCP-native stacks

Snowflake Cortex Analyst

Semantic model files defined per use case

Snowflake warehouses

ThoughtSpot, Tellius, Domo

Proprietary semantic layer with an external-layer connection

Teams wanting BI and agent in one product

LangChain / custom-built

Whatever you build

Product teams embedding analysis into their own software


The selection question that matters is not "which model is smartest." It is "what does this agent read to understand my business, and who maintains it?". Every platform in that table performs well on a curated semantic model and poorly on raw tables. Snowflake's own reported 90%+ accuracy figure, for example, is measured on a curated semantic model against an internal question set, which is exactly the point: the curation is doing the work.


If you are on the Microsoft stack, two comparisons are worth reading before you choose: Fabric Copilot vs Data Agent covers which of the two you actually need, since they serve different audiences, and what Fabric Data Agents cost covers capacity sizing, which is where budgets get surprised.


What an AI agent for data analysis costs

Two cost lines, and most teams only budget for the first.


Platform cost: On Microsoft Fabric there is no separate licence or per-message fee. Data agent usage draws Capacity Unit seconds from the Fabric capacity you already pay for, on any paid SKU from F2 up since April 2025. A reserved F2 is roughly $156/month on a one-year commitment. In practice a single question consumes somewhere between ~800 CU-seconds for a simple lookup and ~3,500 for multi-step reasoning, typically around 1,800. An F2 provides 172,800 CU-seconds per day, so one user asking ten questions daily uses about 11% of the budget, while five users asking twenty questions each will exceed it and throttle at peak. The full sizing breakdown is here


Modelling cost: This is the line that decides whether the project works. It is the effort to build conformed fact and dimension tables, define measures with plain-English descriptions, document relationships, and configure row-level security. It is unglamorous, it is not AI work, and skipping it is the reason most pilots die. It all starts with data strategy cosulting and data warehouse cosulting services


There is a second-order effect worth naming: ambiguity is expensive twice.*A poorly described model makes the agent reason harder, which consumes more compute and produces worse answers. Optimising the semantic model cut both simultaneously in our healthcare implementation, where questions initially consumed around 5,000 CUs each.


How to evaluate an AI agent for data analysis

A practical sequence that avoids buying the wrong thing:


1. Test on your own schema, never the vendor's demo dataset. Given the 91%-to-21% cliff, a demo on clean sample data is not evidence. Insist on a pilot against your real warehouse.

2. Write 20 questions your business actually asks before you see any product. Include the ambiguous ones. Score every candidate on the same list.

3. Check answers against a known-correct source. Not "did it return a number" but "did it return the right number." Have an analyst verify each one.

4. Test the same question twice, on different days. Consistency is a separate property from accuracy, and it degrades faster.

5. Ask what the agent reads for business context. If the answer is "the table and column names," expect drift.

6. Verify permission inheritance before pilot, not after. The agent should be unable to surface anything the asking user could not already access.

7. Instrument cost from day one. On Fabric, install the Capacity Metrics app immediately so you have real CU-per-query numbers instead of estimates.


Will AI agents replace data analysts?

No, and the teams treating it that way get worse outcomes. An agent absorbs the routine pull requests, which is where most analyst time is lost. It cannot judge whether a number is trustworthy, work out why churn moved, or design the semantic model it depends on. The work does not disappear, it moves up a level: from answering "what was revenue" to building and governing the layer that lets everyone else answer it themselves.


The pattern we see repeatedly is that every real question a business user asks an agent exposes a gap in the model. Fixing that gap improves the data asset permanently. The agent is not just a query interface, it is a continuous audit of how well your business logic is actually encoded.


The honest summary

AI agents for data analysis work, with one condition attached. Published benchmarks show accuracy collapsing from 91% to 21% when schemas go from academic to enterprise. Gartner expects 60% of agentic analytics projects without a governed semantic layer to fail by 2028. Our own deployments point at the same conclusion from the opposite direction: the wins came from modelling work, not model selection.


So the question to ask is not "which AI agent should we buy." It is "is our data ready for one?" Defined measures with descriptions, documented relationships, configured row-level security, consistent naming. Teams that do that unglamorous work first get agents that leadership trusts. Teams that skip it get a confident, plausible, wrong number, and a pilot quietly shelved two quarters later.


If you want the Microsoft-specific version of all this, start with what a Fabric Data Agent is and how it works


Frequently asked questions

What is an AI agent for data analysis?

It is a system that answers business questions from your data by planning the analysis, writing and running the queries, and validating the output, without a human writing SQL. It differs from a dashboard in answering questions that were not anticipated in advance, and from a chatbot in taking actions rather than only replying.


How accurate are AI agents for data analysis?

It depends almost entirely on your schema. Published research shows the best text-to-SQL systems reaching 91.2% on clean academic benchmarks but only 21.3% on Spider 2.0, built from real enterprise workflows with schemas averaging 800+ columns. Accuracy on a curated semantic model is far higher than on raw tables.


What is the best AI agent for data analysis?

There is no single best one, because grounding matters more than the model. Fabric Data Agent suits organisations already on Power BI or Fabric, Databricks suits lakehouse-first teams, Cortex Analyst suits Snowflake, and ThoughtSpot or Tellius suit teams wanting BI and agent together. Evaluate on your own schema with your own questions.


Do AI agents for data analysis need a semantic layer?

In practice, yes. Gartner predicts 60% of agentic analytics projects relying only on MCP will fail by 2028 for lack of a consistent semantic layer. Without one the agent guesses at business definitions, so answers drift between users and over time.


How much does an AI agent for data analysis cost?

On Microsoft Fabric there is no separate licence; usage draws Capacity Unit seconds from existing capacity, starting at F2 (about $156/month reserved). A typical question consumes around 1,800 CU-seconds. The larger cost is the data-modelling work required to make the agent accurate.


Can an AI agent replace my data analyst?

No. It absorbs routine data-pull requests, freeing analysts for work it cannot do: judging data trustworthiness, investigating causes, and designing the semantic model the agent depends on.


Ready to find out if your data is agent-ready?

Aptocoiner Analytics designs semantic models built for AI agents, for enterprises on Microsoft Fabric and Power BI. We have cut query response times from two hours to seconds and reduced per-query compute consumption substantially by fixing the modelling layer rather than swapping models.



Sources cited (all verifiable)


Spider 2.0, ICLR 2025 — arXiv:2411.07763. The 91.2% / 73.0% / 21.3% figures and the 632-workflow, 1,000+ column description.


*Gartner, May 2026 London summit — semantics raising agentic accuracy up to 80% and cutting costs up to 60% by 2027.



ai agents for data analysis

 
 
 

Comments


bottom of page