The AI engineering landscape has recently been abuzz with a perceived dichotomy: should AI systems be architected as autonomous, ReAct-style agents, or as structured workflow graphs? At the AI Engineer World's Fair, Sam Bhagwat, co-founder and CEO of Mastra.ai and author of *Principles of AI Agents*, offered a refreshing perspective, cutting through the noise with sharp analysis and practical wisdom. He dismissed the agents-versus-workflows debate as "kinda dumb," advocating instead for a synergistic approach.
Bhagwat set the stage by referencing two recent industry publications that fueled the contention. Anthropic's December blog post, "Building effective agents," provided a canonical definition of both agents and workflows, complete with illustrative diagrams. However, OpenAI's subsequent April paper on building agents was, as Bhagwat noted, "less well received," largely due to its "anti-workflow language." This sparked a backlash, with many in the community feeling that OpenAI was muddying the waters by dismissing established, effective patterns.
