AI Agents for Data Analysis: A Hands-On Test of Which Ones Actually Do the Work
A hands-on comparison of three mainstream AI agents on a real data analysis task shows that conversational ability does not equal deliverable output. The article uses a deliberately tricky request — sales figures for a popular car brand, broken down by model — to expose how metric definitions (wholesale vs. retail vs. insurance registration) silently distort results. It then distills a reusable evaluation framework covering domain semantics, data accuracy and traceability, task decomposition with self-verification, and output readiness, plus practical prompt and testing advice for developers choosing an agent tool.
AI Agents for Data Analysis: A Hands-On Test of Which Ones Actually Do the Work
1. Why “can hold a conversation” is not the same as “can do the job”
Over the past year, a wave of agent products has hit the market, each claiming it can search the web on its own, call tools, and generate reports. The real question is different: when you hand one a concrete business request, can it deliver a result you can use as-is?
To find out, I designed a task that looks simple but hides a trap: pull the recent monthly sales figures for a popular car brand and output a breakdown by model. The task is representative precisely because it runs into one of the most classic pitfalls in the industry — metric definition.
2. The hidden trap in the task design
2.1 “Sales” is not a single number
In the automotive industry, “sales” has at least three common definitions:
- Wholesale sales: the number of vehicles the manufacturer ships to dealers, reflecting production and shipment capacity;
- Retail sales: the number of vehicles dealers sell to end customers, reflecting real market demand;
- Insurance registration data: counted from vehicle insurance records, an entirely independent metric.
The three come from different sources, mean different things, and can differ enormously in value. If the analyst does not pin down the definition in the prompt, or fails to verify which definition was used after receiving the result, the conclusions can be completely wrong.
2.2 How large the error can get
The gap between wholesale and retail essentially reflects channel inventory movement. When a manufacturer pushes stock into the channel, wholesale runs well above retail; when the channel is destocking, the reverse holds. In some months the two can diverge by double-digit percentages. If an analysis report presents wholesale figures as “sales,” every conclusion about “market performance” or “month-over-month growth” may be distorted.
3. Test results from three agents
I ran the same prompt against three mainstream agent products (referred to here as A, B, and C), focusing on three things: whether the data was accurate, whether the metric definition was understood correctly, and whether the output was directly usable.
3.1 Class A: right at the aggregate level, wrong in the details
A’s top-line totals were broadly correct, but there were problems:
- Incorrect line items: per-model wholesale numbers did not match the values disclosed by authoritative sources, and the breakdown for popular models was also inaccurate;
- Misread definition: it did not grasp what “sales” actually meant in the prompt, and delivered wholesale figures rather than the retail metric more commonly used to describe market performance.
This suggests Class A products have some capability at the information retrieval layer, but lack deep understanding of domain semantics, and did not label the metric or self-check before producing output.
3.2 Class B: every definition correct
B performed clearly better: all figures matched publicly verifiable authoritative sources, and it correctly identified that I wanted retail sales — neither wholesale nor insurance registrations. More impressively, it explicitly labeled the data source and the metric definition in the result, which made the output auditable.
3.3 Class C: bonus points on top of usability
Beyond accurate data, Class C products added structured output, chart generation, and an executive summary, so the result could go straight into a briefing deck.
4. An agent evaluation framework drawn from the test
The value of these three results is not “who won,” but the reusable set of evaluation dimensions they reveal.
4.1 Domain semantic understanding
Does the agent understand the industry meaning behind a business term? For example, in an automotive context “sales” more commonly refers to the retail metric. You can test this by planting an ambiguous term in the prompt and observing whether the model asks a clarifying question, states its assumption, or simply proceeds on its own interpretation.
4.2 Data accuracy and traceability
Good output must carry its sources. A practical verification pattern is to have the agent label the source of every key number, then cross-check with a second agent or a manual spot check. You can state this explicitly in the prompt:
Please output the following structure:1. Metric definition (specify wholesale / retail / insurance registration)2. Data table (with source labels)3. Uncertainty notes (which numbers have conflicting definitions or missing data)
4.3 Task decomposition and self-verification
The key difference in a highly usable agent is whether it runs an internal “plan–execute–verify” loop: decompose the task, retrieve the data, then sanity-check it (do the line items sum to the total? is the month-over-month change in a plausible range?) before producing output.
4.4 How usable the output is as delivered
Whether the final deliverable is structured, whether it includes the metric definition, and whether it can be pasted straight into a report — this is what separates a toy from a productivity tool.
5. Practical advice for developers
- Define the metric explicitly in the prompt: do not assume the model knows the industry default; write the definition out;
- Require source labels: any data output should include the source and the collection time;
- Use cross-verification as a safety net: check key numbers against two or more independent sources;
- Build your own evaluation set: turn frequent, error-prone business tasks into fixed test cases, and run them whenever a new tool ships, so selection decisions are based on data rather than impressions;
- Focus on failure modes, not success rates: knowing which categories of task an agent systematically gets wrong tells you more about whether you can trust it with a given kind of work than its average score does.
6. Conclusion
The capability boundaries of agent products are moving fast, but the evaluation methodology is stable: understand the metric, get the data right, trace the source, deliver something usable. Build this framework once, and no matter how the tools iterate, you can quickly judge whether one can actually do the work for you.
