Artificial Intelligence Designing AI Agents for Production: A 5-Layer Architecture Blueprint for Scalable and Secure Systems