What Makes an AI Agent: Planning, Tools, and Memory Explained architecture mlops Sep 21, 2024 First article