"AI agent" has become one of the loosest terms in software right now. A single LLM call behind a nice UI gets called an agent just as often as a genuinely autonomous system. That's a problem, because the two behave - and fail - completely differently.
The one-line test
If a system doesn't run this loop, it isn't an agent:
perceive -> decide -> act -> observe -> decide again
Perceive : read a file, call an API, query a database, check a message queue.
Decide : choose the next action based on a goal, not a fixed script.
Act : actually do something in the world - not just generate text about doing it.
Observe : look at what happened and feed that back into the next decision.
A chatbot that answers one question does steps "perceive" and "decide" in the loosest sense and then stops. There's no observe, no re-decide, no loop.…