matteo daniel mezin.IT EN
← Back

Architecture · · 2 min read

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.

Fixed chain and agent comparedFixed chainStep 1Step 2Step 3always the same steps, decided by youAgentthe AI picks the stepUses a toolChecks the resultloops until done or a limit is hit
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.

The ladder: stop at the first step that works1Change the processno technology2A form or a sheetwith a reminder3Scriptalways the same steps4Document searchanswers from an archive5Skill run by handa written recipe6Agentonly if the steps change
higher = more cost to build and maintain
start here ↑
Every extra step costs more to build, test and maintain.
Book a call