An AI agent is a loop with write access
The word agent now covers everything from a FAQ box to a system that moves money. The line that matters is whether the thing can change state, and what you can check when it changes the wrong one.
Someone shows you a chat window. You type a question about shipping times, it answers in good Spanish, and the slide says AI agent. Nothing in that demo told you whether the thing can do anything. It read a page and wrote a sentence. A search box with better manners does the same work.
The useful definition is narrower and it is about permission. An agent is a model running in a loop, with a set of functions it is allowed to call, and a condition that stops it. If none of those functions change anything in your business, you have a reader. If one of them creates an appointment, issues a refund, or marks an invoice paid, you have an agent, and you now own a new category of mistake.
What the loop actually is
The mechanics are boring, which is good. A request comes in. The model decides whether it needs a tool. The tool runs — a database query, an HTTP call to your booking endpoint, a message send — and returns a result as text. The model reads that result and decides again: another tool, or an answer. Repeat until it answers or hits a limit you set on steps, time or money.
What makes it an agent rather than a script is that the model chooses the order and the number of steps. That is the whole difference, and it is not always an upgrade. If the sequence is always check inventory, then reserve, then confirm, write that as three lines of code and use the model only to read the customer's message. A fixed sequence you can test beats a flexible one you cannot.
Where it stops being clever
- It knows what is in the prompt and what the tools return. Nothing else. No inventory tool means it either refuses or makes a number up, and which one it does depends on how carefully you wrote the instructions.
- It is not deterministic. The same question on Tuesday can take a different path than it did on Monday, which makes testing a matter of running things many times, not once.
- It cannot tell your clean data from your dirty data. If two customers share a phone number in your CRM, the agent will confidently pick one.
- Every step costs latency and money. A five-step loop that answers in eight seconds will lose a WhatsApp conversation that a two-step loop keeps.
So most of the work is not AI work. It is writing the tools, deciding what each one is allowed to touch, and logging every call with its arguments so that a human can reconstruct what happened on Thursday at 4pm.
If the agent only reads, you are building search. That is genuinely useful. Just scope it and price it as search.
How to tell a real implementation from a demo
In a demo, the questions are chosen. Bring your own, and bring the awkward ones. These five take about ten minutes and they separate a working system from a convincing one:
- Ask for something outside its tools. A refusal is a good sign. A confident invented answer means nobody wrote the fallback.
- Ask for the same action twice in a row. Two bookings for the same slot means there is no idempotency anywhere behind the chat.
- Change your mind mid-conversation. Book Thursday, then say no, make it Friday, before confirming. Watch whether it cancels the first one.
- Ask to see the tool log for that conversation: which function, which arguments, which result. If there is no log, the system cannot be debugged and cannot be audited.
- Ask what the agent does when the tool times out. The honest answer is a specific one: it retries once, then hands to a human, and the customer is told.
One more thing in the interest of not doing what we just criticised. The sample systems at /demos on this site are mock interfaces with invented data. They show the shape of a product, not its behaviour, and they are not running agents. Judging an implementation means judging it against a live backend, with your records in it.
Start with one action
Pick the narrowest action somebody on your team repeats ten or twenty times a day and that has a clean undo. Rescheduling. Checking an order status and replying. Creating a ticket from a message. Give the agent that single tool, log everything, and leave the rest as a handoff to a person. You will learn more in two weeks of that than from six months of planning a system that does everything.
