Research and Data Agents

3 patterns for this issue

Goal: A research or data assistant shows the evidence and the method behind every answer, so the user can judge whether to trust it.

Why this family exists

Research and data assistants answer questions with numbers and summaries. The user usually cannot see the query, the definitions, or the sources that were left out. A wrong join, a private meaning of “active user”, or a summary built from sources that all agree can all look like a confident answer. This family covers the three written so far. The rest are catalogued in the agent types roadmap (GitHub); two of them are already covered by a chat example on an existing pattern page.

How we measure it

Shared metrics the patterns below report against. Targets are starting points to tune on your own data, unless a source is given.

MetricTargetDefined in
Result accuracy on a labeled query set95% or higher (starting point)wrong joins and double counting (GitHub)
Answers that use the governed definition100%wrong business definitions (GitHub)
Judge-rated balance on contested questions90% or higher rated balanced (starting point)one-sided or cherry-picked sources (GitHub)

Patterns

PatternOne line
Wrong joins and double counting (GitHub)A query runs but returns wrong numbers, narrated with confidence; show the SQL, state what is counted, run sanity checks
Wrong business definitions (GitHub)Uses the wrong meaning of “active user”, “revenue”, or “churn”; use the company’s governed definitions
One-sided or cherry-picked sources (GitHub)A research summary presents selected evidence as balanced; show disagreement and source quality

Chat examples on existing pages

Planned (not yet written)

None listed here. See the roadmap (GitHub) for the rest.