AI agent

An LLM-driven loop that reasons about a task, chooses an action, executes it, observes the result, and decides what to do next, repeating until the task is done, instead of answering in one fixed step.

See it explained in full