Agentic AI-Enabled Autonomous and Self-Optimizing Data Engineering for IoT-Driven Cloud Data Platforms
Abstract
The rapid growth of Internet of Things (IoT) devices has created continuous, high-throughput data streams that often exceed the capacity of traditional, fixed cloud data pipelines. These pipelines typically require manual effort for data intake, resource management, and troubleshooting. This paper introduces an AI framework that operates autonomously and self-improves for data engineering on IoT cloud platforms. The framework comprises cooperating software agents: a Planner Agent, Executor Agents, a Monitor/Self-Healing Agent, and a reinforcement-learning (RL) Self-Optimization Agent. Together, these agents decompose data-engineering goals into task plans, manage ETL/ELT operations across cloud data lakes, warehouses, and feature stores, detect data-structure changes and pipeline issues, and adjust pipeline settings to reduce cost and delay, all coordinated through a shared policy and context store. A feedback system sends cost, delay, and reliability data to the RL agent, enabling ongoing pipeline improvement without human intervention. We built a test setup combining an MQTT/Kafka-based IoT data intake layer with a cloud lakehouse to compare the framework with fixed and rule-based autoscaling methods. The evaluation simulated up to 200 virtual IoT devices sending real-time telemetry. It ran each configuration across 20 independent trials, measuring pipeline delay, throughput, cloud processing cost per million events, and anomaly/failure detection accuracy for reproducibility. Results show the framework reduces total pipeline delay under heavy IoT loads, boosts throughput by over 230 percent at peak, and lowers cloud processing costs per million events by 74 percent after RL tuning, compared to basic pipelines. For detecting anomalies and failures, the agentic monitor scores 0. 0.94 on the F 1 metric, beating static-threshold, isolation-forest, and supervised deep-learning methods. These findings show that agentic, self-improving control offers a strong way to scale cloud data engineering for modern IoT needs.