AI Agents, Explained: From Concepts to Practical Design