In LLM applications, what is an AI agent?
Show the answer and explanation
Correct answer: C, A system where an LLM decides its own next steps in a loop, using tools and their results to work toward a goal.
Explanation AI Agents
An AI agent is an LLM running in a loop: it decides on an action (often a tool call), the application executes it, the result is fed back as an observation, and the model decides again until the goal is reached or a stop condition fires. Anthropic's Building effective agents (2024) describes agents as systems where the LLM dynamically directs its own process and tool use.
Why the other descriptions are wrong:
- Model size does not make something an agent; the loop with model-chosen steps does. A small model can drive an agent, and a huge model answering once is not one.
- Agents normally do not update their weights at run time; what they "remember" lives in the context and in external stores.
- A single call, however long the prompt, has no loop and gets no feedback from tools or the environment.
Interview tip: summarise it as "LLM + tools + loop + goal", and mention that a stop condition such as a step limit is part of the design.