When an agent is the wrong answer
Agentic has become the default architecture, and most of the time it is the expensive way to build something a flowchart would do better. One question tells you which you need.
Somewhere in the last two years, "we should make it agentic" stopped being a design decision and became a starting assumption. I have made it myself, and I have sat in rooms where nobody asked the obvious question until quite late.
The question is this. Is the path actually unknown when you are designing the system?
If you can draw the flowchart, write the flowchart. A model looping over a set of tools, choosing which to call, is a general solution to the problem of not knowing what comes next. If you do know what comes next, you are paying the full cost of that generality for nothing.
What the generality costs
It is worth being specific about the bill, because it tends to be discussed as though it were free.
You lose determinism. The same input can produce a different path on Tuesday than it did on Monday. For a drafting tool that is tolerable. For anything with a number at the end of it, you have just made your output unreproducible, which means you cannot tell a regression from the model having a different idea.
Debugging changes character. A deterministic pipeline that breaks gives you a stack trace. An agent that goes wrong gives you a transcript, and you get to read it like a detective novel to work out which of eleven steps made the bad choice. I have spent afternoons on this. It is not a good use of an afternoon.
Your testing burden grows faster than your feature does. Every tool you hand the agent multiplies the paths it can take, and each one needs an eval. The surface you have to be confident about is combinatorial while the thing you shipped is linear.
Latency and cost scale with indecision. A five step chain of model calls to do what three functions would have done is slower and more expensive at every single invocation, forever.
And trust gets harder to earn. This is the one I care most about. A tool whose reasoning changes between runs is a tool people learn to double-check, and a tool people double-check is one they eventually stop using.
The test I actually apply
Before deciding, I write down the decision points. Literally, in a list. For each one, I ask whether the set of possible branches is finite and known to me right now.
If every branch is enumerable, it is a flowchart. Write the code. You will get determinism, a stack trace, cheap tests and a system you can explain to a skeptical stakeholder in one diagram.
If the branching genuinely depends on content you cannot see until runtime, and the space of reasonable next moves is too large to enumerate, that is where an agent earns its cost. Open ended research across sources you did not pick in advance. Picking among many tools when the right one depends on what an earlier step turned up. Recovering from a failure whose shape you cannot predict.
The honest observation is that when I do this exercise properly, most of my candidate agents turn out to be a switch statement that wanted to feel modern.
A worked example
Surge Sentinel, a cyclone impact prototype I built, is the clearest version of this I have on hand.
It would have been easy, and briefly tempting, to make the whole thing an agent. Hand a model the terrain data, the satellite layers and the forecasts, give it tools, ask it to work out what is at risk, and let it reason its way to an advisory.
I did not, and the reason is worth stating plainly. The hazard modeling and the exposure scoring are deterministic and inspectable. Which substation sits in a flood path is not a judgment call, it is geometry. If a district officer is going to act on a ranking, that ranking has to be reproducible and auditable, and I have to be able to explain exactly why that road came third.
So the model does the part it is genuinely better at. It reads the hazard field and drafts the advisory, turning a technical output into clear language for a specific audience under time pressure. That is an unbounded language problem with no single correct answer, which is exactly the shape that justifies a model.
Deterministic spine, model at the edges. I keep arriving at this shape.
The self-serve analytics tool I built works the same way. The model handles the language, understanding the question and drafting the query. The metric definitions underneath are fixed, and the query is checked against them before it runs. It cannot quietly invent its own version of a number, because the number is the part people have to trust.
The useful middle
The framing I want to resist is agent versus no agent, because the answer is almost always neither.
What works is deciding, per step, which side of the line that step sits on. Fix the parts where correctness is checkable and reproducibility matters. Use the model where the input is unstructured, the output has no single right answer, and a human reads the result before anything happens.
That middle ground is less satisfying to describe. It does not demo as well. But it produces systems you can debug on a bad day, and it keeps the parts people have to trust in territory where you can actually prove them right.
The question underneath
Why agentic has become the default is not really a technical question. It is partly that it is genuinely new and interesting to build. It is partly that it is easier to fund.
Which is fine, as long as somebody in the room is still asking whether the path is unknown. Usually it is not, and usually the better system is the boring one with a model doing the one job that needed a model.