The downsides of AI agents, read on four dials

By Christophe Paka · Facts checked on 23 October 2026

The agent works, but each answer takes longer than the old workflow did. The bill changes from day to day. And when a run goes wrong, nobody can say if the prompt, a tool or the model caused it.

These are the downsides of AI agents, and they come as a set. An agent is a program where the AI model, not your code, picks the next step. The more the model decides, the more you pay on four dials. The figure draws all four, with one needle for each kind of system.

Four dials: latency, cost, determinism and debuggability. On each, a solid needle for one prompt or a workflow points toward better, and a dashed needle for an autonomous agent points toward worse.
Figure 3.2 The four dials: latency and cost show on the invoice; determinism and debuggability show up during the incident.
Use this diagram on your site

Free to share in your blog post, docs, course or slides, as long as the credit link stays. Paste the code below where the figure should go.

How to read this figure

  1. Read the axis and the key first. An arrow along the bottom runs from your code decides, in purple, to the model decides, in orange. Above it, a key: a solid line marks one prompt or a workflow, a dashed line an autonomous agent. On every dial, better sits left and worse right. The needles only show which way each dial turns, not how far: all four turn the same way at once.

  2. Latency, the first dial. Latency is the time a user waits for an answer. The solid needle leans to better; the dashed one leans to worse. One call becomes many, each waiting on the result of the last. The note under it: you cannot cache a decision. A cache keeps a saved answer to reuse, but the agent picks its next step fresh from each new result.

  3. Cost, the second dial. An agent works in a loop: the model picks a step, your code runs it, and the result goes back in. A turn is one round of that loop. Every turn rereads the whole history, which keeps growing. So cost grows faster than the step count: in the book's cost chapter, doubling the turns of a run triples its input bill. Retries and dead runs bill too. Why agent cost curves upward works the numbers.

  4. Determinism, the third dial. Determinism means the same input gives the same output every time. An agent can take a different path, and a different number of steps, on the same input. The note under it: twice is not proof of anything. Two good runs do not promise a good third.

  5. Debuggability, the fourth dial. Debuggability is how fast you can find why a run went wrong. The fault is somewhere in twenty steps: the prompt, a tool, the context, or the model. A normal program that crashes prints the line where it broke. An agent run that goes wrong prints nothing like that. Read one failed run, step by step to see how to find it.

Key takeaways

  • Weigh the four dials out loud before you approve an agent: latency, cost, determinism, debuggability.
  • Track cost per completed task, not the price of a single model call.
  • Decide how you will read a failed run before the first incident, not during it.

Try this: set the four dials for one real task

Take one task from your own work that someone wants automated. You need a pen and a page, no code.

  1. Write the steps a workflow would run, and count the model calls a user waits for. That is your latency floor.
  2. For cost, note that each agent turn rereads the history, and add room for retries.
  3. For determinism, ask whether two runs on the same input must match, such as a refund amount.
  4. For debuggability, name who will read a failed run, and from what record.

Expected result: Expected result: four short notes, one per dial, and a clear view of which dial this job cannot afford to turn. Keep that part of the job as a workflow.

Questions readers ask

AI agents are eating my API budget alive. Why do they cost so much more?

Every step resends the whole history, so the cost grows faster than the step count. Retries and dead runs are billed too. So compare the cost per completed task, not the price of one call. A workflow with one model call reads the input once.

When an agent fails, was it the prompt, the model or a tool?

Any of them, and the error alone will not say. A broken workflow has a line number. A broken agent has a path of many steps, and the fault may be the prompt, a tool, the context or the model's choice. You find it by reading a trace: a record of every step the run took, in order.

What specific problem should an AI agent solve?

One where the trade pays. Three things should line up. The variance is real, so a step list would be guesswork. The feedback is fast and cheap, so the agent can tell whether it is on track. And the environment is one you control. Coding fits: the tests grade every attempt.

Sources: Building effective agents (Anthropic); A practical guide to building agents (OpenAI, PDF).

This figure is from AI Agents Made Crystal Clear, chapter 3.

The chapter builds the idea step by step, with recipes you can follow, a Try it to check yourself, and every source.

Get the book

All diagrams