How AI Agents Work: The Model, Tools, Memory, and Control Loop An AI agent combines a model with instructions, tools, memory, and a control loop. Understanding how those parts interact explains both the power of agents and the ways they fail. Published: 2026-09-05