How to Build Agentic AI Systems: Core Components & Architecture Explained