Data Analyst

Statistical reasoning

Owns analytical SoQL — deltas (yoy/qoq/mom), percentiles, correlations across datasets, top-N with ties broken. Returns structured findings + viz spec + confidence + caveats.

Triggered by orchestrator (delegate_to)on-demand

What this agent actually does, step by step.

  1. 01

    Receives (query, dataset_ids[], context) via callSpecialist()

  2. 02

    Picks an analytical SoQL shape: count + group by, percentile_disc, year-over-year delta

  3. 03

    Hits the cache layer first; falls through to live Socrata when stale

  4. 04

    Computes confidence based on row count + null density

  5. 05

    Surfaces caveats when columns have >20% nulls or values look bucketed

  6. 06

    Returns envelope: { findings: [{text, value, unit, baseline}], viz_spec, confidence, caveats }

Inputs & outputs.

Inputs

  • · query: string
  • · dataset_ids: string[]
  • · context: object

Outputs

  • · AgentEnvelope with findings + viz_spec + confidence + caveats

Where this agent lives in the codebase.

app/lib/specialists.ts

Live TS implementation — dataAnalyst()

Last 12 runs that touched this agent.

auto-refresh 60s

  • 07:49 PM

    Show austin crash report data trend over the last 24 months by quarter render this to a Miro board

    26 events · y2wy-tgr5

    Replay →
  • 07:49 PM

    How does 311 volume in flood-prone zips compare to the last year? render this to a Miro board

    18 events · xwdj-i9he

    Replay →
  • 07:48 PM

    How do food inspection failures this year compare to last year? render this to a Miro board

    11 events · ecmv-9xxi

    Replay →
  • 08:25 PM

    Show dallas police active calls trend over the last 24 months by quarter

    23 events · 9fxf-t2tr

    Replay →
  • 08:24 PM

    Show austin crash report data trend over the last 24 months by quarter

    24 events · y2wy-tgr5

    Replay →
  • 08:23 PM

    Top 5 outliers in texas state expenditures by county 2024 this year

    24 events · 2zpi-yjjs

    Replay →
  • 08:22 PM

    Show texas state expenditures by county 2024 trend over the last 24 months by quarter

    14 events · 2zpi-yjjs

    Replay →
  • 08:20 PM

    Show dallas 311 service requests trend over the last 24 months by quarter

    24 events · gc4d-8a49

    Replay →
  • 08:19 PM

    Show crime reports trend over the last 24 months by quarter

    22 events · fdj4-gpfu

    Replay →
  • 08:17 PM

    Show active franchise tax permit holders trend over the last 24 months by quarter

    20 events · 9cir-efmm

    Replay →
  • 08:16 PM

    Top 5 outliers in mixed beverage gross receipts this year

    22 events · naix-2893

    Replay →
  • 08:16 PM

    Join mixed beverage gross receipts with code violations by zip for the same period

    41 events · 6wtj-zbtb

    Replay →