A clear mental model of AI agents: how models, tools, memory, and loops come together to solve complex tasks step by step.