LLMs in the Control Plane, Not Data Plane

This title was summarized by AI from the post below.

Most agentic data pipelines fail in production because the LLM is doing too much. Not because the model is bad. Because it's in the wrong place. I rebuilt a broken Airflow operator as an agent that fetches NetFlow data across 70+ Kubernetes clusters every day. The architectural decision that made it work: LLMs belong in the control plane. Not the data plane. Here's what that means in practice: → The outer loop (LLM) decides which cluster to fetch next, when to pause, when to deprioritize: once per cluster, not once per API call → The inner loop (deterministic code) handles the actual fetching, 429 backoff, window shrinking, no reasoning required → The state dict passed to the LLM contains cluster priorities, API health trends, time remaining, and not individual window results The first production run completed 2 of 68 clusters. That failure taught me more about where LLM reasoning actually belongs than anything I read about building it. Full breakdown: the architecture, the bugs, and the one case where the LLM caught something no threshold would have is in the article linked in the comments 👇 Join the Data Engineer Things community by Xinran Waibel to find more of these insightful blogs. #dataengineering #agenticai #llm #airflow #platformengineering

  • diagram

To view or add a comment, sign in

Explore content categories