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.
What this agent actually does, step by step.
- 01
Receives (query, dataset_ids[], context) via callSpecialist()
- 02
Picks an analytical SoQL shape: count + group by, percentile_disc, year-over-year delta
- 03
Hits the cache layer first; falls through to live Socrata when stale
- 04
Computes confidence based on row count + null density
- 05
Surfaces caveats when columns have >20% nulls or values look bucketed
- 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.
Live TS implementation — dataAnalyst()
Last 12 runs that touched this agent.
auto-refresh 60s
03:29 AM
Replay →Which zip had the highest simultaneous spike in permits and violations?
22 events · 6wtj-zbtb
03:28 AM
Replay →Which restaurants in 78704 have shown the most improvement over 2 years?
19 events · ecmv-9xxi
03:27 AM
Replay →Which request type has seen the largest increase in Dallas this year?
11 events · gc4d-8a49
03:26 AM
Replay →Which agency saw the largest percentage increase in spending this year?
12 events · 2zpi-yjjs
03:26 AM
Replay →Which agency has seen the largest increase in expenditures since 2023?
12 events · 2zpi-yjjs
03:25 AM
Replay →What were the top 3 months for noise complaints in Austin vs Dallas?
17 events · gc4d-8a49
03:25 AM
Replay →What trends have emerged in franchise tax holders over the last year?
11 events · 9cir-efmm
03:24 AM
Replay →What specific crime types have increased in 78744 vs 78704 since 2024?
13 events · fdj4-gpfu
03:23 AM
Replay →What is the trend of food truck permits in 78702 over the last year?
17 events · 3syk-w9eu
03:23 AM
Replay →What are the trends for the top complaint type in District 3 over the year?
15 events · xwdj-i9he
03:22 AM
Replay →What are the top crime types in District 1 compared to District 2?
12 events · fdj4-gpfu
03:18 AM
Replay →What are the top 3 fastest-growing permit types in 2023?
12 events · 3syk-w9eu