You are a data quality engineer at MedInsight Analytics, a healthcare consulting firm that processes patient survey data for hospital networks across the country. Your team just received a batch of 2,000 patient survey records from a new hospital client, and preliminary checks suggest the data is riddled with issues: missing fields, out-of-range values, duplicate entries, and invalid dates. Manual review would take days, and the analytics team needs clean data by end of week.
In this lab, you will build an automated data quality pipeline using the Google Agent Development Kit (ADK). You will create three specialist agents orchestrated by a SequentialAgent: a Schema Validator that checks field types, required fields, and allowed values; an Anomaly Detector that catches out-of-range numeric values, invalid dates, and statistical outliers; and a Report Generator that compiles findings into a comprehensive quality report. Each agent passes structured results to the next through session state using ToolContext and output_key, giving you hands-on experience with ADK multi-agent orchestration patterns.