Back to experience
Micron TechnologyIn user acceptance testing

LLM Data-Validation Agent

An agent that tells engineers why their sensor file failed validation, so they can fix it themselves instead of waiting on me.

My role: Self-initiated, sole builder of the agent and its custom tools

~1 week → 1–2 days
time to diagnose a bad file
3
tools, one agent
0
pass/fail decisions made by the model
Google ADKGeminiBigQueryPython

Problem

  • Engineers upload messy sensor files. The validation pipeline said a file failed, never why.
  • Every bad file escalated to me, at ~1 week per diagnosis. I was the bottleneck, so I started this myself.

Figure 1: The diagnosis loop before and after. Purple is the agent's step.

What I built

  • A Google ADK agent on Gemini with three custom tools that diagnose a failed file in one session.
ToolWhat it does
File parserReads the uploaded sensor file into structured rows
Database lookupChecks values against reference data in BigQuery
ValidationRuns the existing validation pipeline, so the pass/fail call stays deterministic

Solution architecture

Figure 2: One agent, three tools. Purple is what I built. Blue already existed.