AI Agents — From Concepts to Practical Implementation in Python