Google Cloud is adding AI agents to Managed Service for Apache Airflow to investigate failures, assess environments, and create or migrate DAGs. A company blog example shows how these features could help data teams respond to growing workloads and prepare an Airflow upgrade.
The case study features Cymbal Shops, a fictional online retailer. Its hourly pipeline began failing after larger app events and a campaign increased the amount of data to process: the DAG loaded an entire hour of files into Pandas and combined them into one DataFrame. Google says Managed Airflow Agent correlated worker memory metrics with task retries and recommended, among other options, raising worker memory from 4 GB to 8 GB. The agent did not make the environment change itself.
For a longer-term fix, Google describes moving to Airflow 3 and event-driven processing: new files trigger runs, and dynamic task mapping processes one file per task. In the reported eight-times-peak load test, memory per task reportedly remained unchanged and below 1 GB; data reached BigQuery in minutes rather than after more than an hour.
Data Agent Kit is intended to create and migrate DAGs for a target version, deploy them, and verify that they load. The post also describes the agent identifying compatibility issues before an upgrade. These results come from a fictional scenario presented by Google. Original source at Google Cloud