Agents (general)
Also known as: AI agent
An agent is an LLM wrapped in a loop that lets it act, observe the result, and continue — rather than answering once and stopping.
The core loop:
- Perceive — read the goal and the current state.
- Decide — choose the next action (often a tool call).
- Act — execute the action.
- Observe — read the result, then go to 1.
Chatbot vs. agent: a chatbot answers; an agent *pursues a goal across multiple steps*. The loop is the whole difference.