AI agents for everything: the overengineering trend

A startup spent months on guardrails for generating files that a simple template handled. Here is why the simplest-solution rule still matters.

A startup spent months building guardrails to generate infrastructure configuration files. When it swapped everything for a simple template, the result was 100% correct. The story comes from a piece by Micheal Lanham, and it illustrates a habit that has become a trend: putting an AI agent on every problem, even when a script or a query would do better.

Where the trend comes from

AI agents are systems that chain calls to language models, decide on steps, and use tools to reach a goal. They look impressive in demos, so it is tempting to treat them as a universal fix. When the boss sees a demo, the question shifts from “does this need AI?” to “why don’t we have an agent yet?”

The effect resembles what happened with blockchain and chatbots. A new technology becomes the default answer, and anyone who questions it looks behind the times. The result is a team spending weeks on a problem that would fit in a spreadsheet.

The rule almost nobody follows

In December 2024, Anthropic published “Building effective agents,” with a direct recommendation: find the simplest solution possible and increase complexity only when needed. According to AionSec, which cites that text, this may mean not building agentic systems at all.

There is an important caveat. Anthropic’s own page indicates that its current approach has changed since publication. So treat the rule as an engineering principle, not a fixed recipe. What remains useful is the order of questions: the problem first, then the tool.

When AI is too much

The startup case shows the pattern. Time went into sophisticated guardrails for a task that a template handled predictably. A developer also reported replacing an AI feature with about 40 lines of SQL. Nobody needs a model to add up orders by region.

Lanham also claims that agents cost 3 to 5 times more to build and run. That is the author’s estimate, without a primary source, so treat it as a warning rather than a measurement. What can be said safely is that each extra layer, such as multi-step reasoning, validation, and monitoring, adds time, cost, and maintenance.

There is also a cost the demo hides. An agent that occasionally errs needs human review, logs to investigate failures, and tests that shift with every model update. A script doing the same job is dull but predictable. In production, predictability often matters more than cleverness.

That kind of spending is easy to hide. Nobody puts the extra hours of reviewers, or the monitoring dashboard someone must check every week, on the slide. By the time the bill arrives, the project already has a name, a budget, and defenders, and cutting it becomes politically expensive.

How to decide

Before starting a project, answer three questions. Does the task have clear rules that code can handle? If so, start there. If the task requires reading natural language or handling exceptions that do not fit rules, a simple model with a fixed workflow may be enough. Only if a fixed workflow falls short should you consider an agent, with metrics that show whether it improves results.

A third question helps a lot: what happens when it goes wrong? If mistakes are cheap and easy to review, experimenting with an agent makes sense. If errors touch money, customer data, or infrastructure, simplicity carries even more weight.

Hurry is the enemy here. Teams that start with an agent miss the chance to discover the problem was smaller than it looked.

Takeaway

AI agents are powerful tools, but they have a cost. The question that saves money is the simplest one: does this problem really need an agent? Often the answer is no, and a template, a query, or a form does the job with less risk.

Sources

  • Anthropic, “Building effective agents” (December 2024; the page notes a change in approach)
  • AionSec, commentary on the simplest-solution rule
  • Micheal Lanham, “AI Agents vs Scripts” (Medium; publication date not confirmed)
  • A developer’s dev.to account of replacing an AI feature with SQL
Keep readingSee all →