05 From prototype to productLesson 2 of 410 minBeginnerHelps to have seen:Workflow or agent
When not to use an agent
- + conversation s01
The diagram shows: Customer (of the store), Agent (the loop: model and tools) and buscar_pedido (tool).
Highlighted: Agent.
Customer sends to Agent carrying "where is 4805?".
Agent sends to buscar_pedido carrying "buscar_pedido".
Agent sends to Customer carrying "in transit".
Added: conversation s01.
Step 1 of 9: Everything becomes a conversation
- Three questions before using an agent
- When a page or a button does it better
- Why the chat should not be the only door
- Where the agent pays off
- What Klarna and Gartner show about overdoing it
Store test conversations that a page or a button would handle the same, and the cost taken off the agent
Coming soon: I will measure this on the example agent and publish the number with the report.
The whole lesson as textEvery step, to read at once, search or print.
Everything becomes a conversation
The store put the agent in place of everything. "Where is my order 4805?" becomes a conversation: the model reads, calls buscar_pedido, reads again and writes the reply.
It works. But it takes two calls to the model, a few seconds of waiting and a small chance of error, to show a status that is already in the system.
Not every question needs a model.
Three questions before the agent
Is the input varied, in free language? Does the path change from one case to another? Is an occasional error acceptable?
If all three answers are no, the problem is a code problem: a page, a form, a . The agent is for when at least the input and the path vary.
Fixed input and a fixed path call for code.
Status is a page
"Where is my order?" has a fixed input, the order number, and a fixed path: look up and show. An order page does it.
No call to the model, an instant reply, always the same for the same order. And the customer does not even have to type.
If it is a lookup, show it.
Canceling is a button
"I want to cancel order 4809, I bought the wrong thing." If the order is being picked, the policy allows it. The rule fits in one line of code.
A "cancel" button that only shows up in that status does the same, without interpretation. The refund still goes through the same limit rules.
If it is a fixed rule, automate it without a model.
The chat as the only door
To "make the most of the agent", the store removes the status page and the button. Now everything goes through the chat.
The customer who only wanted to see the status has to type and wait. The agent gets more easy conversations, which cost money and sometimes go wrong. A worse product that looks more modern.
An agent is not the goal; a solved problem is.
Where the agent pays off
"I want to exchange the T-shirt from 4802 for an M and find out where 4805 is." Two requests, free language, a path that depends on what each order shows.
That does not fit in a button. In the test set, 20 of the 50 conversations are like this. By our count, only 5 of the 50 would fit in a page or a button.
Agent for the varied; code for the fixed.
Klarna: cost weighed too much
In February 2024, Klarna announced that its AI assistant was handling two thirds of support conversations, the work of 700 people.
In May 2025, the CEO said cost had weighed too heavily in the evaluation, and that the result was lower quality. The company started hiring so that there is always a person available. The assistant is still handling chats.
Measuring only cost hides quality.
Many projects that did not need to be agents
In June 2025, Gartner predicted that over 40% of agentic AI projects will be canceled by the end of 2027, due to rising costs, unclear business value or weak risk controls.
The analyst wrote that many use cases sold as agentic today do not need an agentic implementation. Our reading: the three questions keep you out of that statistic.
Start without an agent. Add one when you measure a gain.
Each request at the simplest door
By our count, 5 of the 50 test conversations are lookups or fixed-rule actions, like seeing the status or canceling before shipping. Those fit in a page or a button.
How to check your own case: separate the fixed-rule conversations, see whether the page handles them the same, and how much cost and time that takes off the agent.
Measure what you can take off the agent.
Questions in this lesson
- Fixed input, fixed path and errors not acceptable. What do you use?
- Code: a page, form or workflow. With no variation, the model only adds cost, waiting and a chance of error.
- Why not remove the cancel button to use the agent?
- Because it is worse for the customer and makes support more expensive. The agent knows how, but the button does the same, faster and without mistakes.
- What does the Klarna case teach?
- That measuring only cost can hide a drop in quality. The assistant is still handling chats. The CEO said cost weighed too much and quality dropped.