Skip to content

When NOT to use an AI agent: 7 tasks where script wins

Seven concrete task classes where deterministic code beats an AI agent on cost, speed and reliability, plus the hybrid pattern that gets you both.

I use AI agents in production every day: this site is written, built and published by an agentic pipeline based on Claude Code. So what follows is not spectator skepticism. It is the list of tasks I took away from the agent after giving them to it, because a script did them better, faster and for free. The contrarianism here is practical, not ideological: the moment you understand when NOT to use an agent is the moment you start using it well.

The rule I distilled from a year of practice fits in one line: if you can write the acceptance test before you start, and the task repeats identically, you do not need an agent at runtime. You need a program.