An AI agent is an AI model that uses tools and takes actions in a loop to reach a goal, instead of only chatting.