latitudeclub

Mastery · Track: data engineering · lesson 10.1 open

Where AI agents fit into data engineering

Real use cases, what infrastructure each requires, and where NOT to use an agent.

Promise: a map of data agent use cases—with risk, reward, and prerequisites—so you can choose your first one with clear criteria.

Why this is a differentiator

Almost every data engineer already uses coding assistants. Far fewer ship production agents on enterprise data, with evaluation, access control, and measured cost. That is the kind of experience verified in a 45-minute interview, because it requires architectural decisions and not just tools. Lesson 9.4 covers how to prove this; this module covers how to build it.

This module is conceptual and architectural. Tools and versions change fast; what lasts are the principles (contract, validation, evaluation, governance).

What an agent is, for this module

A program in which a language model decides which tools to call, and in what order, until a task is completed. In data, tools are typically queries, analytical APIs, catalog searches, and quality checks.

Use cases

Use caseInputOutputRiskPrerequisite
Natural language questions about metrics (NL→SQL or NL→API)analyst questionnumber or table + explanationwrong answer that looks rightcurated metric definitions; evaluation
Pipeline diagnosticsdelay or failure alertroot-cause hypothesis + log linksincorrect hypothesisread-only access to logs and metadata
Documentation and lineagetables and jobsdescriptions and dependency mapincorrect descriptionhuman review before publishing
Quality triagedata test resultsseverity classification + suggested actionfalse negativelabeled historical data
Test and migration generationschema and rulescode for reviewplausible and incorrect codeautomated validation + review

Where NOT to use an agent

A selection rule

Score from 0 to 2: (a) does the task have a verifiable answer? (b) is an error cheap? (c) is evaluation data available? (d) is the time saving recurring? Total ≥ 6: good candidate. Below that: automate with traditional code.

Do this now

List five repetitive tasks from your data team, score them using the four questions, and choose the best candidate. Write in one sentence how you would know if the agent was accurate.

Checklist

Lessons cited by number that are not in the library yet open later.

Checked on 05/10/2026. Educational content; tax and legal: confirm with a professional.