Workflow
AI engineering
icon
Search documents
Agents vs Workflows: Why Not Both? — Sam Bhagwat, Mastra.ai
AI Engineer· 2025-08-01 16:00
AI Agents and Workflows Debate - The industry is currently engaged in a debate regarding the roles and effectiveness of AI agents versus workflows, sparked by differing viewpoints from Anthropic and OpenAI [1][2][3][4] - The industry should avoid dogmatic approaches, recognizing that there isn't one single "right" way to develop AI systems [5][6][7][8] - The industry should be cautious of overly complex APIs (like those relying heavily on graph theory), as they can hinder readability and team collaboration [9][10][11][12][13] Design Patterns for AI Systems - The industry needs a commonly accepted vocabulary and glossary for agentic patterns and agentic workflow patterns [14][15] - Agents can be viewed as turn-based systems, while workflows are akin to rules engines managing dependencies [16][17][18] - Workflows are gaining popularity in AI engineering due to the need to trace and manage non-determinism, which is more critical in AI than in traditional software engineering [19][20] - Balancing power and control is a key trade-off in designing AI systems; starting with powerful models and adding control where needed is a viable strategy [21][22] Composition and Implementation - Agents and workflows can be combined in various ways: agents can be steps in workflows, workflows can be tools for agents, and so on [23][24][25] - The agent supervisor model involves an orchestrator agent calling other agents as tools [25] - Dynamic tool injection, where agents are given a limited and relevant set of tools for a specific task, can improve performance [26] - Nested workflows, where a workflow is a step within another workflow, are also valuable [26][27] - Practical experience and community knowledge are currently more valuable than theoretical correctness in this rapidly evolving field [28][29]
Good Demos Are Important — Sharif Shameem, Lexica
AI Engineer· 2025-07-19 16:00
[Music] All right. Hey everyone. Uh, my name is Sharief. I'll be talking to you about demos and why I think demos are probably the most important thing in the world right now. Um, I'm the founder of Lexica. We're working on generative models, specifically image models. Um, but I kind of want to just talk to you about something a bit more than just models themselves. Um, even more than demos. I kind of just want to talk to you about curiosity. Um, there was a famous French mathematician Poare. He said at the ...
X @Avi Chawla
Avi Chawla· 2025-06-26 06:48
10 GitHub repos that will set you up for a career in AI engineering (100% free): ...