Build agents, not pipelines
Pipelines use code-defined control flow for LLM programs; agents let the LLM manage control flow with tools. Pipelines are predictable but rigid, while agents are smarter and more flexible at the cost of unpredictable latency and cost. The author recommends using agents when in doubt.