From Chatbots to AGI: The Rise of Intelligent AI Agents