Ology

From Question to Evidence: Building Agents That Can See, Select, and Defend

AI agents that answer questions by selecting, generating, critiquing, and explaining data visualizations

5 sessions · 13 readings · 491 views

Curated by Julia Hart

The Agent Must Choose a Pathsession 1Evidence Before Aestheticssession 2When a Chart Becomes an Argumentsession 3Make the Chart Defend Itselfsession 4Trust the Trace, Not the Polishsession 5

Opening

Question-driven visualization is becoming an agent problem rather than a charting problem. Recent systems can inspect schemas, retrieve relevant data, execute code, generate notebooks, choose visual forms, and continue investigating when an intermediate result looks wrong. The important shift is that the agent is no longer merely rendering a chart from a prepared table; it is helping decide what the table should contain.

That shift makes the task deceptively difficult. A question such as “Which routes are most unreliable?” requires definitions, joins, filters, aggregations, and comparisons before visualization begins. The resulting chart may be technically correct yet answer the wrong question, conceal uncertainty, or omit the comparison that makes the evidence meaningful.

The newest systems also make their own workflows part of the product. OpenAI’s internal data agent exposes analysis traces and evaluates generated queries against expected results; notebook-based systems use executable artifacts as both working memory and evidence; other systems send generated plots back through a vision-language model for critique. These approaches disagree about how much autonomy, structure, and explanation an agent needs.

The seminar therefore follows one central problem: how can an agent move from an ambiguous question to a selective, well-encoded, self-criticized visualization without confusing plausible analysis with warranted evidence?

Five questions worth arguing about

  1. 1Should a visualization agent be autonomous, or should its analysis path be constrained by a workflow?
  2. 2Does better context selection matter more than a stronger model for finding the evidence a question actually needs?
  3. 3Can chart selection be treated as a reasoning decision rather than a final formatting step?
  4. 4What would make an agent’s critique of its own chart evidence-based instead of merely stylistic?
  5. 5How should we evaluate an agent when a plausible chart hides a wrong query, aggregation, or omitted comparison?

The Sessions

1Session 1start here

The Agent Must Choose a Path

The problem

A question-driven visualization system cannot begin with a chart type. It must decide whether to retrieve metadata, inspect the schema, search for definitions, write code, query a database, ask for clarification, or iterate after seeing an unexpected result. The first design choice is therefore architectural: should the system follow a predictable pipeline, or should the model decide dynamically what to do next?

Anthropic’s architectural distinction between workflows and agents provides the useful baseline. Fixed workflows offer predictability and easier testing, while autonomous loops offer flexibility when the number and order of analytical steps cannot be known in advance. OpenAI’s internal data agent shows why the latter can be valuable: open-ended questions require table discovery, contextual interpretation, query execution, and course correction rather than a single text-to-SQL conversion.

The tension is not autonomy versus simplicity in the abstract. It is whether the uncertainty lies in the user’s question, the data environment, or the analytical path. The next session examines how much of that uncertainty can be reduced before the model ever starts reasoning.

2Session 2

Evidence Before Aesthetics

The problem

Before an agent can decide what to visualize, it must decide what information belongs in its working context. Schema descriptions, metric definitions, sample values, prior analyses, query results, and execution errors all compete for limited attention. Supplying everything is not the same as supplying the evidence that matters.

Anthropic’s account of context engineering treats context as a resource to curate rather than a container to fill. Its emphasis on just-in-time retrieval and progressive disclosure maps closely to data analysis, where loading an entire dataset or schema can be less useful than navigating it through targeted queries. LangChain’s CSV benchmark exposes the practical consequences: seemingly simple questions fail because of names, truncation, ambiguous interpretations, or the wrong division of labor between retrieval and code execution.

Hugging Face’s Jupyter Agent adds a training perspective. If agents are expected to reason through notebooks, then the notebook is not just an output format; it becomes a structured trace of evidence, transformations, and intermediate decisions. The unresolved question is whether better scaffolding and context selection can compensate for model limitations—or whether they merely make failures more elaborate.

3Session 3

When a Chart Becomes an Argument

The problem

Chart selection is often presented as a mapping from question categories to visual forms: trends become lines, comparisons become bars, proportions become pies, and correlations become scatters. That framing is useful for a prototype but insufficient for serious analysis. A chart also encodes decisions about aggregation, granularity, grouping, scale, uncertainty, and what will remain invisible.

LangChain’s data visualization agent makes those decisions explicit by connecting question parsing, table retrieval, SQL generation, result validation, and chart recommendation. Its practical value lies less in its chart taxonomy than in showing where visualization belongs in the analytical loop: after the system understands the question and produces a result, but before the answer is treated as complete.

Google’s visualization products show the emerging product direction: charts and interactive reports are generated specifically for a user’s question, sometimes alongside explanations or simulations. But these examples also sharpen the seminar’s concern. A custom visual may feel more relevant while making its assumptions harder to inspect. The question is whether generative interfaces improve understanding by adapting the display—or risk turning presentation fluency into a substitute for analytical discipline.

4Session 4

Make the Chart Defend Itself

The problem

A generated chart can be syntactically valid, visually attractive, and analytically unhelpful. Self-critique therefore needs to examine more than colors, labels, and layout. It should ask whether the plotted result corresponds to the intended query, whether the aggregation hides important structure, whether the scale exaggerates a pattern, and whether another view would better answer the question.

NVIDIA’s Data Explorer offers a concrete architecture for this idea: after code execution produces a plot, a vision-language model describes the visual output and suggests improvements before the agent continues. This creates a feedback loop between the artifact and the reasoning process. Yet the post leaves open how reliably visual critique can detect semantic errors that are invisible in the pixels themselves.

Hamel Husain approaches the same problem from the standpoint of verification. His data-agent design advocates exposing assumptions, intermediate calculations, queries, breakdowns, and unresolved uncertainties through a notebook-like interface. The disagreement is productive: one approach asks another model to inspect the chart, while the other asks the product to make the underlying analysis inspectable by a human. The final session turns this difference into an evaluation problem.

5Session 5finish here

Trust the Trace, Not the Polish

The problem

Evaluation becomes difficult precisely when agents become useful. A final answer may be correct for the wrong reason, a chart may be persuasive despite a flawed query, and a successful run may depend on a brittle sequence of tool calls. Evaluating only the rendered visualization misses the trajectory that produced it.

Anthropic’s evaluation framework separates tasks, trials, graders, transcripts, outcomes, and harnesses, making clear that agent quality cannot be reduced to one final string. For visualization agents, that implies evaluating at multiple levels: question interpretation, evidence selection, query correctness, aggregation, chart appropriateness, explanation, and recoverability after failure. OpenAI’s internal data agent demonstrates one practical strategy by comparing generated SQL and resulting data against expected analyses rather than relying on textual similarity.

OpenAI’s broader agent evaluation work pushes the question beyond correctness on curated examples toward realistic data-science tasks. The remaining challenge is normative as much as technical: should an agent receive credit for discovering a useful pattern that was not specified in advance, or should evaluation privilege reproducibility and predefined answers? A trustworthy visualization agent may need both—freedom to explore and evidence that lets others reconstruct, challenge, and revise what it found.

Interested in joining a reading club with top AI experts?

Small groups, great readings, real conversations. Learn faster and grow your network.

A friend that hands you reading lists, not search results.

© Ology 2026