The work AI and data

Agents for the routine, analysts for the judgement

2026 · Digital Science · Director of Analytics

I built agents that answer product teams’ routine questions and draft metric designs, with an analyst approving each design before anything is built.

It looked like

A capacity problem: a backlog of data modelling nobody had time for, and a steady stream of questions from product teams.

What was going on

Most of those questions were routine, and the routine was crowding out the work only an analyst can do: deciding what to measure, working out why something moved, and telling a product team what to do about it. New metrics needed modelling work that sat in a backlog of GitHub issues, because nobody on the team had time for it alongside design and stakeholder work.

What I did

It started as two experiments against live BigQuery. The first answered questions in plain English. A small set of agents sat behind it: one routed each question, one turned simple lookups into SQL, one planned the follow-up queries a comparison or a trend needs, and one checked the outputs before anything was shown. A safety layer blocked anything destructive. Findings were stored, so what one question uncovered was there for the next.

The second drafted metric designs from GitHub issues. It read the issue, ran discovery queries to understand the tables and events involved, and posted a full design as a comment. Then it waited for an analyst to approve it. Only after approval did it write the model, add the metric to production and raise a pull request. If the analyst asked for changes, it read the thread and posted a revised design.

What made them worth trusting was the groundwork underneath: a modelled metrics layer with agreed definitions, so the agent reads from the same answers an analyst would. Then came a framework for the harder cases, so that when the answer isn’t sitting in the metrics layer the agent knows how to find its way round the warehouse and dig. The agents read documentation of the warehouse as they work, and a missing table or field was logged for an analyst to pick up.

Questions

  1. Question in Slack
  2. Agent
  3. Metrics layer, with agreed definitions
  4. The warehouse, if it isn’t there
  5. Answer, back in Slack

Modelling

  1. GitHub issue
  2. Agent drafts a design
  3. Analyst approves it
  4. Agent builds the model
The white step marks where a person decides: nothing is built until an analyst approves the design.

Now

People ask a question in Slack and an agent answers it, from the metrics layer where it can and by digging deeper where it can’t. Drafting a design from an issue, or building the model from one, is routine, with an analyst reviewing before anything is built.

Most of the product teams’ questions are handled this way, by agents the team built and maintains, and the analysts spend their time on more impactful analysis.

Back to AI and data