Agent
A model put in a loop with tools: it plans, calls a tool, reads the result, and repeats until the task is done or it gives up.
The loop is what makes it an agent — the same model answering one question is just a chat. Each turn it sees the conversation so far plus the output of the last tool call, so a wrong assumption early on compounds. Claude Code, Cursor and Codex CLI are agents with a shell, a file editor and a search tool wired in. What keeps one useful is the bounds around it: permissions, a plan you approved, a place to stop.