Fixed chain or agent? Stop at the first step that works
Not everything needs an AI agent. Hardly anything does.
When people talk about AI in business, the word that comes up most is "agent". But a program with AI inside can be built in two very different ways, and the difference matters: for cost, for errors and for whoever has to maintain it.
Two ways to build
A fixed chain always runs the same steps in the same order. You decide the steps. The AI does part of each step, for example reading an email and pulling out the order data, but it doesn't choose the path.
An agent receives a goal and decides on its own what to do. It uses tools (reading a file, searching the system, writing a draft), checks the result and picks the next step. It stops when it's done or hits a limit.
In a chain the steps are written up front. In an agent the AI picks the next step based on the result.
A chain is predictable, cheap and easy to check. An agent is flexible, but costs more, is slower and fails in less predictable ways. So the rule is simple: start from the simplest solution that works.
The ladder
Before thinking about an agent, climb this ladder one step at a time. Stop at the first one that solves the problem.
Every extra step costs more to build, test and maintain.